File: setup.py

package info (click to toggle)
python-django-split-settings 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 352 kB
  • sloc: python: 368; makefile: 23
file content (90 lines) | stat: -rw-r--r-- 2,334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# -*- coding: utf-8 -*-

"""
Setup file for django-split-settings.

Visit https://pypi.python.org/pypi/django-split-settings
for more information.
"""

import io

from setuptools import setup

from split_settings import __version__

INSTALL_REQUIRES = []  # no deps

TESTS_REQUIRE = [
    'six',

    # pytest plugins:
    'pytest-cov',
    'pytest-isort',

    # Linting:
    'flake8-builtins',
    'flake8-commas',
    'flake8-quotes',
    'flake8-pep3101',
    'flake8-comprehensions',
    'flake8-blind-except',
    'pep8-naming',
    'flake8',  # fixes dependency resolution
    'pytest-flake8',

    # This line should be the last one:
    # https://github.com/pytest-dev/pytest-runner/issues/11
    'pytest',  # should be the last line
]

SETUP_REQUIRES = [
    'pytest-runner',
]

with io.open('README.rst', 'r', encoding='utf-8') as f:
    LONG_DESCRIPTION = f.read()

setup(
    name='django-split-settings',
    version=__version__,
    description=(
        'Organize Django settings into multiple files and directories. '
        'Easily override and modify settings. Use wildcards and optional '
        'settings files.'
    ),
    long_description=LONG_DESCRIPTION,
    author='Nikita Sobolev, Visa Kopu, Antti Kaihola',
    author_email='mail@sobolevn.me',
    url='http://github.com/sobolevn/django-split-settings',
    packages=[
        'split_settings',
    ],
    include_package_data=True,
    install_requires=INSTALL_REQUIRES,
    tests_require=TESTS_REQUIRE,
    setup_requires=SETUP_REQUIRES,
    zip_safe=False,
    keywords=[
        'django',
        'settings',
        'configuration',
        'config',
    ],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Framework :: Django :: 1.11',
        'Framework :: Django :: 2.0',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)