setup.py: use codecs.open() so it works for non-utf8 locales

This commit is contained in:
Felix Yan 2014-11-01 22:48:22 +08:00
parent 90dc03c762
commit e6306f7b32

View file

@ -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(