Skip to content

Commit 7a4f276

Browse files
committed
Recommend twine check to check long description
1 parent 4d2e118 commit 7a4f276

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎source/guides/distributing-packages-using-setuptools.rst‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,8 +886,11 @@ distribution file(s) to upload.
886886
directives are forbidden or stripped out (e.g., the ``.. raw::``
887887
directive). **Before** trying to upload your distribution, you should check
888888
to see if your brief / long descriptions provided in :file:`setup.py` are
889-
valid. You can do this by following the instructions for the
890-
`pypa/readme_renderer <https://github.com/pypa/readme_renderer>`_ tool.
889+
valid. You can do this by running `twine check
890+
<https://twine.readthedocs.io/en/latest/#twine-check>`_ on your package files:
891+
::
892+
893+
twine check dist/*
891894

892895
Create an account
893896
-----------------

0 commit comments

Comments
 (0)