"make" things easier

This commit is contained in:
Junzi Sun
2019-10-29 17:53:39 +01:00
parent 13b283666a
commit dfeb65fbd7
3 changed files with 24 additions and 14 deletions

10
Makefile Normal file
View File

@@ -0,0 +1,10 @@
ext:
python setup.py build_ext --inplace
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