[issue23063] `python setup.py check --restructuredtext --strict --metadata` fails with: `warning: check: Could not finish the parsing.` if the RST document uses code or code-block directives.

Marc Abramowitz report at bugs.python.org
Tue Dec 16 09:10:00 CET 2014


Marc Abramowitz added the comment:

Testing a few common cases:

$ python setup.py check --restructuredtext --strict --metadata
running check
error: The docutils package is needed.

$ python setup.py check --restructuredtext --strict --metadata
running check
warning: check: Cannot analyze code. Pygments package not found. (line 66)

warning: check: Cannot analyze code. Pygments package not found. (line 99)

error: Please correct your package.

$ python setup.py check --restructuredtext --strict --metadata && echo "RST was OK."
running check
RST was OK.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23063>
_______________________________________


More information about the Python-bugs-list mailing list