Skip to content

Commit bc8bd8a

Browse files
committed
update make targets
1 parent 285ac1e commit bc8bd8a

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

python.mk

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,16 @@ nuke: clean ## clean and remove virtual environment
6767

6868
.PHONY: clean
6969
clean: ## remove temporary files
70-
python setup.py clean
70+
$(PYTHON) setup.py clean
7171
rm -rf dist build __pycache__
7272
rm -f *.so
7373
find $(SRC_DIR) -type f -name "*.pyc" -exec rm {} \;
7474
find $(SRC_DIR) -type f -name "*.cpp" -exec rm {} \;
7575
find $(SRC_DIR) -type f -name "*.so" -exec rm {} \;
7676

7777
.PHONY: install
78-
install: build ## install package
79-
@echo "Installing for " `which pip`
80-
-pip uninstall --yes $(PYMODULE)
81-
pip install -e .
78+
install: $(BUILD_STAMP) ## install package
79+
$(PIP) install -e --force-reinstall .
8280

8381
.PRECIOUS: $(ENV_STAMP)
8482
.PHONY: env

0 commit comments

Comments
 (0)