From 005d1cf2445230dfee460be8df5caad7733ba9ed Mon Sep 17 00:00:00 2001 From: Sushil Kumar <sushil.kumar2@globallogic.com> Date: Mon, 9 Dec 2013 14:27:57 +0000 Subject: [PATCH] Updates tox.ini to use new features Reasons: - tox update v1.6 Changes: - tox 1.6 allows us to skip the sdist step, which is slow. - 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: Idbf8e08383232ae0af5b245c1abe91a7f852bfcf --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 9a3f674c..3e2b669f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,11 @@ [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 LANGUAGE=en_US:en