From b27cae5b1e30ce0271d5f8cd2faee80282c312c7 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 23 Jun 2021 12:52:44 +0200 Subject: [PATCH] Split specific dependecies in extras require --- setup.py | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index 69d781d..53425ec 100644 --- a/setup.py +++ b/setup.py @@ -18,20 +18,28 @@ setup( 'Programming Language :: Python', ], install_requires=[ - 'email3', - 'mako', - 'mysqlclient', 'progressbar', - 'psycopg2', - 'python-dateutil', - 'python-ldap', - 'pytz', ], extras_require={ 'dev': [ 'pytest', 'pylint', ], + 'ldap': [ + 'python-ldap', + 'python-dateutil', + 'pytz', + ], + 'email': [ + 'email3', + 'mako', + ], + 'pgsql': [ + 'psycopg2', + ], + 'mysql': [ + 'mysqlclient', + ], }, author='Benjamin Renard', author_email='brenard@zionetrix.net',