# Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = py27, py34, docs [testenv] commands = {envpython} setup.py test deps = pep8 [testenv:docs] changedir = docs/source deps = sphinx sphinx_rtd_theme commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html