[Distutils] [PyPI] Checking reST compliance of long description

Andreas Jung lists at zopyx.com
Mon Mar 3 12:46:24 CET 2008

--On 3. März 2008 10:58:33 +0000 stephen emslie <stephenemslie at gmail.com> 

> This could be due to a bug in the way that distutils escapes (folds)
> whitespace in the long_description field. I have seen that cause
> errors when rst2html expects indentation which has been lost in the
> escaping process.
> For more information see: http://bugs.python.org/issue1923 (meaningful
> whitespace can be lost in rfc822_escape). There is also a patch there
> which you could apply and see if it solves your problem.
> It looks like there may be another issue with the unfolding of this
> field: http://bugs.python.org/issue504152.

As part of my work on haufe.releaser I added new setuptools command
'check_description' that performs a reST check before uploading a
dist file:



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20080303/c2607307/attachment.pgp 

More information about the Distutils-SIG mailing list