Browse Source

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
Sushil Kumar 5 years ago
parent
commit
06b28391e7
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      tox.ini

+ 4
- 0
tox.ini View File

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

Loading…
Cancel
Save