Skip to content

Commit 2c16406

Browse files
port tox config to use twine check as well
1 parent c07de4a commit 2c16406

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author = Ronny Pfannschmidt
88
author_email = [email protected]
99
description = the blessed package to manage your versions by scm tags
1010
long_description= file:README.rst
11-
11+
long_description_content_type=text/x-rst
1212

1313
classifiers=
1414
Development Status :: 5 - Production/Stable

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py{27,34,35,36,37,38,39}-test,flake8,check_readme,py{27,37}-selfcheck
2+
envlist=py{27,34,35,36,37,38,39}-test,flake8,check_readme,check-dist,py{27,37}-selfcheck,docs
33

44
[pytest]
55
testpaths=testing
@@ -46,21 +46,21 @@ commands =
4646
skip_install=True
4747
setenv = SETUPTOOLS_SCM_PRETEND_VERSION=2.0
4848
deps=
49-
readme
5049
check-manifest
50+
docutils
5151
commands=
52-
python setup.py check -r
5352
rst2html.py README.rst {envlogdir}/README.html --strict []
5453
check-manifest
5554

56-
[testenv:upload]
55+
[testenv:check_dist]
5756
deps=
5857
wheel
5958
twine
6059
commands=
61-
python setup.py clean --all rotate -k - -m .whl,.tar.gz,.zip
60+
python setup.py clean --all rotate -k 0 -m .whl,.tar.gz,.zip
6261
python setup.py -q egg_info
63-
python setup.py -q sdist --formats zip bdist_wheel register
62+
python setup.py -q sdist --formats zip bdist_wheel
63+
twine check dist/*
6464

6565

6666

0 commit comments

Comments
 (0)