Skip to content

Commit

Permalink
updated setup.read to work on Python 3.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Jan 17, 2014
1 parent 33624bc commit 0910897
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -8,7 +8,8 @@


def read(fname):
return codecs.open(os.path.join(os.path.dirname(__file__), fname)).read()
fn = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(fn, "rb", "utf-8").read()


# Provided as an attribute, so you can append to these instead
Expand Down

0 comments on commit 0910897

Please sign in to comment.