擅长:python、mysql、java
<p><strong>编辑:</strong>您可以使用以下方法查找RST中的错误,这些错误将显示在PyPI上:</p>
<pre><code>twine check
</code></pre>
<p>您需要<code>twine</code>版本1.12.0或更高版本。如果没有,可以使用以下方法安装或更新:</p>
<pre><code>pip install --upgrade twine
</code></pre>
<p><a href="https://packaging.python.org/guides/making-a-pypi-friendly-readme/#validating-restructuredtext-markup" rel="nofollow noreferrer">Source</a></p>
<hr/>
<p><strong>不推荐的答案:</strong></p>
<pre><code>python setup.py check --restructuredtext
</code></pre>
<p><a href="http://inre.dundeemt.com/2014-05-04/pypi-vs-readme-rst-a-tale-of-frustration-and-unnecessary-binding/" rel="nofollow noreferrer">Source</a></p>