diff options
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -79,10 +79,22 @@ commands = sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_o python setup.py check -r -s [testenv:build] -description = do a build +description = Build an sdist and bdist basepython = python3.7 skip_install = true passenv = * deps = click >= 7.0 pep517 >= 0.5.0 -commands = python release.py +commands = + python release.py build + +[testenv:release] +description = Sign and upload the built distributions to PyPI +basepython = python3.7 +skip_install = true +passenv = * +deps = click >= 7.0 + twine >= 2.0.0 +commands = + python release.py sign + python release.py upload {posargs} |
