From 79b5add08f2aa2c86c16b1d048a2f5cee5f246eb Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Wed, 11 May 2016 11:41:56 -0700 Subject: [PATCH] fix encoding problem with long_description --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 66c11b9..6ed90c0 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,9 @@ import setuptools +import codecs setuptools.setup( name='rethinkstuff', - version='0.1.5', + version='0.1.6', packages=['rethinkstuff'], classifiers=[ 'Programming Language :: Python :: 2.7', @@ -14,5 +15,6 @@ setuptools.setup( author='Noah Levitt', author_email='nlevitt@archive.org', description='Rudimentary rethinkdb python library with some smarts, perhaps some dumbs', - long_description=open('README.rst').read(), + long_description=codecs.open( + 'README.rst', mode='r', encoding='utf-8').read(), )