summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-01-02 13:35:57 -0800
committerMonty Taylor <mordred@inaugust.com>2012-01-02 13:35:57 -0800
commitf9ec38578b52f807a8d40deee5c37b84f9506dae (patch)
tree35903b605d6e171f824838c937ecf1537f0de41f /tools
parentea21fe69655ae441eb9660e0579046355f6db4c1 (diff)
downloadnova-f9ec38578b52f807a8d40deee5c37b84f9506dae.tar.gz
nova-f9ec38578b52f807a8d40deee5c37b84f9506dae.tar.xz
nova-f9ec38578b52f807a8d40deee5c37b84f9506dae.zip
Install a good version of pip in the venv.
Change-Id: I1059824aae8c5bf1a65de6cfaef96fef0f68d8a3
Diffstat (limited to 'tools')
-rw-r--r--tools/install_venv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py
index 35afb4437..6dfcb3f17 100644
--- a/tools/install_venv.py
+++ b/tools/install_venv.py
@@ -188,7 +188,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.'