From cf3828d2a0ce185b5b6135907f44e279a70a447a Mon Sep 17 00:00:00 2001 From: Junzi Sun Date: Tue, 29 Oct 2019 22:24:27 +0100 Subject: [PATCH] add make options --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9033955..7b9048e 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +install: + pip install . --upgrade + +uninstall: + pip uninstall pyModeS -y + ext: python setup.py build_ext --inplace @@ -5,6 +11,8 @@ 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 + find . -name "__pycache__" -type d -exec rm -r "{}" \; + rm -rf *.egg-info + rm -rf build/*