From 882875a66e644e36feb2d864ae231f43bcd39e8c Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 27 Feb 2017 14:23:50 +0000 Subject: [PATCH] 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 --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 65f6aa50..a288adf7 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}'