Skip to content

Commit 53d0d31

Browse files
cpsievertclaude
andcommitted
refactor: Simplify glob patterns in pyproject.toml
Simplify package-data wildcards from redundant patterns to cleaner syntax: - "www/**/*" → "www/**" - "templates/**/*" → "templates/**" - "api-examples/**/*" → "api-examples/**" The `**` glob pattern already matches all files and subdirectories recursively, making the `/*` suffix redundant. Verified that the wheel still: - Includes 662 www/templates files - Excludes all api-examples files - Maintains same 3.6MB size 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent b6197f4 commit 53d0d31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ include = ["shiny*"]
99
namespaces = false
1010

1111
[tool.setuptools.package-data]
12-
"*" = ["www/**/*", "templates/**/*"]
12+
"*" = ["www/**", "templates/**"]
1313

1414
[tool.setuptools.exclude-package-data]
15-
"*" = ["api-examples/**", "api-examples/**/*"]
15+
"*" = ["api-examples/**"]
1616

1717
[tool.setuptools_scm]
1818
write_to = "shiny/_version.py"

0 commit comments

Comments
 (0)