summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSushil Kumar <sushil.kumar2@globallogic.com>2013-12-09 15:07:59 +0000
committerSushil Kumar <sushil.kumar2@globallogic.com>2013-12-12 09:04:44 +0000
commitec795cfdfa84d306b242f1b930ab52d3b2b2a8a9 (patch)
treee3d0314a3ee51cef75122fcf114c3bb0f487fe4c
parent38ae02928ddc72a1d8ed5a36c3de0eaa69111c32 (diff)
downloadpython-swiftclient-ec795cfdfa84d306b242f1b930ab52d3b2b2a8a9.tar.gz
Updates 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 were not asking for. Original patch by Monty Taylor, talked about here: http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html Change-Id: Id751f7d5d40a80d348a5f5936539d9462b40b14b
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 58631d3..b183760 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,10 @@
[tox]
envlist = py26,py27,py33,pypy,pep8
+minversion = 1.6
+skipsdist = True
[testenv]
+usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8