Skip to content

Commit c307f28

Browse files
committed
fix(build): py2 needs piining networkx-2.2
1 parent 1f189f1 commit c307f28

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 > '2'",
33+
"networkx=2.2; python_version < '3'",
34+
],
3235
extras_require={
3336
'plot': ['pydot', 'matplotlib']
3437
},

0 commit comments

Comments
 (0)