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