Browse Source

tox.ini: Don't repeat dependencies

by using substitutions from other sections.
Marc Abramowitz 10 years ago
parent
commit
0e8968420d
1 changed files with 2 additions and 7 deletions
  1. 2 7
      tox.ini

+ 2 - 7
tox.ini

@@ -15,8 +15,7 @@ basepython =
 commands =
     python setup.py nosetests --with-xunit --with-xcoverage --cover-package=supervisor --cover-erase
 deps =
-    meld3 >= 1.0.0
-    mock >= 0.5.0
+    {[testenv]deps}
     nose
     coverage
     nosexcover
@@ -27,8 +26,4 @@ basepython =
 commands =
     python setup.py nosetests --with-xunit --with-xcoverage --cover-package=supervisor --cover-erase
 deps =
-    meld3 >= 1.0.0
-    mock >= 0.5.0
-    nose
-    coverage
-    nosexcover
+    {[testenv:cover]deps}