django-configurations/setup.py

63 lines
2 KiB
Python
Raw Normal View History

2013-09-09 09:03:00 +00:00
from __future__ import print_function
import os
import codecs
2012-07-21 13:56:04 +00:00
from setuptools import setup
2013-09-09 09:03:00 +00:00
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",
2019-12-03 12:01:17 +00:00
use_scm_version={"version_scheme": "post-release", "local_scheme": "dirty-tag"},
setup_requires=["setuptools_scm"],
url='https://django-configurations.readthedocs.io/',
2013-09-09 09:03:00 +00:00
license='BSD',
description="A helper for organizing Django settings.",
long_description=read('README.rst'),
2019-12-03 11:47:25 +00:00
long_description_content_type='text/x-rst',
2013-09-09 09:03:00 +00:00
author='Jannis Leidel',
author_email='jannis@leidel.info',
packages=['configurations'],
entry_points={
'console_scripts': [
'django-cadmin = configurations.management:execute_from_command_line',
],
},
install_requires=['six'],
2018-12-09 14:48:12 +00:00
extras_require={
'cache': ['django-cache-url'],
'database': ['dj-database-url'],
'email': ['dj-email-url'],
'search': ['dj-search-url'],
'testing': [
'django-discover-runner',
'mock',
'django-cache-url>=1.0.0',
'dj-database-url',
'dj-email-url',
'dj-search-url',
'Sphinx>=1.4',
],
2018-12-09 14:48:12 +00:00
},
2013-09-09 09:03:00 +00:00
classifiers=[
2018-07-11 18:25:15 +00:00
'Development Status :: 5 - Production/Stable',
2013-09-09 09:03:00 +00:00
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
2019-11-29 01:12:04 +00:00
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: PyPy',
2013-09-09 09:03:00 +00:00
'Topic :: Utilities',
],
zip_safe=False,
)