Skip to content

Commit fbde27c

Browse files
author
huy
committed
fix versioning
1 parent 3d1684b commit fbde27c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env python
22
# Copyright 2016, Yahoo Inc.
33
# Licensed under the terms of the Apache License, Version 2.0. See the LICENSE file associated with the project for terms.
4-
4+
import os
5+
import re
56
import io
67
from setuptools import setup
78

@@ -15,8 +16,6 @@
1516

1617
# Grab the version using convention described by flask
1718
# https://github.com/pallets/flask/blob/master/setup.py#L10
18-
import os
19-
import re
2019
with io.open('graphkit/__init__.py', 'rt', encoding='utf8') as f:
2120
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
2221

0 commit comments

Comments
 (0)