import os import codecs from setuptools import setup def read(*parts): filename = os.path.join(os.path.dirname(__file__), *parts) with codecs.open(filename, encoding='utf-8') as fp: return fp.read() setup( name="django-configurations", use_scm_version={"version_scheme": "post-release", "local_scheme": "dirty-tag"}, setup_requires=["setuptools_scm"], url='https://django-configurations.readthedocs.io/', license='BSD', description="A helper for organizing Django settings.", long_description=read('README.rst'), long_description_content_type='text/x-rst', author='Jannis Leidel', author_email='jannis@leidel.info', packages=['configurations'], entry_points={ 'console_scripts': [ 'django-cadmin = configurations.management:execute_from_command_line', ], }, install_requires=[ 'django>=2.2', 'importlib-metadata;python_version<"3.8"', ], extras_require={ 'cache': ['django-cache-url'], 'database': ['dj-database-url'], 'email': ['dj-email-url'], 'search': ['dj-search-url'], 'testing': [ 'django-cache-url>=1.0.0', 'dj-database-url', 'dj-email-url', 'dj-search-url', 'Sphinx>=1.4', ], }, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Framework :: Django', 'Framework :: Django :: 2.2', 'Framework :: Django :: 3.0', 'Framework :: Django :: 3.1', 'Framework :: Django :: 3.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Utilities', ], zip_safe=False, )