Skip to content

Commit

Permalink
Merge pull request #22 from mapreri/UnicodeDecodeError
Browse files Browse the repository at this point in the history
setup.py: fix UnicodeDecodeError
  • Loading branch information
mgedmin committed Mar 6, 2018
2 parents d922781 + e6c984f commit a42bc60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
@@ -1,14 +1,15 @@
#!/usr/bin/env python
import os
import re
from io import open
from setuptools import setup


here = os.path.dirname(__file__)


def read(filename):
with open(os.path.join(here, filename)) as f:
with open(os.path.join(here, filename), encoding='utf-8') as f:
return f.read()


Expand Down

0 comments on commit a42bc60

Please sign in to comment.