Make tox use develop instead of sdist
tox 1.6 was released, which means that we can now take advantage of the feature we added to it - which is using setup.py develop to install the code into the virtualenv. The logic was taken from run_tests.sh - so the performance issues around using tox vs. using install_venv should now be gone. This patch requires tox >=1.6. Change-Id: I505fb530e8047f478e98ce2fd6c01776b147d87f
This commit is contained in:
parent
380e33c223
commit
0a03263154
5
tox.ini
5
tox.ini
@ -1,7 +1,12 @@
|
|||||||
[tox]
|
[tox]
|
||||||
|
minversion = 1.6
|
||||||
envlist = py26,py27,py33,pypy,pep8
|
envlist = py26,py27,py33,pypy,pep8
|
||||||
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
usedevelop = True
|
||||||
|
# Customize pip command, add -U to force updates.
|
||||||
|
install_command = pip install -U {opts} {packages}
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
NOSE_WITH_OPENSTACK=1
|
NOSE_WITH_OPENSTACK=1
|
||||||
NOSE_OPENSTACK_COLOR=1
|
NOSE_OPENSTACK_COLOR=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user