Skip to content

Commit 5eace88

Browse files
authored
Merge pull request #30 from ykvch/fix-28-read_all
Use io.open() and 'utf-8' to read description
2 parents 22135ba + b35b1f8 commit 5eace88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def get_version(package):
1515
return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
1616

1717
def read_all(f):
18-
with open(f) as I:
18+
with io.open(f, encoding="utf-8") as I:
1919
return I.read()
2020

2121
requirements = map(str.strip, open("requirements.txt").readlines())

0 commit comments

Comments
 (0)