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.
2 parents fca8829 + 19cddb3 commit 0e6c7a4Copy full SHA for 0e6c7a4
mkl-service/setup.py
@@ -26,7 +26,6 @@
26
27
28
from os.path import join, exists, dirname
29
-from io import open
30
31
32
def configuration(parent_package='', top_path=None):
setup.py
@@ -26,10 +26,11 @@
from __future__ import division, print_function, absolute_import
+import io
import re
-with open('mkl-service/__init__.py', 'rt', encoding='utf8') as file:
33
+with io.open('mkl-service/__init__.py', 'rt', encoding='utf8') as file:
34
VERSION = re.search(r'__version__ = \'(.*?)\'', file.read()).group(1)
35
36
0 commit comments