[Catalog-sig] HTML in long description

Chris Withers chris at simplistix.co.uk
Mon Aug 31 14:11:39 CEST 2009

Tarek wrote:
>> 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
            - http://www.simplistix.co.uk

More information about the Catalog-SIG mailing list