From af49bd2bd2654be51b162c60f809eb7316df602a Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 24 Dec 2020 09:18:22 +0100 Subject: [PATCH] [fix] makefile.python: remove duplicate pyenv-(un)install targets Makefile targets 'pyenv-install' and 'pyenv-uninstall' are unused duplicates of 'pyenvinstall' and 'pyenvuninstall'. Signed-off-by: Markus Heiser --- utils/makefile.python | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/utils/makefile.python b/utils/makefile.python index 12e3e123..c7f1e03e 100644 --- a/utils/makefile.python +++ b/utils/makefile.python @@ -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/bin/python -pyenv-python: pyenv-install +pyenv-python: pyenvinstall $(PY_ENV_BIN)/python -i # With 'dependency_links=' setuptools supports dependencies on packages hosted