pyModeS/Makefile

27 lines
513 B
Makefile
Raw Permalink Normal View History

install:
pip install . --upgrade
uninstall:
pip uninstall pyModeS -y
ext:
python setup.py build_ext --inplace
test:
2020-05-24 01:49:07 +08:00
make clean
@echo ""
@echo "[Test with py_common]"
python -m pytest tests
@echo ""
@echo "[Test with c_common]"
2020-05-05 02:34:25 +08:00
python setup.py build_ext --inplace
2020-05-04 05:27:17 +08:00
python -m pytest tests
clean:
2020-05-05 02:34:25 +08:00
find pyModeS -type f -name '*.c' -delete
find pyModeS -type f -name '*.so' -delete
find . | grep -E "(__pycache__|\.pyc|\.pyo$$)" | xargs rm -rf
rm -rf *.egg-info
rm -rf .pytest_cache
rm -rf build/*