Skip to content

Commit 8e4b5fe

Browse files
committed
define fancy-pypi-readme fragments as regular array
1 parent 7780588 commit 8e4b5fe

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
@@ -37,15 +37,13 @@ example = "yafowil.widget.slider.example:get_example"
3737

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

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

0 commit comments

Comments
 (0)