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)
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
Notes
Notes (review): Code-Review+2: Doug Hellmann <doug@doughellmann.com> Code-Review+2: Davanum Srinivas (dims) <davanum@gmail.com> Workflow+1: Davanum Srinivas (dims) <davanum@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 28 Feb 2017 17:23:31 +0000 Reviewed-on: https://review.openstack.org/438511 Project: openstack-dev/pbr Branch: refs/heads/master
-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 @@
1[tox] 1[tox]
2minversion = 2.0 2minversion = 2.0
3skipsdist = True
4envlist = py33,py34,py35,py26,py27,pypy,pep8,docs 3envlist = py33,py34,py35,py26,py27,pypy,pep8,docs
5 4
6[testenv] 5[testenv]
@@ -10,8 +9,7 @@ passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE PROJ
10setenv = 9setenv =
11 VIRTUAL_ENV={envdir} 10 VIRTUAL_ENV={envdir}
12 CLIENT_NAME=pbr 11 CLIENT_NAME=pbr
13deps = . 12deps = -r{toxinidir}/test-requirements.txt
14 -r{toxinidir}/test-requirements.txt
15commands = 13commands =
16 python setup.py testr --testr-args='{posargs}' 14 python setup.py testr --testr-args='{posargs}'
17 15