[tox] envlist = py26, py27, py31, py32, py33 [testenv] commands = python setup.py test deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test_requirements.txt whitelist_externals = rm 2to3 [testenv:py26] deps = unittest2 mock {[testenv]deps} [testenv:py27] deps = mock {[testenv]deps} biopython [testenv:py31] changedir = {toxworkdir} commands = 2to3 -n -W --output-dir {envtmpdir}/tests3 {toxinidir}/tests {envpython} -m unittest2 discover {envtmpdir}/tests3 rm -rf {envtmpdir}/tests3 deps = unittest2py3k mock {[testenv]deps} [testenv:py32] changedir = {toxworkdir} commands = 2to3 -n -W --output-dir {envtmpdir}/tests3 {toxinidir}/tests {envpython} -m unittest discover {envtmpdir}/tests3 rm -rf {envtmpdir}/tests3 deps = mock {[testenv]deps} [testenv:py33] changedir = {toxworkdir} commands = 2to3 -n -W --output-dir {envtmpdir}/tests3 {toxinidir}/tests {envpython} -m unittest discover {envtmpdir}/tests3 rm -rf {envtmpdir}/tests3 deps = {[testenv]deps} biopython