Commit d7bdf132 authored by Jason R. Coombs's avatar Jason R. Coombs

Add 'release' tox environment from jaraco/skeleton

parent 769658cc
......@@ -55,3 +55,18 @@ source=
setuptools
omit=
*/_vendor/*
[testenv:release]
skip_install = True
deps =
pep517>=0.5
twine[keyring]>=1.13
path
passenv =
TWINE_PASSWORD
setenv =
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
commands =
python -c "import path; path.Path('dist').rmtree_p()"
python -m pep517.build .
python -m twine upload dist/*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment