|
1 | 1 | [build-system]
|
2 | 2 | requires = [
|
3 |
| - "setuptools>=45.0", |
| 3 | + "setuptools>=61.2", |
4 | 4 | "setuptools-scm[toml]>=6.2.3",
|
5 |
| - "wheel", |
6 | 5 | ]
|
7 | 6 | build-backend = "setuptools.build_meta"
|
8 | 7 |
|
| 8 | +[project] |
| 9 | +name = "pytest-xdist" |
| 10 | +description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" |
| 11 | +readme = "README.rst" |
| 12 | +license = {file="LICENSE"} |
| 13 | +authors = [{ name = "holger krekel and contributors", email = "[email protected]"}, { email = "[email protected]"}] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "Framework :: Pytest", |
| 17 | + "Intended Audience :: Developers", |
| 18 | + "License :: OSI Approved :: MIT License", |
| 19 | + "Operating System :: POSIX", |
| 20 | + "Operating System :: Microsoft :: Windows", |
| 21 | + "Operating System :: MacOS :: MacOS X", |
| 22 | + "Topic :: Software Development :: Testing", |
| 23 | + "Topic :: Software Development :: Quality Assurance", |
| 24 | + "Topic :: Utilities", |
| 25 | + "Programming Language :: Python", |
| 26 | + "Programming Language :: Python :: 3", |
| 27 | + "Programming Language :: Python :: 3 :: Only", |
| 28 | + "Programming Language :: Python :: 3.7", |
| 29 | + "Programming Language :: Python :: 3.8", |
| 30 | + "Programming Language :: Python :: 3.9", |
| 31 | + "Programming Language :: Python :: 3.10", |
| 32 | + "Programming Language :: Python :: 3.11", |
| 33 | + "Programming Language :: Python :: 3.12", |
| 34 | +] |
| 35 | +requires-python = ">=3.7" |
| 36 | +dependencies = [ |
| 37 | + "execnet>=1.1", |
| 38 | + "pytest>=6.2.0", |
| 39 | +] |
| 40 | +dynamic = ["version"] |
| 41 | + |
| 42 | +[project.urls] |
| 43 | +Homepage = "https://github.com/pytest-dev/pytest-xdist" |
| 44 | +Documentation = "https://pytest-xdist.readthedocs.io/en/latest" |
| 45 | +Changelog = "https://pytest-xdist.readthedocs.io/en/latest/changelog.html" |
| 46 | +Source = "https://github.com/pytest-dev/pytest-xdist" |
| 47 | +Tracker = "https://github.com/pytest-dev/pytest-xdist/issues" |
| 48 | + |
| 49 | +[project.entry-points.pytest11] |
| 50 | +xdist = "xdist.plugin" |
| 51 | +"xdist.looponfail" = "xdist.looponfail" |
| 52 | + |
| 53 | +[project.optional-dependencies] |
| 54 | +testing = ["filelock"] |
| 55 | +psutil = ["psutil>=3.0"] |
| 56 | +setproctitle = ["setproctitle"] |
| 57 | + |
| 58 | +[tool.setuptools] |
| 59 | +zip-safe = false |
| 60 | +platforms = [ |
| 61 | + "linux", |
| 62 | + "osx", |
| 63 | + "win32", |
| 64 | +] |
| 65 | +include-package-data = false |
| 66 | + |
9 | 67 | [tool.setuptools_scm]
|
10 | 68 | write_to = "src/xdist/_version.py"
|
11 | 69 |
|
| 70 | +[tool.flake8] |
| 71 | +# Ignore any errors related to formatting, let black worry/fix them. |
| 72 | +ignore = ["E501", "W503", "E203"] |
| 73 | +max-line-length = 100 |
| 74 | + |
| 75 | +[tool.mypy] |
| 76 | +mypy_path = ["src"] |
| 77 | +# TODO: Enable this & fix errors. |
| 78 | +# check_untyped_defs = true |
| 79 | +disallow_any_generics = true |
| 80 | +ignore_missing_imports = true |
| 81 | +no_implicit_optional = true |
| 82 | +show_error_codes = true |
| 83 | +strict_equality = true |
| 84 | +warn_redundant_casts = true |
| 85 | +warn_return_any = true |
| 86 | +warn_unreachable = true |
| 87 | +warn_unused_configs = true |
| 88 | +# TODO: Enable this & fix errors. |
| 89 | +# no_implicit_reexport = true |
| 90 | + |
| 91 | + |
12 | 92 | [tool.towncrier]
|
13 | 93 | package = "xdist"
|
14 | 94 | filename = "CHANGELOG.rst"
|
|
0 commit comments