tox: Don't set skipsdist=True
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
This commit is contained in:
parent
72e8e42a34
commit
882875a66e
4
tox.ini
4
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}'
|
||||
|
||||
|
|
Loading…
Reference in New Issue