summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSushil Kumar <sushil.kumar2@globallogic.com>2013-12-09 13:46:04 +0000
committerGerrit Code Review <review@openstack.org>2013-12-11 04:16:36 +0000
commit7f658cc39f2e9b90854ab07dbdcf698575aa920e (patch)
treeb51ce746257f4080c3e193d39efb0e95a557f397
parent419c27fdff45a16dffbe72e738886e64fcc976ae (diff)
downloadpython-ceilometerclient-7f658cc39f2e9b90854ab07dbdcf698575aa920e.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 weren't asking for. Original patch by Monty Taylor, talked about here: http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html Change-Id: Idcc32f7191df85eaac35f4f07256847b677b27fe
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index fc1a86e..8d82c8a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,11 @@
[tox]
envlist = py26,py27,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
LANGUAGE=en_US:en