Checking long_description format (reST) before it is sent to PyPI

View: New views
1 Messages — Rating Filter:   Alert me  

Checking long_description format (reST) before it is sent to PyPI

by Tarek Ziadé :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

while working on disutils register command, and since someone in the plone community suggested it:

wouldn't it be interesting to have a warning mechanism on server side when the long_description doesn't compile in reSTructuredText ? (at register time)

This would avoid "broken" pages on PyPI where the display is in text where it was intended to be in
rendered reST.

This could be a simple warning line when the PyPI server meets such a case, and would avoid having
to deal with an extra package on client-side (like docutils)

++
Tarek