Skip to content

Commit

Permalink
Stupid setuptools cannot handle non-ascii characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
strichter committed Sep 12, 2007
1 parent 2bb5195 commit cf65883
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -19,7 +19,8 @@
from setuptools import setup, find_packages

def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
return open(os.path.join(os.path.dirname(__file__),
*rnames)).read().decode('utf-8').encode('latin-1', 'ignore')

setup (
name='z3c.currency',
Expand Down

0 comments on commit cf65883

Please sign in to comment.