fix: simplify wheel build configuration to prevent ZIP archive errors

- Remove redundant include patterns that were causing mis-matched data size
- Keep only plugins/** patterns in wheel.include
- Packages in src/ are automatically included by hatchling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
mithun50 2025-11-14 14:22:48 +01:00
parent fd8c67f6f0
commit 9ca4849402

View File

@ -67,27 +67,13 @@ superclaude = "superclaude.cli.main:main"
superclaude = "superclaude.pytest_plugin" superclaude = "superclaude.pytest_plugin"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["src/superclaude", "plugins/superclaude"] packages = ["src/superclaude"]
include = [ include = [
"src/superclaude/**/*.py", "plugins/**/*.py",
"src/superclaude/skills/**/*.md", "plugins/**/*.md",
"src/superclaude/skills/**/*.ts", "plugins/**/*.ts",
"src/superclaude/skills/**/*.json", "plugins/**/*.json",
"src/superclaude/commands/**/*.md", "plugins/**/*.sh",
"src/superclaude/agents/**/*.md",
"src/superclaude/modes/**/*.md",
"src/superclaude/mcp/**/*.md",
"src/superclaude/mcp/**/*.json",
"src/superclaude/core/**/*.md",
"src/superclaude/examples/**/*.md",
"src/superclaude/hooks/**/*.json",
"src/superclaude/scripts/**/*.py",
"src/superclaude/scripts/**/*.sh",
"plugins/superclaude/**/*.py",
"plugins/superclaude/**/*.md",
"plugins/superclaude/**/*.ts",
"plugins/superclaude/**/*.json",
"plugins/superclaude/**/*.sh",
] ]
[tool.hatch.build.targets.sdist] [tool.hatch.build.targets.sdist]