mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
* Refactor the documentation build process Significant improvements: * Allow easy isolated local builds via a dedicated Tox environment * Configure Sphinx to use consistent packages and theme across local, CI, and ReadTheDocs builds; local builds now look the same as the published RTD pages * Explicitly add a ReadTheDocs configuration as code, per their documented best practices * Remove lots of dead code and simplify the Sphinx configuration file * Build docs in a dedicated CI step and enable stricter warning checking * Fix docutils related build error. * Relax Sphinx version. * Invalidate RTD build cache. * No need to combine coverage reporting I think. * Add combining again. Co-authored-by: Jannis Leidel <jannis@leidel.info>
66 lines
2.1 KiB
Python
66 lines
2.1 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/',
|
|
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"',
|
|
],
|
|
python_requires='>=3.6, <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 :: 2.2',
|
|
'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',
|
|
'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,
|
|
)
|