Skip to content

Commit

Permalink
Reverted r100941. Indeed Pypi does not tranform to html entities.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Jun 14, 2009
1 parent e82dab5 commit afbc31b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
from setuptools import setup, find_packages

def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
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)

chapters = '\n'.join(
[read('src', 'z3c', 'form', name)
Expand Down

0 comments on commit afbc31b

Please sign in to comment.