Install a good version of pip in the venv.

Change-Id: Ie318fa032fb6e88f250b1e67dbd903648cf8ea5b
This commit is contained in:
Monty Taylor 2012-01-02 14:02:36 -08:00
parent b99d66d3ad
commit c879ee8cc5

View File

@ -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.'