Merge "Install a good version of pip in the venv."

This commit is contained in:
Jenkins 2012-01-16 22:24:58 +00:00 committed by Gerrit Code Review
commit d11d0e621b
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ def create_virtualenv(venv=VENV, install_pip=False):
print 'done.'
print 'Installing pip in virtualenv...',
if install_pip and \
not run_command(['tools/with_venv.sh', 'easy_install', 'pip']):
not run_command(['tools/with_venv.sh', 'easy_install',
'pip>1.0']):
die("Failed to install pip.")
print 'done.'