Skip to content

Commit cf5e0de

Browse files
committed
dynamic readme
1 parent 26e4972 commit cf5e0de

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
33
requires = [
4-
"setuptools >= 40.0",
4+
"setuptools>=40",
55
]
66

77
[tool.check-manifest]
@@ -11,7 +11,9 @@ ignore = [".pre-commit-config.yaml"]
1111
name = "pytest-rerunfailures"
1212
version = "13.1.dev0"
1313
description = "pytest plugin to re-run tests to eliminate flaky failures"
14-
readme = "README.rst"
14+
dynamic = [
15+
"readme",
16+
]
1517
keywords = [
1618
"failures",
1719
"flaky",
@@ -47,9 +49,12 @@ dependencies = [
4749
"pytest>=7",
4850
]
4951
urls = {Homepage = "https://github.com/pytest-dev/pytest-rerunfailures"}
52+
53+
[tool.setuptools.dynamic]
54+
readme = {file = ["HEADER.rst", "README.rst", "CHANGES.rst"], format = "rst"}
55+
5056
[project.entry-points.pytest11]
5157
rerunfailures = "pytest_rerunfailures"
52-
5358
[tool.ruff]
5459
fix = true
5560
lint.select = [

0 commit comments

Comments
 (0)