Install a good version of pip in the venv.

Change-Id: Iff60e6595a3a331961ac8d6be2224edf6548b470
This commit is contained in:
Monty Taylor
2012-01-02 14:01:24 -08:00
parent f2796f1e81
commit 572f250cd7

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