From e6306f7b32eda165c6b52d4f8a9e763eef128cd9 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Sat, 1 Nov 2014 22:48:22 +0800 Subject: [PATCH] setup.py: use codecs.open() so it works for non-utf8 locales --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 63ef6de..8e654dc 100644 --- a/setup.py +++ b/setup.py @@ -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(