My rst README is not formatted on pypi.python.org

前端 未结 5 876
面向向阳花
面向向阳花 2020-12-23 16:08

When I submit my package to the Python Package Index (https://pypi.python.org/pypi) my README file, which is written with valid reStructuredText and saved as README.rst, is

5条回答
  •  情书的邮戳
    2020-12-23 16:58

    EDIT: You can use the following to find errors in your RST that will show up on PyPI:

    twine check
    

    You'll need twine version 1.12.0 or higher. If you don't have it you can install or update it using:

    pip install --upgrade twine
    

    Source


    Deprecated answer:

    python setup.py check --restructuredtext
    

    Source

提交回复
热议问题