Skip to content

refactor: Move generate.py to pygobject_stub_generator package#304

Merged
bryanforbes merged 1 commit into
pygobject:masterfrom
bryanforbes:feat/generator-module
May 10, 2026
Merged

refactor: Move generate.py to pygobject_stub_generator package#304
bryanforbes merged 1 commit into
pygobject:masterfrom
bryanforbes:feat/generator-module

Conversation

@bryanforbes
Copy link
Copy Markdown
Collaborator

Split the monolithic tools/generate.py into a proper package under src/pygobject_stub_generator with separate modules for arguments, class info, imports, properties, type vars, and the main stub generator. Update tools/update.py and tools/update_all.py to invoke it via python -m, exclude the package from the installed distribution, and refresh the CONTRIBUTING docs to reflect the new invocation.

Split the monolithic tools/generate.py into a proper package
under src/pygobject_stub_generator with separate modules for
arguments, class info, imports, properties, type vars, and
the main stub generator. Update tools/update.py and
tools/update_all.py to invoke it via `python -m`, exclude the
package from the installed distribution, and refresh the
CONTRIBUTING docs to reflect the new invocation.
@bryanforbes bryanforbes force-pushed the feat/generator-module branch from 335aa70 to 238c02a Compare May 10, 2026 22:12
@bryanforbes bryanforbes merged commit 5fa396c into pygobject:master May 10, 2026
2 checks passed
@bryanforbes bryanforbes deleted the feat/generator-module branch May 10, 2026 22:13
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