[tox] minversion = 1.6 envlist = docs skipsdist = True [testenv] ;basepython = python2.7 basepython = python3 usedevelop = True setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt [testenv:venv] commands = {posargs} [testenv:docs] commands = python setup.py build_sphinx