Skip to content
Snippets Groups Projects
Commit 848ec94b authored by Jan Mach's avatar Jan Mach
Browse files

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)
parent c7026a2f
No related branches found
No related tags found
No related merge requests found
...@@ -178,6 +178,11 @@ venv: FORCE ...@@ -178,6 +178,11 @@ venv: FORCE
echo "$(CYAN)Virtual environment successfully created in '$(VENV_PATH)'.$(NC)";\ echo "$(CYAN)Virtual environment successfully created in '$(VENV_PATH)'.$(NC)";\
fi fi
@echo "" @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 "Venv path: `. $(VENV_PATH)/bin/activate && python -c 'import sys; print(sys.prefix)'`"
@echo "Python stuff versions:" @echo "Python stuff versions:"
@echo "" @echo ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment