From cf4106f8f7d1ccdeb0552d3c2ae71a0d733e5fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=20V=C3=AEjdea?= Date: Wed, 19 Dec 2018 21:41:39 +0200 Subject: [PATCH] Use twine check instead of setup.py check --- requirements/docs.txt | 3 ++- tox.ini | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements/docs.txt b/requirements/docs.txt index b528a74..c5ca67a 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -2,7 +2,8 @@ Sphinx>=1.7.0 sphinx_rtd_theme>=0.2.4 Pillow>=4.3.0 -readme_renderer>=17.2 +readme_renderer[md]>=24.0 +twine>=1.12.1 Django>=2.0 djangorestframework_camel_case>=0.2.0 diff --git a/tox.ini b/tox.ini index 01696a7..f3e37e4 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,7 @@ commands = deps = -r requirements/docs.txt commands = - python setup.py check --restructuredtext --metadata --strict + twine check .tox/dist/* sphinx-build -WnEa -b html docs docs/_build/html [pytest]