From 75abadd47e250edda54cee47656913bf38b40ea8 Mon Sep 17 00:00:00 2001
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
Date: Wed, 27 Dec 2017 07:04:30 -0600
Subject: [PATCH 1/2] Relax constraints on requests, make graphviz optional

---
 python/setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/setup.py b/python/setup.py
index e8545a5..3f365dd 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -30,7 +30,8 @@ if "--inplace" in sys.argv:
 else:
     from setuptools import setup
     from setuptools.extension import Extension
-    kwargs = {'install_requires': ['numpy>1.16.0,<2.0.0', 'requests>=2.20.0,<3', 'graphviz<0.9.0,>=0.8.1'], 'zip_safe': False}
+    kwargs = {'install_requires': ['numpy>1.16.0,<2.0.0', 'requests>=2.20.0,<3'], 'zip_safe': False,
+              'extras_require': {'graphviz': ['graphviz<0.9.0,>=0.8.1']}}
 
 with_cython = False
 if '--with-cython' in sys.argv:
-- 
2.7.4

