Skip to content

Split generator package + packaging polish - #2

Merged
bluesentinelsec merged 1 commit into
mainfrom
feature/split-generator-package
Jul 27, 2026
Merged

Split generator package + packaging polish#2
bluesentinelsec merged 1 commit into
mainfrom
feature/split-generator-package

Conversation

@bluesentinelsec

Copy link
Copy Markdown
Owner

Summary

Second polishing slice after #1:

  • Split the ~3.4k-line generator.py into cppboot.generate.* modules (cmake, build wrappers, docs, IDE, GHA, sources, tooling, orchestration)
  • Stable API: from cppboot.generator import ProjectOptions, generate_project (and top-level cppboot re-exports) unchanged
  • Packaging: root LICENSE (Apache-2.0), CHANGELOG.md, py.typed, README package layout section
  • Tests: +4 layout/import tests (52 total, all green locally)

Test plan

  • python -m pytest -q → 52 passed
  • CI green on this PR
  • Spot-check import: from cppboot import generate_project, ProjectOptions

Notes

  • No intentional scaffold behavior changes
  • Next slices could add ruff/mypy and prepare a PyPI release workflow

Move template/tooling/orchestration out of the monolithic generator.py
into cppboot.generate while keeping cppboot.generator as a stable facade.
Add LICENSE, CHANGELOG, py.typed, public re-exports, and layout tests.
@bluesentinelsec
bluesentinelsec merged commit b928019 into main Jul 27, 2026
6 checks passed
@bluesentinelsec
bluesentinelsec deleted the feature/split-generator-package branch July 27, 2026 16:25
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