diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-10-24 19:18:01 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-10-24 19:18:01 +0000 |
| commit | bd38d1eb802cd4d207ac5fbb107e6fa2d3458373 (patch) | |
| tree | dd11db52206327f57a3bd92d03e7a357adc1eb18 /tools | |
| parent | 60600e27edadc03dfa43c25110259c3b6f3fa85f (diff) | |
| parent | 36a8fe04c48b59707cb0fecc7ecb64a5cfce2909 (diff) | |
| download | nova-bd38d1eb802cd4d207ac5fbb107e6fa2d3458373.tar.gz nova-bd38d1eb802cd4d207ac5fbb107e6fa2d3458373.tar.xz nova-bd38d1eb802cd4d207ac5fbb107e6fa2d3458373.zip | |
Merge "Change install_venv to use setup.py develop."
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/install_venv.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py index 432ca1d96..19b8f3f1e 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -196,11 +196,8 @@ def install_dependencies(venv=VENV): 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", - "nova.pth") - f = open(pthfile, 'w') - f.write("%s\n" % ROOT) + # Install nova into the virtual_env. No more path munging! + run_command([os.path.join(venv, 'bin/python'), 'setup.py', 'develop']) def post_process(): |
