Skip to content

Commit

Permalink
fix(build): py2 needs piining networkx-2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ankostis committed Sep 28, 2019
1 parent 1f189f1 commit c307f28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
author_email='huyng@yahoo-inc.com',
url='http://github.com/yahoo/graphkit',
packages=['graphkit'],
install_requires=['networkx'],
install_requires=[
"networkx; python_version > '2'",
"networkx=2.2; python_version < '3'",
],
extras_require={
'plot': ['pydot', 'matplotlib']
},
Expand Down

0 comments on commit c307f28

Please sign in to comment.