Commits

Jan-Jaap Driessen  committed 06add0b

Fix tox.ini setup: first install dependencies: fanstatic is not a dependency. After installing fanstatic, install the 'mypackage' test requirement.

  • Participants
  • Parent commits 44ba018

Comments (0)

Files changed (1)

 [tox]
 envlist = py26,py27,py32,py33,pypy
 indexserver =
-    FIXTURES = file://{toxinidir}/fixtures/
     WHICH = file://{toxinidir}/3rdparty
 
 [testenv]
 deps =
-  fanstatic
-# XXX why does "setup.py test" not evaluate ``tests_require=``?!??
   jsmin
   cssmin
   closure
   pytest-capturelog
   :WHICH:which
-# Hack to install a local fixture for the test run.
-  :FIXTURES:mypackage
-commands = python setup.py test
+commands =
+  pip install mypackage -i file://{toxinidir}/fixtures/
+  python setup.py test