[Catalog-sig] HTML in long description
chris at simplistix.co.uk
Mon Aug 31 14:11:39 CEST 2009
>> That could be done, either way, IMO. It might also be useful to have a
>> distutils command that generates a pypi-like page, so that people can
>> preview the rendered description.
> yes that's basically :
> $ python setup.py --long-description | rst2html.py > preview.html
I find the following gives better results:
# bin/buildout -q setup setup.py --long-description | rst2html.py
--link-stylesheet --stylesheet=http://www.python.org/styles/styles.css >
I just wish it didn't rely on rst2html being globally available...
Simplistix - Content Management, Batch Processing & Python Consulting
More information about the Catalog-SIG