Skip to content

Commit 2ba0e5a

Browse files
committed
define fancy-pypi-readme fragments as regular array
1 parent 83130e8 commit 2ba0e5a

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,13 @@ Homepage = "http://github.com/conestack/node"
4343

4444
[tool.hatch.metadata.hooks.fancy-pypi-readme]
4545
content-type = "text/x-rst"
46-
47-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
48-
path = "README.rst"
49-
50-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
51-
path = "CHANGES.rst"
52-
53-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
54-
path = "LICENSE.rst"
46+
fragments = [
47+
{path = "README.rst"},
48+
{text = "\n\n"},
49+
{path = "CHANGES.rst"},
50+
{text = "\n\n"},
51+
{path = "LICENSE.rst"},
52+
]
5553

5654
[tool.hatch.build.targets.sdist]
5755
exclude = [

0 commit comments

Comments
 (0)