Skip to content

Commit 42d0aa9

Browse files
committed
add encoding of readme.md in setup.py
1 parent 57b0ba9 commit 42d0aa9

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
@@ -26,7 +26,7 @@
2626
import pypandoc
2727
README = pypandoc.convert('README.md', 'rst')
2828
except (IOError, ImportError):
29-
README = open(os.path.join(ROOT, 'README.md')).read()
29+
README = open(os.path.join(ROOT, 'README.md'), encoding="utf-8").read()
3030

3131

3232
setup(name='POT',

0 commit comments

Comments
 (0)