|
| 1 | +[build-system] |
| 2 | +requires = ["flit_core>=3.2", "flit_scm", "wheel"] |
| 3 | +build-backend = "flit_scm:buildapi" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "django-select2" |
| 7 | +authors = [ |
| 8 | + { name = "Johannes Maron", email = "[email protected]" }, |
| 9 | +] |
| 10 | +readme = "README.rst" |
| 11 | +license = { file = "LICENSE" } |
| 12 | +keywords = ["Django", "select2", "autocomplete", "typeahead"] |
| 13 | +dynamic = ["version", "description"] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "License :: OSI Approved :: MIT License", |
| 17 | + "Intended Audience :: Developers", |
| 18 | + "Environment :: Web Environment", |
| 19 | + "Operating System :: OS Independent", |
| 20 | + "Programming Language :: Python", |
| 21 | + "Programming Language :: Python :: 3", |
| 22 | + "Programming Language :: Python :: 3 :: Only", |
| 23 | + "Programming Language :: Python :: 3.9", |
| 24 | + "Programming Language :: Python :: 3.9", |
| 25 | + "Programming Language :: Python :: 3.10", |
| 26 | + "Framework :: Django", |
| 27 | + "Framework :: Django :: 3.2", |
| 28 | + "Framework :: Django :: 4.0", |
| 29 | + "Framework :: Django :: 4.1", |
| 30 | + "Topic :: Software Development", |
| 31 | +] |
| 32 | +requires-python = ">=3.8" |
| 33 | +dependencies = [ |
| 34 | + "django>=3.2", |
| 35 | + "django-appconf>=0.6.0" |
| 36 | +] |
| 37 | + |
| 38 | +[project.optional-dependencies] |
| 39 | +test = [ |
| 40 | + "pytest", |
| 41 | + "pytest-cov", |
| 42 | + "pytest-django", |
| 43 | + "selenium", |
| 44 | +] |
| 45 | +selenium = [ |
| 46 | + "selenium", |
| 47 | +] |
| 48 | +docs = [ |
| 49 | + "sphinx", |
| 50 | +] |
| 51 | + |
| 52 | +[project.urls] |
| 53 | +Project-URL = "https://github.com/codingjoe/django-select2" |
| 54 | +Changelog = "https://github.com/codingjoe/django-select2/releases" |
| 55 | +Source = "https://github.com/codingjoe/django-select2" |
| 56 | +Documentation = "https://django-select2.rtfd.io/" |
| 57 | +Issue-Tracker = "https://github.com/codingjoe/django-select2/issues" |
| 58 | + |
| 59 | +[tool.flit.module] |
| 60 | +name = "django_select2" |
| 61 | + |
| 62 | +[tool.setuptools_scm] |
| 63 | +write_to = "django_select2/_version.py" |
| 64 | + |
| 65 | +[tool.pytest.ini_options] |
| 66 | +minversion = "6.0" |
| 67 | +addopts = "--cov --tb=short -rxs" |
| 68 | +testpaths = ["tests"] |
| 69 | +DJANGO_SETTINGS_MODULE = "tests.testapp.settings" |
| 70 | + |
| 71 | +[tool.coverage.run] |
| 72 | +source = ["django_select2"] |
| 73 | + |
| 74 | +[tool.coverage.report] |
| 75 | +show_missing = true |
| 76 | + |
| 77 | +[tool.isort] |
| 78 | +atomic = true |
| 79 | +line_length = 88 |
| 80 | +multi_line_output = 3 |
| 81 | +include_trailing_comma = true |
| 82 | +force_grid_wrap = 0 |
| 83 | +use_parentheses = true |
| 84 | +known_first_party = "django_select2, tests" |
| 85 | +default_section = "THIRDPARTY" |
| 86 | +combine_as_imports = true |
| 87 | + |
| 88 | +[tool.pydocstyle] |
| 89 | +add_ignore = "D1" |
0 commit comments