From 98d04ae684ea761070d8df160a5f47e1701bc072 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 2 Jan 2012 13:59:59 -0800 Subject: [PATCH] Install a good version of pip in the venv. Change-Id: If55032a5018b50cd7cc359ec4a013c8c18dc735e --- 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 b9a34c8741..03ab3f4a01 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -83,7 +83,8 @@ def create_virtualenv(venv=VENV, install_pip=False): print 'done.' print 'Installing pip in virtualenv...', if install_pip and \ - not run_command(['tools/with_venv.sh', 'easy_install', 'pip']): + not run_command(['tools/with_venv.sh', 'easy_install', + 'pip>1.0']): die("Failed to install pip.") print 'done.'