diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-12-20 09:29:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-20 09:29:53 +0100 |
| commit | 32e4eab3369ed1f9534ccabaa36c760b03f0a5b6 (patch) | |
| tree | 7e55f0269306c7e344b5b2673058604e0c931ae3 /utils/makefile.python | |
| parent | 14c7cc0e118f1d0873b32b34793cdec2c5c9c13e (diff) | |
| parent | be08e5bfab2d67f9b1b910eb25bc073d5bff8916 (diff) | |
Merge pull request #2401 from return42/drop-virtualenv-cmd
[mod] remove obsolete virtualenv command
Diffstat (limited to 'utils/makefile.python')
| -rw-r--r-- | utils/makefile.python | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/utils/makefile.python b/utils/makefile.python index 668b0894b..12e3e1236 100644 --- a/utils/makefile.python +++ b/utils/makefile.python @@ -41,19 +41,6 @@ ifeq ($(OS),Windows_NT) endif VTENV_OPTS ?= -ifeq ($(PYTHON),python) - VIRTUALENV = virtualenv -else - VIRTUALENV = virtualenv --python=$(PYTHON) -endif - -ifeq ($(KBUILD_VERBOSE),1) - PIP_VERBOSE = - VIRTUALENV_VERBOSE = -else - PIP_VERBOSE = "-q" - VIRTUALENV_VERBOSE = "-q" -endif python-help:: @echo 'makefile.python:' @@ -125,7 +112,7 @@ quiet_cmd_pyenvuninstall = PYENV uninstall $2 quiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activate cmd_virtualenv = \ if [ ! -d "./$(PY_ENV)" ];then \ - $(VIRTUALENV) $(VIRTUALENV_VERBOSE) $(VTENV_OPTS) $2; \ + $(PYTHON) -m venv $(VTENV_OPTS) $2; \ else \ echo "PYENV using virtualenv from $2"; \ fi |