2017-11-25 15:35:37 +00:00
|
|
|
[metadata]
|
|
|
|
|
name = django-select2
|
|
|
|
|
author = Johannes Hoppe
|
2019-04-08 16:55:31 +00:00
|
|
|
author_email = info@johanneshoppe.com
|
|
|
|
|
description = Select2 option fields for Django
|
|
|
|
|
long_description = file: README.rst
|
|
|
|
|
url = https://github.com/applegrew/django-select2
|
|
|
|
|
license = MIT
|
|
|
|
|
license_file = LICENSE
|
2017-11-25 15:35:37 +00:00
|
|
|
classifier =
|
|
|
|
|
Development Status :: 5 - Production/Stable
|
|
|
|
|
Environment :: Web Environment
|
|
|
|
|
Intended Audience :: Developers
|
|
|
|
|
License :: OSI Approved :: Apache Software License
|
|
|
|
|
Operating System :: OS Independent
|
|
|
|
|
Programming Language :: Python
|
|
|
|
|
Programming Language :: Python :: 3
|
|
|
|
|
Framework :: Django
|
|
|
|
|
|
2019-04-08 16:55:31 +00:00
|
|
|
[options]
|
|
|
|
|
include_package_data = True
|
2019-06-10 15:42:32 +00:00
|
|
|
packages = django_select2
|
2019-04-08 16:55:31 +00:00
|
|
|
install_requires =
|
2020-01-05 16:12:38 +00:00
|
|
|
django>=2.2
|
2019-04-08 16:55:31 +00:00
|
|
|
django-appconf>=0.6.0
|
|
|
|
|
setup_requires =
|
2019-04-10 09:46:10 +00:00
|
|
|
setuptools_scm
|
2019-04-08 16:55:31 +00:00
|
|
|
sphinx
|
|
|
|
|
pytest-runner
|
|
|
|
|
tests_require =
|
|
|
|
|
pytest
|
|
|
|
|
pytest-cov
|
|
|
|
|
pytest-django
|
|
|
|
|
selenium
|
2017-11-25 15:35:37 +00:00
|
|
|
|
2019-04-08 16:55:31 +00:00
|
|
|
[bdist_wheel]
|
|
|
|
|
universal = 1
|
|
|
|
|
|
|
|
|
|
[bdist_rpm]
|
|
|
|
|
requires =
|
|
|
|
|
python-django-appconf >= 2.0
|
|
|
|
|
python-django-appconf >= 0.6
|
|
|
|
|
|
|
|
|
|
[aliases]
|
|
|
|
|
test = pytest
|
2018-08-18 11:52:54 +00:00
|
|
|
|
|
|
|
|
[build_sphinx]
|
|
|
|
|
source-dir = docs
|
|
|
|
|
build-dir = docs/_build
|
|
|
|
|
|
2017-02-21 13:10:56 +00:00
|
|
|
[tool:pytest]
|
2019-04-08 16:55:31 +00:00
|
|
|
addopts = --cov=django_select2 --cov-report xml
|
2015-08-06 09:58:27 +00:00
|
|
|
DJANGO_SETTINGS_MODULE=tests.testapp.settings
|
|
|
|
|
|
2019-04-08 16:55:31 +00:00
|
|
|
[tox:tox]
|
2020-01-05 16:12:38 +00:00
|
|
|
envlist = py{36,37,38}-dj{22,30,master},docs
|
2019-04-08 16:55:31 +00:00
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
|
passenv=CI
|
|
|
|
|
deps =
|
2020-01-05 16:12:38 +00:00
|
|
|
dj22: django~=2.2
|
|
|
|
|
dj30: django~=3.0
|
2019-04-08 16:55:31 +00:00
|
|
|
djmaster: https://github.com/django/django/archive/master.tar.gz#egg=django
|
|
|
|
|
commands = python setup.py test
|
|
|
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
|
commands = python setup.py build_sphinx -W -b doctest -b html
|
|
|
|
|
|
2015-08-06 09:58:27 +00:00
|
|
|
[flake8]
|
|
|
|
|
max-line-length = 120
|
|
|
|
|
statistics = true
|
|
|
|
|
show-source = true
|
|
|
|
|
|
2019-04-08 16:55:31 +00:00
|
|
|
[pydocstyle]
|
|
|
|
|
add_ignore = D1
|
2015-08-06 09:58:27 +00:00
|
|
|
|
|
|
|
|
[isort]
|
|
|
|
|
atomic = true
|
|
|
|
|
multi_line_output = 5
|
|
|
|
|
line_length = 79
|
2016-02-04 10:56:09 +00:00
|
|
|
known_first_party = django_select2, tests
|
2019-04-08 16:55:31 +00:00
|
|
|
default_section=THIRDPARTY
|
2015-08-06 09:58:27 +00:00
|
|
|
combine_as_imports = true
|