Merge pull request #203 from felixonmars/setup-py3-fix

setup.py: use codecs.open() so it works for non-utf8 locales
This commit is contained in:
clowwindy 2014-11-01 23:24:44 +08:00
commit d64450915b
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
import codecs
from setuptools import setup
with open('README.rst') as f:
with codecs.open('README.rst', encoding='utf-8') as f:
long_description = f.read()
setup(