From 6d7b70e8f2da0da39f85fdc03d0a7e693351cc06 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 2 Dec 2018 23:50:54 +0800 Subject: switch to twine check for verifying our readme renders on pypi (#4623) --- setup.py | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 886d9326..937d1ac5 100644 --- a/setup.py +++ b/setup.py @@ -303,7 +303,7 @@ setup( "docstest": [ "doc8", "pyenchant >= 1.6.11", - "readme_renderer >= 16.0", + "twine >= 1.12.0", "sphinxcontrib-spelling >= 4.0.1", ], "pep8test": [ diff --git a/tox.ini b/tox.ini index 7e6b56ca..f6e1b6e1 100644 --- a/tox.ini +++ b/tox.ini @@ -46,7 +46,8 @@ commands = sphinx-build -j4 -T -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html sphinx-build -j4 -T -W -b spelling docs docs/_build/html doc8 --allow-long-titles README.rst CHANGELOG.rst docs/ --ignore-path docs/_build/ - python setup.py check --restructuredtext --strict + python setup.py sdist + twine check dist/* [testenv:docs-linkcheck] extras = -- cgit v1.2.3