Skip to content

Commit cf43962

Browse files
cpsievertclaude
andcommitted
refactor: Remove redundant package-data section from pyproject.toml
The `[tool.setuptools.package-data]` section specifying `www/**` and `templates/**` was redundant because MANIFEST.in already includes these with `recursive-include` directives. MANIFEST.in directives are respected by both: - Source distribution builds (sdist) - Binary wheel builds (wheel) Only `exclude-package-data` is needed in pyproject.toml to explicitly exclude api-examples, since MANIFEST.in's `prune` directive alone isn't sufficient for wheel builds. Final configuration is now minimal and clean: - MANIFEST.in handles all includes (www, templates) - pyproject.toml handles only the exclude (api-examples) Verified wheel still contains: - 518 www files - 144 template files - 0 api-examples files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 53d0d31 commit cf43962

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ where = ["."]
88
include = ["shiny*"]
99
namespaces = false
1010

11-
[tool.setuptools.package-data]
12-
"*" = ["www/**", "templates/**"]
13-
1411
[tool.setuptools.exclude-package-data]
1512
"*" = ["api-examples/**"]
1613

0 commit comments

Comments
 (0)