Skip to content

Commit 582f422

Browse files
committed
update(packaging): refine data files include mechanism
1 parent ecf4a62 commit 582f422

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,13 @@ testpaths = ["tests"]
165165

166166
# Setuptools configuration
167167
[tool.setuptools]
168-
packages = ["mkdocs_rss_plugin"]
168+
include-package-data = true
169169

170170
[tool.setuptools.package-data]
171-
mkdocs_rss_plugin = ["templates/*.jinja2", "templates/**/*.jinja2"]
171+
mkdocs_rss_plugin = ["templates/*.jinja2"]
172+
173+
[tool.setuptools.packages.find]
174+
where = ["mkdocs_rss_plugin"]
172175

173176
# setuptools-scm configuration
174177
[tool.setuptools_scm]

0 commit comments

Comments
 (0)