From 50fc721811a015142b476e90f8d198a99e88892f Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 17 Oct 2019 14:22:28 +0300 Subject: [PATCH] setup: fix networkx reqs --- setup.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 3a2292759..518652dfe 100644 --- a/setup.py +++ b/setup.py @@ -49,6 +49,7 @@ class build_py(_build_py): install_requires = [ + "networkx>=2.1,<2.3", "ply>=3.9", # See https://github.com/pyinstaller/pyinstaller/issues/1945 "configparser>=3.5.0", "future>=0.16.0", @@ -78,11 +79,6 @@ install_requires = [ "win-unicode-console>=0.5; sys_platform == 'win32'", ] -if sys.version_info[0] == 2: - install_requires.append("networkx>=2.1,<2.3") -else: - install_requires.append("networkx>=2.1") - # Extra dependencies for remote integrations gs = ["google-cloud-storage==1.19.0"]