diff setup.py @ 7930:0127045f573b

feat: allow pip install roundup[jinja2,extras,test,charting] Add some optional dependencies to setup.py for roundup. I am using them for testing and they may be generally useful. For right not I am not documenting them. They are for internal use. Also fix formatting of a kwarg.
author John Rouillard <rouilj@ieee.org>
date Sun, 05 May 2024 17:18:30 -0400
parents 2be7a8f66ea7
children bc45c3df770a
line wrap: on
line diff
--- a/setup.py	Thu May 02 22:36:31 2024 -0400
+++ b/setup.py	Sun May 05 17:18:30 2024 -0400
@@ -212,6 +212,7 @@
           license="OSI Approved: MIT License, Zope Public License, Python Software Foundation License",
           long_description=long_description,
           long_description_content_type='text/x-rst',
+          python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
           url='https://www.roundup-tracker.org',
           download_url='https://pypi.org/project/roundup',
           classifiers=['Development Status :: 5 - Production/Stable',
@@ -242,14 +243,20 @@
                        'Programming Language :: Python :: 3.10',
                        'Programming Language :: Python :: 3.11',
                        'Programming Language :: Python :: 3.12',
+                       'Programming Language :: Python :: Implementation :: CPython',
                        'Topic :: Communications :: Email',
                        'Topic :: Office/Business',
                        'Topic :: Software Development :: Bug Tracking',
                        'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
                        ],
-
+          extras_require={
+              "charting": ['pygal'],
+              "jinja2": ['jinja2'],
+              "extras": [ 'brotli', 'pytz'],
+              "test": ['pytest > 7.0.0'],
+              },
           # Override certain command classes with our own ones
-          cmdclass= {'build_doc': build_doc,
+          cmdclass={'build_doc': build_doc,
                      'build': build,
                      'bdist_rpm': bdist_rpm,
                      'install_lib': install_lib,

Roundup Issue Tracker: http://roundup-tracker.org/