
July 24, 2008
10:21 p.m.
Tarek Ziadé wrote:
On Thu, Jul 24, 2008 at 11:37 PM, Chris Withers <chris@simplistix.co.uk <mailto:chris@simplistix.co.uk>> wrote:
Tres Seaver wrote:
How about the following?
$ python setup.py --long-description | rst2html > long_desc.html
Where does rst2html come from?
$ easy_install docutils
on my laptop the script is "rst2html.py" though
Indeed, and the following seems to give a close-enough approximation of what will show on PyPI: bin/buildout -q setup setup.py --long-description | rst2html.py --link-stylesheet --stylesheet=http://www.python.org/styles/styles.css > dist/desc.html cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk