]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Install a good version of pip in the venv.
authorMonty Taylor <mordred@inaugust.com>
Mon, 2 Jan 2012 21:59:59 +0000 (13:59 -0800)
committerMonty Taylor <mordred@inaugust.com>
Mon, 2 Jan 2012 21:59:59 +0000 (13:59 -0800)
Change-Id: If55032a5018b50cd7cc359ec4a013c8c18dc735e

tools/install_venv.py

index b9a34c8741ed5eec486bad8c56997c802f79a57c..03ab3f4a010e183e054035af1d09e86b2ae16706 100644 (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.'