From f29aee87c7399d55053ed07d9a3e8bca2edc0562 Mon Sep 17 00:00:00 2001 From: Dev Aggarwal Date: Thu, 17 May 2018 19:18:01 +0530 Subject: [PATCH] Update setup.py Fix comma Add an extras_require field --- setup.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9fff95e..16d63ce 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,11 @@ REQUIRED = [ # 'requests', 'maya', 'records', ] +# What packages are optional? +EXTRAS = [ + 'django' +] + # The rest you shouldn't have to touch too much :) # ------------------------------------------------ # Except, perhaps the License and Trove Classifiers! @@ -89,7 +94,7 @@ setup( version=about['__version__'], description=DESCRIPTION, long_description=long_description, - long_description_content_type='text/markdown' + long_description_content_type='text/markdown', author=AUTHOR, author_email=EMAIL, python_requires=REQUIRES_PYTHON, @@ -102,6 +107,7 @@ setup( # 'console_scripts': ['mycli=mymodule:cli'], # }, install_requires=REQUIRED, + extras_require=EXTRAS, include_package_data=True, license='MIT', classifiers=[