1[tox] 2envlist = py27, py37, py38 3skip_missing_interpreters = true 4 5[testenv] 6deps = 7 pytest 8commands = 9 # pytest -v --showlocals ctypesgen/test/testsuite.py 10 pytest -v -x --showlocals ctypesgen/test/testsuite.py 11 12[testenv:black] 13deps = 14 six 15 black==19.3b0 16basepython = python3.7 17commands = 18 black --check --line-length 100 setup.py run.py ctypesgen/ --exclude '.*tab.py' 19 20[testenv:package] 21deps = 22 six 23 twine 24 wheel 25basepython = python3.7 26commands = 27 python setup.py bdist_wheel --universal 28 twine check dist/*.whl 29 30[testenv:upload] 31deps = 32 six 33 twine 34 wheel 35basepython = python3.7 36commands = 37 python setup.py bdist_wheel --universal 38 twine upload dist/*.whl 39