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 > dist/desc.html

I just wish it didn't rely on rst2html being globally available...

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Catalog-SIG mailing list
[email protected]
http://mail.python.org/mailman/listinfo/catalog-sig

Reply via email to