add make options

This commit is contained in:
Junzi Sun 2019-10-29 22:24:27 +01:00
parent f70d1f2f1f
commit cf3828d2a0

View File

@ -1,3 +1,9 @@
install:
pip install . --upgrade
uninstall:
pip uninstall pyModeS -y
ext:
python setup.py build_ext --inplace
@ -5,6 +11,8 @@ test:
python -m pytest
clean:
python setup.py clean --all
find pyModeS/c_decoder -type f -name '*.c' -delete
find pyModeS/c_decoder -type f -name '*.so' -delete
find . -name "__pycache__" -type d -exec rm -r "{}" \;
rm -rf *.egg-info
rm -rf build/*