diff options
author | Ronny Pfannschmidt <ronny.pfannschmidt@redhat.com> | 2020-12-04 23:55:18 +0100 |
---|---|---|
committer | Ronny Pfannschmidt <ronny.pfannschmidt@redhat.com> | 2020-12-04 23:55:18 +0100 |
commit | 2c16406c8ebb3b2b84845047bc33066da82d72f6 (patch) | |
tree | b6de5ca5d4702d51b85991ae09d2fa8ca91bc9e7 | |
parent | c07de4aa57356568e41aa22746ae1131b4a57a79 (diff) | |
download | setuptools-scm-2c16406c8ebb3b2b84845047bc33066da82d72f6.tar.gz |
port tox config to use twine check as well
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | tox.ini | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -8,7 +8,7 @@ author = Ronny Pfannschmidt author_email = opensource@ronnypfannschmidt.de description = the blessed package to manage your versions by scm tags long_description= file:README.rst - +long_description_content_type=text/x-rst classifiers= Development Status :: 5 - Production/Stable @@ -1,5 +1,5 @@ [tox] -envlist=py{27,34,35,36,37,38,39}-test,flake8,check_readme,py{27,37}-selfcheck +envlist=py{27,34,35,36,37,38,39}-test,flake8,check_readme,check-dist,py{27,37}-selfcheck,docs [pytest] testpaths=testing @@ -46,21 +46,21 @@ commands = skip_install=True setenv = SETUPTOOLS_SCM_PRETEND_VERSION=2.0 deps= - readme check-manifest + docutils commands= - python setup.py check -r rst2html.py README.rst {envlogdir}/README.html --strict [] check-manifest -[testenv:upload] +[testenv:check_dist] deps= wheel twine commands= - python setup.py clean --all rotate -k - -m .whl,.tar.gz,.zip + python setup.py clean --all rotate -k 0 -m .whl,.tar.gz,.zip python setup.py -q egg_info - python setup.py -q sdist --formats zip bdist_wheel register + python setup.py -q sdist --formats zip bdist_wheel + twine check dist/* |