Yeah, Fred pointed out to me that reST barfed on my ise of the string "py_" in my text. :/
I should have thought to try processing the text myself. I'll do so the next time I get a failure to reST. Thanks. Jim On Sep 7, 2006, at 8:51 AM, Richard Jones wrote: > On Thursday 07 September 2006 21:42, Jim Fulton wrote: >> Most of my packages' long descriptions are treated as reST. For >> example: >> >> http://www.python.org/pypi/zc.recipe.testrunner >> >> However, for: >> >> http://www.python.org/pypi/zc.recipe.egg >> >> the long description was treated as plain text. >> >> What triggers treatment as reStructuredText? Is this documented >> anywhere? > > If the reStructuredText parsing fails for some reason it'll be > treated as > plain text. The specific docutils settings used are: > > settings_overrides={ > 'raw_enabled': '0', # no raw HTML code > 'file_insertion_enabled': '0', # no file/URL access > 'halt_level': 2, # at warnings or errors, raise an exception > 'report_level': 5, # never report problems with the reST code > } > > We pass the description through the docutils trim_docstring > function (from > docutils.readers.python.moduleparser) before parsing it. This > dedents as > appropriate. > > > Richard > _______________________________________________ > Catalog-sig mailing list > Catalog-sig@python.org > http://mail.python.org/mailman/listinfo/catalog-sig -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org _______________________________________________ Catalog-sig mailing list Catalog-sig@python.org http://mail.python.org/mailman/listinfo/catalog-sig