Skip to content

build: improve packaging metadata and sdist exclusions - #15

Merged
mehmetkr merged 1 commit into
mainfrom
item-14a-packaging
Nov 29, 2026
Merged

mehmetkr merged 1 commit into
mainfrom
item-14a-packaging

Conversation

@mehmetkr

Copy link
Copy Markdown
Owner

Summary

  • Switch to hatchling dynamic versioning (single source of truth in _version.py)
  • Update classifier from Development Status :: 1 - Planning to 3 - Alpha
  • Add PyPI keywords for discoverability
  • Add Topic :: Software Development :: Libraries :: Python Modules classifier
  • Exclude dev-only files from sdist (.github/, docs/, scripts/, spec/, tests/, uv.lock), reducing size from 164KB to 16KB

Checklist

  • All CI checks pass locally (ruff check, ruff format --check, mypy, pyright, pytest)
  • Commit messages follow Conventional Commits

Test plan

  • Built package locally, verified wheel METADATA contains correct dynamic version, keywords, and classifiers
  • Verified sdist excludes all dev files and contains only distributable files
  • Verified sdist size reduced from 164KB to 16KB
  • All 101 tests pass, all type checkers clean

@mehmetkr
mehmetkr merged commit e79709c into main Nov 29, 2026
7 checks passed
@mehmetkr
mehmetkr deleted the item-14a-packaging branch November 29, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant