From 4382981c36d51b66a5b7e1d7a175e172a27c13b9 Mon Sep 17 00:00:00 2001 From: Will Price Date: Mon, 5 Feb 2018 11:50:43 +0000 Subject: [PATCH] Make mysql an optional dependency --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e0aeaccb..77c52f0b 100644 --- a/setup.py +++ b/setup.py @@ -125,7 +125,6 @@ install_requires = [ "future", "backports.csv", - "mysqlclient", "beautifulsoup4", "lxml", "feedparser", @@ -136,5 +135,8 @@ "python-docx", "cherrypy" ], + extra_requires = { + 'mysql': ["mysqlclient"], + }, zip_safe = False )