Skip to content

Commit 0f920e1

Browse files
committed
Ensure plugin is included in sdist build
1 parent de8bf4a commit 0f920e1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Funding = "https://donate.getpelican.com/"
4040
[project.optional-dependencies]
4141
markdown = ["markdown>=3.4"]
4242

43+
[tool.pdm]
44+
4345
[tool.pdm.dev-dependencies]
4446
lint = [
4547
"black>=23.10.1",
@@ -53,6 +55,14 @@ test = [
5355
"pytest-sugar>=0.9.7",
5456
]
5557

58+
[tool.pdm.build]
59+
source-includes = [
60+
"CHANGELOG.md",
61+
"CONTRIBUTING.md",
62+
]
63+
includes = ["pelican/"]
64+
excludes = ["tasks.py"]
65+
5666
[tool.autopub]
5767
project-name = "Markdown Include"
5868
git-username = "botpub"

0 commit comments

Comments
 (0)