From e6a3c82829ce9f0444c8f1ee8068c3b54b05c29b Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 26 Sep 2020 14:41:25 -0500 Subject: [PATCH] Move mysql dependency to 'app' extra avoids installing it on a personal deployment machine --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 94adc97..f4ffe2a 100644 --- a/setup.py +++ b/setup.py @@ -62,10 +62,6 @@ requires = [ # # package # low high - # we include mysql "always" even though it may not be actually needed - # TODO: must cap this for now, b/c it breaks CORE-POS integration?! - # (sometimes there are segfaults with basic grid queries) - 'mysql-connector-python==8.0.17', ] @@ -79,6 +75,11 @@ extras = { 'psycopg2', # 2.8.5 'rattail[db,auth,bouncer]', # 0.9.130 'Tailbone', # 0.8.97 + + # we include mysql "always" even though it may not be actually needed + # TODO: must cap this for now, b/c it breaks CORE-POS integration?! + # (sometimes there are segfaults with basic grid queries) + 'mysql-connector-python==8.0.17', ], 'catapult': [