Commit d280c6d
chore: optimize package contents for distribution
Configure hatchling to exclude unnecessary files from the source
distribution (sdist). This reduces package size and ensures only
essential files are distributed to users.
Excluded from sdist:
- .github/ - CI/CD workflows and GitHub-specific configs
- tests/ - Test suite (not needed by end users)
- CHANGELOG.md - Auto-generated, tracked in GitHub releases
- AGENTS.md, CLAUDE.md - Developer documentation
- release-please-config.json - Release automation config
- .release-please-manifest.json - Release version tracking
- renovate.json - Dependency update automation
- uv.lock - Development lock file
The wheel (binary) distribution already only includes the necessary
Python code and is unchanged.
Before:
- sdist included ~15 files (tests, .github, configs, etc.)
After:
- sdist includes only 7 essential files (src/, LICENSE, README, pyproject.toml)
- wheel unchanged (still optimal with just Python code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 79fbc2a commit d280c6d
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
48 | 65 | | |
49 | 66 | | |
50 | 67 | | |
| |||
0 commit comments