summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2014-07-08 09:07:43 -0700
committerClark Boylan <clark.boylan@gmail.com>2014-07-25 12:36:46 -0700
commit8f505b85268adc226ec0a83826c2d13edcbe3d7c (patch)
tree46caae4f3cb9389d39e5424aa9b954ded92b4d22 /tox.ini
parentc54bcb863ff7e0329484b06d5433b2860a4647bd (diff)
downloadnova-8f505b85268adc226ec0a83826c2d13edcbe3d7c.tar.gz
Stop depending on sitepackages libvirt-python
We can install libvirt-python bindings from pypi now because the libvirt devs are supporting pypi packages and the version of libvirt we are testing nova master against is new enough to link against that pypi package. Making this switch will better isolate nova test environments as all dependencies can be installed without any site packages leaking into virtualenvs. It will also make the dependency on libvirt-python a bit more explicit. Change-Id: I2890702869f05a02ad5e2ecb419db06433231b36
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 0 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index 609f52e79d..dcf7a95350 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,6 @@ envlist = py26,py27,py33,pep8
skipsdist = True
[testenv]
-sitepackages = True
usedevelop = True
install_command = pip install -U --force-reinstall {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
@@ -14,16 +13,13 @@ commands =
python -m nova.openstack.common.lockutils python setup.py test --slowest --testr-args='{posargs}'
[tox:jenkins]
-sitepackages = True
downloadcache = ~/cache/pip
[testenv:pep8]
-sitepackages = False
commands =
flake8 {posargs}
[testenv:genconfig]
-sitepackages = False
commands =
bash tools/config/generate_sample.sh -b . -p nova -o etc/nova
@@ -48,9 +44,6 @@ commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
-[testenv:py27local]
-sitepackages = False
-
[flake8]
# H803 skipped on purpose per list discussion.
# E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126