explicitly set file open to user utf8 encoding when setup.py parses README and CHANGES file. If this is not done some systems will throw unicode can't decode byte error
This commit is contained in:
parent
16b538d847
commit
12fa6c523b
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -10,7 +10,7 @@ REQUIREMENTS = [
|
|||
|
||||
|
||||
HERE = dirname(abspath(__file__))
|
||||
DESCRIPTION = '\n\n'.join(open(join(HERE, _)).read() for _ in [
|
||||
DESCRIPTION = '\n\n'.join(open(join(HERE, _), encoding="utf8").read() for _ in [
|
||||
'README.rst',
|
||||
'CHANGES.rst',
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue