fix unicodecodeerror on windows

This commit is contained in:
Ricter Z 2016-10-19 12:18:42 +08:00
parent 55d24883be
commit 8b63d41cbb
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ python:
- 2.6 - 2.6
- 3.3 - 3.3
- 3.4 - 3.4
- 3.5 - 3.5.2
install: install:
- python setup.py install - python setup.py install

View File

@ -9,7 +9,7 @@ with open('requirements.txt') as f:
def long_description(): def long_description():
with codecs.open('README.md', 'r') as f: with codecs.open('README.md', 'rb') as f:
return f.read() return f.read()
setup( setup(