summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-07-10 00:49:56 +0000
committerGerrit Code Review <review@openstack.org>2012-07-10 00:49:56 +0000
commite082e20a334d701ec937e9f36a8a2fdf99a13694 (patch)
treea2220cc3fe51aa4fa7f99ce735853edfec1a0c2e
parentd0e800385ee62de75bb7a3c366af7e90e77bf37e (diff)
parenta816c0ffbaefe5cf1b545c822c3295e263b84375 (diff)
downloadpython-keystoneclient-e082e20a334d701ec937e9f36a8a2fdf99a13694.tar.gz
Merge "Install test-requires in development venv."
-rw-r--r--tools/install_venv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py
index 05425b2..725810a 100644
--- a/tools/install_venv.py
+++ b/tools/install_venv.py
@@ -32,6 +32,7 @@ import platform
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
VENV = os.path.join(ROOT, '.venv')
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
+TEST_REQUIRES = os.path.join(ROOT, 'tools', 'test-requires')
PY_VERSION = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
@@ -188,6 +189,7 @@ def install_dependencies(venv=VENV):
pip_install('distribute')
pip_install('-r', PIP_REQUIRES)
+ pip_install('-r', TEST_REQUIRES)
# Tell the virtual env how to "import nova"
pthfile = os.path.join(venv, "lib", PY_VERSION, "site-packages",