summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2017-02-27 14:23:50 +0000
committerStephen Finucane <sfinucan@redhat.com>2017-02-27 14:23:50 +0000
commit882875a66e644e36feb2d864ae231f43bcd39e8c (patch)
treed57d4cc51c428b4f8148a8734e7a0b6f45489100
parent72e8e42a34217e7f6847d221dc9751d0c350baa9 (diff)
downloadpbr-882875a66e644e36feb2d864ae231f43bcd39e8c.tar.gz
tox: Don't set skipsdist=True2.0.0
skipsdist is used to "avoid expensive sdist" but prevents the software package from being installed in the virtualenv. We currently have this enabled, but then skip the step by including the current package in the requirements section, which mitigates the entire thing. Stop setting skipsdist to True, allowing us to remove '.' from requirements and use tox the way it's meant to be used. Change-Id: I543f0c6679c39c7ae438fd1e5fca7175b92ed193
-rw-r--r--tox.ini4
1 files changed, 1 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 65f6aa5..a288adf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,5 @@
[tox]
minversion = 2.0
-skipsdist = True
envlist = py33,py34,py35,py26,py27,pypy,pep8,docs
[testenv]
@@ -10,8 +9,7 @@ passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE PROJ
setenv =
VIRTUAL_ENV={envdir}
CLIENT_NAME=pbr
-deps = .
- -r{toxinidir}/test-requirements.txt
+deps = -r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --testr-args='{posargs}'