1 [tox] 2 envlist = py27,pypy,py33,jython 3 4 [testenv] 5 deps=unittest2 6 commands={envbindir}/unit2 discover [] 7 8 [testenv:py27] 9 commands= 10 {envbindir}/unit2 discover [] 11 {envbindir}/sphinx-build -E -b doctest docs html 12 deps = 13 unittest2 14 sphinx 15 16 [testenv:py33] 17 commands= 18 {envbindir}/python -m unittest discover [] 19 deps = 20 21 # note for jython. Execute in tests directory: 22 # rm `find . -name '*$py.class'`