diff options
author | Monty Taylor <mordred@inaugust.com> | 2012-01-02 14:02:36 -0800 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2012-01-02 14:02:36 -0800 |
commit | c879ee8cc51777ab26fcb4cc6dfc590d77d3598d (patch) | |
tree | ff2fc194aac71c4406c9c4ba69e3e7436bf935e1 /tools | |
parent | b99d66d3ade380f27a97007ec5d1ef28362ddaaa (diff) | |
download | python-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.py | 3 |
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.' |