21 lines
396 B
Makefile
21 lines
396 B
Makefile
install:
|
|
pip install . --upgrade
|
|
|
|
uninstall:
|
|
pip uninstall pyModeS -y
|
|
|
|
ext:
|
|
python setup.py build_ext --inplace
|
|
|
|
test:
|
|
python setup.py build_ext --inplace
|
|
python -m pytest tests
|
|
|
|
clean:
|
|
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/*
|