mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 14:10:26 +00:00
71 lines
2.3 KiB
Python
71 lines
2.3 KiB
Python
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/',
|
|
project_urls={
|
|
'Source': 'https://github.com/jazzband/django-configurations',
|
|
},
|
|
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>=3.2',
|
|
],
|
|
python_requires='>=3.9, <4.0',
|
|
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',
|
|
],
|
|
},
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Framework :: Django',
|
|
'Framework :: Django :: 3.2',
|
|
'Framework :: Django :: 4.1',
|
|
'Framework :: Django :: 4.2',
|
|
'Framework :: Django :: 5.0',
|
|
'Framework :: Django :: 5.1',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
'Programming Language :: Python :: 3.9',
|
|
'Programming Language :: Python :: 3.10',
|
|
'Programming Language :: Python :: 3.11',
|
|
'Programming Language :: Python :: 3.12',
|
|
'Programming Language :: Python :: 3.13',
|
|
'Programming Language :: Python :: Implementation :: PyPy',
|
|
'Topic :: Utilities',
|
|
],
|
|
zip_safe=False,
|
|
)
|