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 3d1684b commit fbde27cCopy full SHA for fbde27c
setup.py
@@ -1,7 +1,8 @@
1
#!/usr/bin/env python
2
# Copyright 2016, Yahoo Inc.
3
# Licensed under the terms of the Apache License, Version 2.0. See the LICENSE file associated with the project for terms.
4
-
+import os
5
+import re
6
import io
7
from setuptools import setup
8
@@ -15,8 +16,6 @@
15
16
17
# Grab the version using convention described by flask
18
# https://github.com/pallets/flask/blob/master/setup.py#L10
-import os
19
-import re
20
with io.open('graphkit/__init__.py', 'rt', encoding='utf8') as f:
21
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
22
0 commit comments