Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 2fc2d17a authored by Alexandre Flament's avatar Alexandre Flament Committed by GitHub
Browse files

Merge pull request #2418 from return42/fix-pyenv-install

[fix] makefile.python: remove duplicate pyenv-(un)install targets
parents d1291862 af49bd2b
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -220,16 +220,8 @@ PHONY += pydebug
pydebug: $(PY_ENV)
	DEBUG=$(DEBUG) $(PY_ENV_BIN)/pytest $(DEBUG) -v $(TEST_FOLDER)/$(TEST)

# install / uninstall python objects into virtualenv (PYENV)
pyenv-install: $(PY_ENV)
	@$(PY_ENV_BIN)/python -m pip $(PIP_VERBOSE) install -e .
	@echo "ACTIVATE  $(call normpath,$(PY_ENV_ACT)) "

pyenv-uninstall: $(PY_ENV)
	@$(PY_ENV_BIN)/python -m pip $(PIP_VERBOSE) uninstall --yes .

# runs python interpreter from ./local/py<N>/bin/python
pyenv-python: pyenv-install
pyenv-python: pyenvinstall
	$(PY_ENV_BIN)/python -i

# With 'dependency_links=' setuptools supports dependencies on packages hosted