[Distutils] Detecting rst errors when uploading to pypi
marius at gedmin.as
Sun Dec 28 18:02:07 CET 2014
On Sat, Dec 27, 2014 at 08:26:50PM -0800, John Anderson wrote:
> Hey, I'm trying to get my README to render properly on pypi but I haven't
> found a way to detect the errors pypi is experiencing.
> The package I'm trying to upload is here:
Are you talking about
The first looks fine now (have you found the error and fixed it
already?) while the second looks like it uses some kind of Markdown
instead of ReStructuredText:
pyramid.includes = pyramid_celery
> I've checked the README.rst with restview, rst2html, and
> collective.showdocs and they all render the RST just fine.
Just to be sure, did you try restview's --pypi-strict mode?
> It seems like I'm not the only one having this issue:
> So what is the recommended route for debugging the problem? I would really
> like to fix it but without know the problem I would just to make random
restview --long-description is what I use (in the source tree with a
setup.py: this runs setup.py --long-description and parses the output in
If that fails to find the error, I try to copy & paste the
long_description text from PyPI into a text file and use restview
If that fails, I end up bisecting the long_description text in the web
form, to see where it starts failing.
If it's not my package and I can't edit the long_description on the web,
I tend to give up.
"Nobody will ever need more than 640k RAM!"
-- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."
-- Bill Gates, 1996
"Nobody will ever need Windows 95."
-- logical conclusion
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 173 bytes
Desc: Digital signature
More information about the Distutils-SIG