20 lines
375 B
Makefile
20 lines
375 B
Makefile
install:
|
|
pip install . --upgrade
|
|
|
|
uninstall:
|
|
pip uninstall pyModeS -y
|
|
|
|
ext:
|
|
python setup.py build_ext --inplace
|
|
|
|
test:
|
|
python -m pytest tests
|
|
|
|
clean:
|
|
find pyModeS/decoder -type f -name '*.c' -delete
|
|
find pyModeS/decoder -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/*
|