We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 285ac1e commit bc8bd8aCopy full SHA for bc8bd8a
1 file changed
python.mk
@@ -67,18 +67,16 @@ nuke: clean ## clean and remove virtual environment
67
68
.PHONY: clean
69
clean: ## remove temporary files
70
- python setup.py clean
+ $(PYTHON) setup.py clean
71
rm -rf dist build __pycache__
72
rm -f *.so
73
find $(SRC_DIR) -type f -name "*.pyc" -exec rm {} \;
74
find $(SRC_DIR) -type f -name "*.cpp" -exec rm {} \;
75
find $(SRC_DIR) -type f -name "*.so" -exec rm {} \;
76
77
.PHONY: install
78
-install: build ## install package
79
- @echo "Installing for " `which pip`
80
- -pip uninstall --yes $(PYMODULE)
81
- pip install -e .
+install: $(BUILD_STAMP) ## install package
+ $(PIP) install -e --force-reinstall .
82
83
.PRECIOUS: $(ENV_STAMP)
84
.PHONY: env
0 commit comments