2020-02-26 07:16:48 +08:00
|
|
|
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
|
2020-02-26 07:16:48 +08:00
|
|
|
|
|
|
|
clean:
|
2020-05-05 02:34:25 +08:00
|
|
|
find pyModeS -type f -name '*.c' -delete
|
|
|
|
find pyModeS -type f -name '*.so' -delete
|
2020-02-26 07:16:48 +08:00
|
|
|
find . | grep -E "(__pycache__|\.pyc|\.pyo$$)" | xargs rm -rf
|
|
|
|
rm -rf *.egg-info
|
|
|
|
rm -rf .pytest_cache
|
|
|
|
rm -rf build/*
|