From b1327095b395d83f0ba688e6e2886b18e4220ce0 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 2 Jan 2012 13:26:44 -0800 Subject: [PATCH] Install an actual good version of pip. Change-Id: I0ce36bea05ba4c08818f61805bf052392976cd43 --- 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 7a9473a63a..230cf23822 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -85,7 +85,8 @@ def create_virtualenv(venv=VENV): run_command(['virtualenv', '-q', '--no-site-packages', VENV]) print 'done.' print 'Installing pip in virtualenv...', - if not run_command(['tools/with_venv.sh', 'easy_install', 'pip']).strip(): + if not run_command(['tools/with_venv.sh', 'easy_install', + 'pip>1.0']).strip(): die("Failed to install pip.") print 'done.'