Skip to content

Commit 617e577

Browse files
committed
FIX(build): py2 needs pinning networkx-2.2
1 parent e70718b commit 617e577

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
2828
author_email='huyng@yahoo-inc.com',
2929
url='http://github.com/yahoo/graphkit',
3030
packages=['graphkit'],
31-
install_requires=['networkx'],
31+
install_requires=[
32+
"networkx; python_version >= '3.5'",
33+
"networkx == 2.2; python_version < '3.5'",
34+
],
3235
extras_require={
3336
'plot': ['pydot', 'matplotlib']
3437
},

0 commit comments

Comments
 (0)