py-mod.mk: Support PY_INIT_SUBMODULES #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260617-py-mod-mk-support-py-init-submodules"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
py-mod.mk: Support PY_INIT_SUBMODULES
Add support for
PY_INIT_SUBMODULEStopy-mod.mk. If it is defined in a Makefile including py-mod.mk, the listed submodules will be added to__init__.pyand thus included in the list of things that can be imported from a module.This commit also adds support for
--submodulestopython-tools.shfor that to happen.