Merge pull request #31 from LuminosoInsight/use_encoding

Specify encoding when dealing with files

Former-commit-id: f30efebba0
This commit is contained in:
Andrew Lin 2015-12-23 16:13:47 -05:00
commit eae7b2752e

View File

@ -24,7 +24,8 @@ classifiers = [
]
current_dir = os.path.dirname(__file__)
README_contents = open(os.path.join(current_dir, 'README.md')).read()
README_contents = open(os.path.join(current_dir, 'README.md'),
encoding='utf-8').read()
doclines = README_contents.split("\n")
dependencies = ['ftfy >= 4', 'msgpack-python', 'langcodes', 'regex >= 2015']
if sys.version_info < (3, 4):