From: Monty Taylor Date: Mon, 2 Jan 2012 21:59:59 +0000 (-0800) Subject: Install a good version of pip in the venv. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=98d04ae684ea761070d8df160a5f47e1701bc072;p=openstack-build%2Fneutron-build.git Install a good version of pip in the venv. Change-Id: If55032a5018b50cd7cc359ec4a013c8c18dc735e --- diff --git a/tools/install_venv.py b/tools/install_venv.py index b9a34c874..03ab3f4a0 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -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.'