1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
[tox] envlist = py27, py34, py35, py36, pep8, [testenv] deps = pytest commands = py.test {posargs} [testenv:pep8] deps = flake8 commands = flake8 {posargs} uritemplate tests setup.py [testenv:release] deps = wheel twine>=1.8.0 commands = python setup.py -q sdist bdist_wheel twine upload --skip-existing dist/* [flake8] exclude = docs/