diff options
author | Sascha Peilicke <saschpe@suse.de> | 2012-07-09 17:31:34 +0200 |
---|---|---|
committer | Sascha Peilicke <saschpe@suse.de> | 2012-07-09 17:31:34 +0200 |
commit | c3f295729ee1cf3b9aad928d7c296603e2a13cfc (patch) | |
tree | d68a1429ed83268371f2f842b5d7b4b64fc48a4c /tools | |
parent | 5a98ed711222f91c02bc10bc79463d27b921342c (diff) | |
download | python-novaclient-c3f295729ee1cf3b9aad928d7c296603e2a13cfc.tar.gz |
Install test-requires in development venv.
Otherwise ./run_tests.sh may fail
Change-Id: Id37117a2dfd53144b8f062767afcf17825fd5d6e
Diffstat (limited to 'tools')
-rw-r--r-- | tools/install_venv.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py index f58bb101..6cb3a693 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", |