We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b943244 commit ffcafeaCopy full SHA for ffcafea
setup.py
@@ -2,11 +2,12 @@
2
3
from distutils.core import setup
4
import re
5
+import io
6
import os.path
7
8
dirname = os.path.dirname(os.path.abspath(__file__))
9
filename = os.path.join(dirname, 'jsonpointer.py')
-src = open(filename).read()
10
+src = io.open(filename, encoding='utf-8').read()
11
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", src))
12
docstrings = re.findall('"""(.*)"""', src)
13
0 commit comments