Tarek Ziadé wrote:


On Thu, Jul 24, 2008 at 11:37 PM, Chris Withers <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to