From ba45c9cd5b6db6f393e394fd15f7c1aad54e614d Mon Sep 17 00:00:00 2001
From: Ruslan Kuprieiev <ruslan@iterative.ai>
Date: Wed, 8 Jan 2020 02:16:06 +0200
Subject: [PATCH] setup: get rid of py2 reqs

---
 setup.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/setup.py b/setup.py
index e221afef71..9c86e09035 100644
--- a/setup.py
+++ b/setup.py
@@ -74,12 +74,9 @@ def run(self):
     "flufl.lock>=3.2",
     "win-unicode-console>=0.5; sys_platform == 'win32'",
     "pywin32>=225; sys_platform == 'win32'",
+    "networkx>=2.1,<2.4",
 ]
 
-if sys.version_info[0] == 2:
-    install_requires.append("networkx>=2.1,<2.3")
-else:
-    install_requires.append("networkx>=2.1,<2.4")
 
 # Extra dependencies for remote integrations