[Checkins] SVN: z3c.form/trunk/setup.py avoid escaping text to have a correct long description in pypi

Jean-Francois Roche jfroche at jfroche.be
Thu Jul 1 08:05:00 EDT 2010


Log message for revision 114047:
  avoid escaping text to have a correct long description in pypi

Changed:
  U   z3c.form/trunk/setup.py

-=-
Modified: z3c.form/trunk/setup.py
===================================================================
--- z3c.form/trunk/setup.py	2010-07-01 12:00:21 UTC (rev 114046)
+++ z3c.form/trunk/setup.py	2010-07-01 12:04:59 UTC (rev 114047)
@@ -16,14 +16,12 @@
 $Id$
 """
 import os
-import xml.sax.saxutils
 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 unicode(text, 'utf-8').encode('ascii', 'xmlcharrefreplace')
 
 
 chapters = '\n'.join(



More information about the checkins mailing list