Skip to content

Commit eff948d

Browse files
committed
Update encoding to read README #13
1 parent 9902044 commit eff948d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
:copyright: © 2011 by Openlabs Technologies & Consulting (P) Limited
2727
:license: BSD, see LICENSE for more details.
2828
"""
29+
import codecs
2930
from setuptools import setup
3031

3132

@@ -41,7 +42,9 @@
4142
author="Openlabs Technologies & Consulting (P) Limited",
4243
author_email="[email protected]",
4344
description="Microsoft Translator V2 - Python API",
44-
long_description=open('README.rst').read(),
45+
long_description=codecs.open(
46+
'README.rst', encoding='UTF-8'
47+
).read(),
4548
license="BSD",
4649
keywords="translation microsoft",
4750
url="http://openlabs.co.in/",

0 commit comments

Comments
 (0)