summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-01-02 14:02:36 -0800
committerMonty Taylor <mordred@inaugust.com>2012-01-02 14:02:36 -0800
commitc879ee8cc51777ab26fcb4cc6dfc590d77d3598d (patch)
treeff2fc194aac71c4406c9c4ba69e3e7436bf935e1 /tools
parentb99d66d3ade380f27a97007ec5d1ef28362ddaaa (diff)
downloadpython-novaclient-c879ee8cc51777ab26fcb4cc6dfc590d77d3598d.tar.gz
Install a good version of pip in the venv.
Change-Id: Ie318fa032fb6e88f250b1e67dbd903648cf8ea5b
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 24f2ac02..f58bb101 100644
--- a/tools/install_venv.py
+++ b/tools/install_venv.py
@@ -168,7 +168,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.'