From f373a0f6f83181c9b51d7d7faa2e055d9ad92868 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Thu, 29 Sep 2011 15:06:54 +0100 Subject: install_venv: pass the --upgrade argument to pip install Subsequent runs of install_venv.sh should upgrade packages to the latest available. Change-Id: Ib9c9ee270b778363900d92398f00c1cab3508578 --- tools/install_venv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/install_venv.py b/tools/install_venv.py index 19bf04da5..a137f1156 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -98,7 +98,8 @@ def create_virtualenv(venv=VENV): def pip_install(*args): - run_command(['tools/with_venv.sh', 'pip', 'install'] + list(args), + run_command(['tools/with_venv.sh', + 'pip', 'install', '--upgrade'] + list(args), redirect_output=False) -- cgit