Install a good version of pip in the venv.

Change-Id: If55032a5018b50cd7cc359ec4a013c8c18dc735e
This commit is contained in:
Monty Taylor 2012-01-02 13:59:59 -08:00
parent 433204c4ff
commit 2e00f5a3ea

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