From eff948df109dca9a9b1acce21d8ffd47c6b0edda Mon Sep 17 00:00:00 2001 From: Sharoon Thomas Date: Mon, 7 Sep 2015 19:59:48 +0530 Subject: [PATCH] Update encoding to read README #13 --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c157d5a..148cf31 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ :copyright: © 2011 by Openlabs Technologies & Consulting (P) Limited :license: BSD, see LICENSE for more details. """ +import codecs from setuptools import setup @@ -41,7 +42,9 @@ author="Openlabs Technologies & Consulting (P) Limited", author_email="info@openlabs.co.in", description="Microsoft Translator V2 - Python API", - long_description=open('README.rst').read(), + long_description=codecs.open( + 'README.rst', encoding='UTF-8' + ).read(), license="BSD", keywords="translation microsoft", url="http://openlabs.co.in/",