|
1 | 1 | [build-system]
|
2 | 2 | requires = [
|
3 |
| - "setuptools>=45.0", |
4 |
| - # sync with setup.cfg until we discard non-pep-517/518 |
| 3 | + "setuptools>=61.0.0", |
5 | 4 | "setuptools-scm[toml]>=5.0.0",
|
6 | 5 | ]
|
7 | 6 | build-backend = "setuptools.build_meta"
|
8 | 7 |
|
| 8 | +[project] |
| 9 | +name = "pytest-django" |
| 10 | +description = "A Django plugin for pytest." |
| 11 | +readme = "README.rst" |
| 12 | +requires-python = ">=3.8" |
| 13 | +dynamic = ["version"] |
| 14 | +authors = [ |
| 15 | + { name = "Andreas Pelme", email = "[email protected]" }, |
| 16 | +] |
| 17 | +maintainers = [ |
| 18 | + { name = "Andreas Pelme", email = "[email protected]" }, |
| 19 | +] |
| 20 | +license = {text = "BSD-3-Clause"} |
| 21 | +classifiers = [ |
| 22 | + "Development Status :: 5 - Production/Stable", |
| 23 | + "Framework :: Django", |
| 24 | + "Framework :: Django :: 3.2", |
| 25 | + "Framework :: Django :: 4.1", |
| 26 | + "Framework :: Django :: 4.2", |
| 27 | + "Intended Audience :: Developers", |
| 28 | + "License :: OSI Approved :: BSD License", |
| 29 | + "Operating System :: OS Independent", |
| 30 | + "Programming Language :: Python", |
| 31 | + "Programming Language :: Python :: 3.8", |
| 32 | + "Programming Language :: Python :: 3.9", |
| 33 | + "Programming Language :: Python :: 3.10", |
| 34 | + "Programming Language :: Python :: 3.11", |
| 35 | + "Programming Language :: Python :: Implementation :: CPython", |
| 36 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 37 | + "Topic :: Software Development :: Testing", |
| 38 | +] |
| 39 | +dependencies = [ |
| 40 | + "pytest>=7.0.0", |
| 41 | +] |
| 42 | +[project.optional-dependencies] |
| 43 | +docs = [ |
| 44 | + "sphinx", |
| 45 | + "sphinx_rtd_theme", |
| 46 | +] |
| 47 | +testing = [ |
| 48 | + "Django", |
| 49 | + "django-configurations>=2.0", |
| 50 | +] |
| 51 | +[project.urls] |
| 52 | +Documentation = "https://pytest-django.readthedocs.io/" |
| 53 | +Repository = "https://github.com/pytest-dev/pytest-django" |
| 54 | +Changelog = "https://pytest-django.readthedocs.io/en/latest/changelog.html" |
| 55 | +[project.entry-points.pytest11] |
| 56 | +django = "pytest_django.plugin" |
| 57 | + |
| 58 | +[tool.setuptools] |
| 59 | +packages = ["pytest_django"] |
| 60 | +[tool.setuptools.package-data] |
| 61 | +pytest_django = ["py.typed"] |
| 62 | + |
9 | 63 | [tool.setuptools_scm]
|
10 | 64 | write_to = "pytest_django/_version.py"
|
11 | 65 |
|
@@ -55,7 +109,6 @@ exclude_lines = [
|
55 | 109 | ]
|
56 | 110 |
|
57 | 111 | [tool.ruff]
|
58 |
| -target-version = "py38" |
59 | 112 | line-length = 99
|
60 | 113 | extend-exclude = [
|
61 | 114 | "pytest_django/_version.py",
|
|
0 commit comments