[tox] envlist = py33,py34,py26,py27,pypy,pep8,docs [testenv] deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt # tox passes --pre to pip by default, but we don't want that install_command = pip install {opts} {packages} distribute = False commands = python setup.py testr --testr-args='{posargs}' [testenv:venv] commands = {posargs} [testenv:pep8] deps = flake8 ignore = E251 commands = flake8 stevedore setup.py [testenv:docs] commands = python setup.py build_sphinx [flake8] ignore = E251 show-source = True exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build