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: Iddf85d33b57f256d72756b516c23492e9600bedc
This commit is contained in:
Sushil Kumar 2013-12-09 14:54:09 +00:00 committed by Gerrit Code Review
parent 71a9ac78a4
commit 06b28391e7
1 changed files with 4 additions and 0 deletions

View File

@ -1,7 +1,11 @@
[tox] [tox]
envlist = py26,py27,py33,pypy,pep8 envlist = py26,py27,py33,pypy,pep8
minversion = 1.6
skipsdist = True
[testenv] [testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8 LANG=en_US.UTF-8
LANGUAGE=en_US:en LANGUAGE=en_US:en