Skip to content

Commit 97c7d1f

Browse files
committed
build: use twine to check the package
1 parent 7db66a2 commit 97c7d1f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def read(*names, **kwargs):
6262
re.M | re.S,
6363
).sub('', read('README.rst'))
6464
),
65+
long_description_content_type='text/x-rst',
6566
author='Ned Batchelder',
6667
author_email='[email protected]',
6768
url='https://github.com/nedbat/django_coverage_plugin',

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ deps =
6060
docutils
6161
check-manifest
6262
readme-renderer
63+
twine
6364

6465
commands =
65-
python setup.py check --strict --metadata --restructuredtext
66+
python setup.py -q sdist
67+
twine check dist/*
6668
check-manifest {toxinidir}
6769

6870
[testenv:doc]

0 commit comments

Comments
 (0)