aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-12-02 23:50:54 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2018-12-02 10:50:54 -0500
commit6d7b70e8f2da0da39f85fdc03d0a7e693351cc06 (patch)
treec37e8751b4a979829d28b42cacf1b563bb9cb36e
parentafaa4c65b58e31f36a8162f88ad79829f68d0a86 (diff)
downloadcryptography-6d7b70e8f2da0da39f85fdc03d0a7e693351cc06.tar.gz
cryptography-6d7b70e8f2da0da39f85fdc03d0a7e693351cc06.tar.bz2
cryptography-6d7b70e8f2da0da39f85fdc03d0a7e693351cc06.zip
switch to twine check for verifying our readme renders on pypi (#4623)
-rw-r--r--setup.py2
-rw-r--r--tox.ini3
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 =