Skip to content

Commit 0972294

Browse files
committed
Merge pull request #474 from yassersouri/patch-1
open `readme.md` with codecs.open
2 parents 8da1db5 + 94c507b commit 0972294

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
@@ -27,7 +27,7 @@
2727
with codecs.open('README.rst', 'w', 'utf-8') as f:
2828
f.write(long_description)
2929
except(IOError, ImportError):
30-
with open('README.md') as f:
30+
with codecs.open('README.md', 'r', 'utf-8') as f:
3131
long_description = f.read()
3232

3333
setup(

0 commit comments

Comments
 (0)