[Python-modules-commits] [python-socketpool] 01/03: Fix build with utf-8

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Wed Sep 28 10:22:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

locutusofborg pushed a commit to annotated tag debian/0.5.3-3
in repository python-socketpool.

commit 600ec7a21ecacccee9b1d952f4780ece96998ce6
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Wed Sep 28 12:16:53 2016 +0200

    Fix build with utf-8
---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index b7c13f9..4848652 100755
--- a/setup.py
+++ b/setup.py
@@ -22,8 +22,8 @@ CLASSIFIERS = [
 
 
 # read long description
-with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
-    long_description = f.read()
+with open(os.path.join(os.path.dirname(__file__), 'README.rst'), 'rb') as f:
+    long_description = f.read().decode('utf-8')
 
 DATA_FILES = [
         ('socketpool', ["LICENSE", "MANIFEST.in", "NOTICE", "README.rst",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-socketpool.git



More information about the Python-modules-commits mailing list