blob: 95705f0ecdb55ad9ace6e64be9819d052b79af09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- setup.py.orig 2019-01-11 16:47:10 UTC
+++ setup.py
@@ -16,6 +16,7 @@ limitations under the License.
"""
import re
import sys
+import codecs
from setuptools import setup, find_packages
@@ -27,7 +28,7 @@ def get_version():
def readme():
''' Returns README.rst contents as str '''
- with open('README.rst') as f:
+ with codecs.open('README.rst', 'r', encoding='utf8') as f:
return f.read()
|