Skip to content

Commit 588477e

Browse files
committed
define fancy-pypi-readme fragments as regular array
1 parent b413b4e commit 588477e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,13 @@ remote_addr = "cone.app:make_remote_addr_middleware"
6767

6868
[tool.hatch.metadata.hooks.fancy-pypi-readme]
6969
content-type = "text/x-rst"
70-
71-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
72-
path = "README.rst"
73-
74-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
75-
path = "CHANGES.rst"
76-
77-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
78-
path = "LICENSE.rst"
70+
fragments = [
71+
{path = "README.rst"},
72+
{text = "\n\n"},
73+
{path = "CHANGES.rst"},
74+
{text = "\n\n"},
75+
{path = "LICENSE.rst"},
76+
]
7977

8078
[tool.hatch.build.targets.sdist]
8179
exclude = [

0 commit comments

Comments
 (0)