From 572f250cd7a69e83ddb70442d23d2d8e09497128 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 2 Jan 2012 14:01:24 -0800 Subject: [PATCH] Install a good version of pip in the venv. Change-Id: Iff60e6595a3a331961ac8d6be2224edf6548b470 --- 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 d7231ac7a..0b1d843ae 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -168,7 +168,8 @@ def create_virtualenv(venv=VENV, no_site_packages=True): run_command(['virtualenv', '-q', 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.'