From 8b63d41cbbfbe5087c2f4a55387661948cc06959 Mon Sep 17 00:00:00 2001 From: Ricter Z Date: Wed, 19 Oct 2016 12:18:42 +0800 Subject: [PATCH] fix unicodecodeerror on windows --- .travis.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f3597fc..7813c9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ python: - 2.6 - 3.3 - 3.4 - - 3.5 + - 3.5.2 install: - python setup.py install diff --git a/setup.py b/setup.py index 99a0e2f..59e3bbf 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open('requirements.txt') as f: def long_description(): - with codecs.open('README.md', 'r') as f: + with codecs.open('README.md', 'rb') as f: return f.read() setup(