Skip to content

Commit cd7e096

Browse files
committed
refactor: migrate setup.cfg to pyproject.toml
1 parent bfd02a1 commit cd7e096

File tree

2 files changed

+52
-46
lines changed

2 files changed

+52
-46
lines changed

pyproject.toml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
[build-system]
22
requires = [
33
"setuptools >= 40.0",
4+
"wheel" # You can include wheel here if you're building wheels
45
]
56
build-backend = "setuptools.build_meta"
7+
8+
9+
[tool.check-manifest]
10+
ignore = [".pre-commit-config.yaml"]
11+
12+
13+
[project]
14+
name = "pytest-rerunfailures"
15+
version = "13.1.dev0"
16+
description = "pytest plugin to re-run tests to eliminate flaky failures"
17+
authors = [{name = "Leah Klearman", email = "lklrmn@gmail.com"}]
18+
readme = ["HEADER.rst", "README.rst", "CHANGES.rst"]
19+
keywords = ["py.test", "pytest", "rerun", "failures", "flaky"]
20+
license = {text = "Mozilla Public License 2.0 (MPL 2.0)"}
21+
requires-python = ">=3.7"
22+
classifiers = [
23+
"Development Status :: 5 - Production/Stable",
24+
"Framework :: Pytest",
25+
"Intended Audience :: Developers",
26+
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
27+
"Operating System :: POSIX",
28+
"Operating System :: Microsoft :: Windows",
29+
"Operating System :: MacOS :: MacOS X",
30+
"Topic :: Software Development :: Quality Assurance",
31+
"Topic :: Software Development :: Testing",
32+
"Topic :: Utilities",
33+
"Programming Language :: Python :: 3",
34+
"Programming Language :: Python :: 3.7",
35+
"Programming Language :: Python :: 3.8",
36+
"Programming Language :: Python :: 3.9",
37+
"Programming Language :: Python :: 3.10",
38+
"Programming Language :: Python :: 3.11",
39+
"Programming Language :: Python :: 3.12",
40+
"Programming Language :: Python :: 3 :: Only",
41+
"Programming Language :: Python :: Implementation :: CPython",
42+
"Programming Language :: Python :: Implementation :: PyPy",
43+
]
44+
urls = {Homepage = "https://github.com/pytest-dev/pytest-rerunfailures"}
45+
46+
[project.optional-dependencies]
47+
py37 = ["importlib-metadata>=1"]
48+
49+
[project.scripts]
50+
pytest-rerunfailures = "pytest_rerunfailures:main"
51+
52+
[project.dependencies]
53+
requires-python = ">=3.7"
54+
dependencies = [
55+
"packaging >= 17.1",
56+
"pytest >= 7",
57+
]

setup.cfg

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)