mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
Merge pull request #31 from LuminosoInsight/use_encoding
Specify encoding when dealing with files
Former-commit-id: f30efebba0
This commit is contained in:
commit
eae7b2752e
3
setup.py
3
setup.py
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user