summaryrefslogtreecommitdiff
blob: aa0af681a7686501e1a2dc7181d1ce0a473eb0e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ur socketpool-0.5.2.orig/setup.py socketpool-0.5.2/setup.py
--- socketpool-0.5.2.orig/setup.py	2012-08-05 12:33:47.000000000 +0800
+++ socketpool-0.5.2/setup.py	2013-02-05 00:22:13.685705089 +0800
@@ -5,7 +5,7 @@
 # See the NOTICE for more information.
 
 
-import os
+import os, io
 from setuptools import setup, find_packages
 
 CLASSIFIERS = [
@@ -22,7 +22,7 @@
 
 
 # read long description
-with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
+with io.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf8') as f:
     long_description = f.read()
 
 DATA_FILES = [