Skip to content

Commit fa9ce7b

Browse files
committed
define fancy-pypi-readme fragments as regular array
1 parent f3a7627 commit fa9ce7b

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
@@ -53,15 +53,13 @@ Homepage = "http://github.com/conestack/cone.firebase"
5353

5454
[tool.hatch.metadata.hooks.fancy-pypi-readme]
5555
content-type = "text/x-rst"
56-
57-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
58-
path = "README.rst"
59-
60-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
61-
path = "CHANGES.rst"
62-
63-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
64-
path = "LICENSE.rst"
56+
fragments = [
57+
{path = "README.rst"},
58+
{text = "\n\n"},
59+
{path = "CHANGES.rst"},
60+
{text = "\n\n"},
61+
{path = "LICENSE.rst"},
62+
]
6563

6664
[tool.hatch.build.targets.sdist]
6765
exclude = [

0 commit comments

Comments
 (0)