From 848ec94bbe3c146ba6fb93d0ab7aa1b9c4773b05 Mon Sep 17 00:00:00 2001 From: Jan Mach <jan.mach@cesnet.cz> Date: Fri, 25 Oct 2019 16:32:59 +0200 Subject: [PATCH] Updated makefile to upgrade pip during venv setup. After creating fresh virtual environment the 'pip' and 'wheel' packages inside this venv will be upgraded to latest versions. (Redmine issue: #3387) --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index ec64221b0..ee00289ef 100644 --- a/Makefile +++ b/Makefile @@ -178,6 +178,11 @@ venv: FORCE echo "$(CYAN)Virtual environment successfully created in '$(VENV_PATH)'.$(NC)";\ fi @echo "" + @echo "Upgrading 'pip' and 'wheel' within the virtual environment to latest versions" + @echo "" + @$(VENV_PATH)/bin/pip install --upgrade pip + @$(VENV_PATH)/bin/pip install --upgrade wheel + @echo "" @echo "Venv path: `. $(VENV_PATH)/bin/activate && python -c 'import sys; print(sys.prefix)'`" @echo "Python stuff versions:" @echo "" -- GitLab