Reorganize sources; add lib/graphics and dual publish - #9
Merged
Conversation
Match the MicroPython-style usermod layout used by sibling usdl2: build glue stays at the repo root for USER_C_MODULES discovery, headers live under include/, sources under src/, and smoke/parity scripts under tests/.
Update pinned source links after the include/src move so Pages and verify-site.mjs resolve existing files at the documented commit.
Re-run the Sourcey generator so immutable source links match HEAD after the layout move and prior reference regenerate.
Keep wheels, eggs, object files, and VERSION out of the tree; drop the redundant graphics_cmod.egg-info entry covered by *.egg-info/.
Move the Python package to lib/graphics/ (including framebuf.py), document native + Python products, and publish graphics-py / MIP alongside graphics-cmod on the same vX.Y.Z tag. Font C headers sync from lib/graphics/_font_8x*.py.
3 tasks
lib/pyproject.toml lets CI/consumers pip-install the pure-Python package without a sibling checkout. Port graphics-focused tests from pydisplay.
bdbarnett
marked this pull request as ready for review
July 26, 2026 12:33
Contributor
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
include/,src/(C),tests/lib/graphics/(incl.framebuf.py)graphics-cmod) and Python (graphics-py)vX.Y.Zpublishes both viapublish-testpypi.yml+publish-micropython-lib.yml(MIP →micropython/graphics/)Test plan
tests/test_*.pyPYTHONPATH=lib→graphics_pythonnpm run check --prefix docs