From 4790ba1f04b95d888154ed3652a350c01cd3be77 Mon Sep 17 00:00:00 2001 From: Denis Makogon Date: Mon, 9 Dec 2013 15:27:35 +0200 Subject: [PATCH] Update 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: Ief0a44a8d982a12ff5158c1223487d27b75b950e --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index a02b31e425..06cb9f5657 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,12 @@ [tox] envlist = py26,py27,pep8 +minversion = 1.6 +skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} +usedevelop = True +install_command = pip install {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt setuptools_git>=0.4