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 617f7e5 commit 8e607d1Copy full SHA for 8e607d1
setup.py
@@ -2,13 +2,14 @@
2
# -*- coding: utf-8 -*-
3
from setuptools import setup
4
import os
5
+import io
6
7
version = {}
-with open(os.path.join('metric_learn', '_version.py')) as fp:
8
+with io.open(os.path.join('metric_learn', '_version.py')) as fp:
9
exec(fp.read(), version)
10
11
# Get the long description from README.md
-with open('README.rst', encoding='utf-8') as f:
12
+with io.open('README.rst', encoding='utf-8') as f:
13
long_description = f.read()
14
15
setup(name='metric-learn',
0 commit comments