Skip to content

Commit 2931f08

Browse files
committed
define fancy-pypi-readme fragments as regular array
1 parent e0aa286 commit 2931f08

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
@@ -38,15 +38,13 @@ Homepage = "http://github.com/conestack/node.ext.fs"
3838

3939
[tool.hatch.metadata.hooks.fancy-pypi-readme]
4040
content-type = "text/x-rst"
41-
42-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
43-
path = "README.rst"
44-
45-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
46-
path = "CHANGES.rst"
47-
48-
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
49-
path = "LICENSE.rst"
41+
fragments = [
42+
{path = "README.rst"},
43+
{text = "\n\n"},
44+
{path = "CHANGES.rst"},
45+
{text = "\n\n"},
46+
{path = "LICENSE.rst"},
47+
]
5048

5149
[tool.hatch.build.targets.sdist]
5250
exclude = [

0 commit comments

Comments
 (0)