setup.py: use codecs.open() so it works for non-utf8 locales
This commit is contained in:
parent
90dc03c762
commit
e6306f7b32
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
@ -1,7 +1,8 @@
|
||||||
|
import codecs
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
with open('README.rst') as f:
|
with codecs.open('README.rst', encoding='utf-8') as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
|
Loading…
Reference in a new issue