Skip to content

Commit

Permalink
Removed the escape stuff so the long_description will appear as html …
Browse files Browse the repository at this point in the history
…on pypi.

If it's really needed for something I don't know, please revert.
  • Loading branch information
vincentfretin committed Jun 14, 2009
1 parent d4c504d commit e82dab5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -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)
Expand Down

0 comments on commit e82dab5

Please sign in to comment.