summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-09-23 10:21:55 -0400
committerMonty Taylor <mordred@inaugust.com>2013-09-23 10:21:55 -0400
commit15d5e508918ec7dda66c14838c1c0b7418a99d15 (patch)
tree81a6ef073231504d4c0d3727a74cf3a843900a77 /tox.ini
parent89936fa0a82603ebca1a2dff19d9039bd7a50cce (diff)
downloadpython-neutronclient-15d5e508918ec7dda66c14838c1c0b7418a99d15.tar.gz
Update tox.ini to use new features
tox 1.6 allows us to skip the sdist step, which is slow. This does that. It also allows us to override the install line. In this case, it's important as it allows us to stop getting pre-release software we weren't asking for. Change-Id: I2641c847403f61c5da8a8be0c8804c7c23a043ed
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index b7850c6..26462e7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,15 @@
[tox]
envlist = py26,py27,py33,pypy,pep8
+minversion = 1.6
+skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
+usedevelop = True
+install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'