[Checkins] SVN: z3c.form/trunk/setup.py Removed the escape stuff so the long_description will appear as html on pypi.
Vincent Fretin
vincent.fretin at gmail.com
Sun Jun 14 05:19:29 EDT 2009
Log message for revision 100941:
Removed the escape stuff so the long_description will appear as html on pypi.
If it's really needed for something I don't know, please revert.
Changed:
U z3c.form/trunk/setup.py
-=-
Modified: z3c.form/trunk/setup.py
===================================================================
--- z3c.form/trunk/setup.py 2009-06-14 09:17:19 UTC (rev 100940)
+++ z3c.form/trunk/setup.py 2009-06-14 09:19:28 UTC (rev 100941)
@@ -20,9 +20,7 @@
from setuptools import setup, find_packages
def read(*rnames):
- text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
- text = unicode(text, 'utf-8').encode('ascii', 'xmlcharrefreplace')
- return xml.sax.saxutils.escape(text)
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
chapters = '\n'.join(
[read('src', 'z3c', 'form', name)
More information about the Checkins
mailing list