From f9ec38578b52f807a8d40deee5c37b84f9506dae Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 2 Jan 2012 13:35:57 -0800 Subject: Install a good version of pip in the venv. Change-Id: I1059824aae8c5bf1a65de6cfaef96fef0f68d8a3 --- tools/install_venv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/install_venv.py b/tools/install_venv.py index 35afb4437..6dfcb3f17 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -188,7 +188,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.' -- cgit