API reference
python:arx:arx.native_packages.prepare_module
function prepare_module
prepare_module(module: astx.Module, key: str, origin: Path, *, manifest: Path | None = None, owner: str | None = None, package_name: str | None = None, source_root: Path | None = None) -> ParsedModule
Source: packages/arx/src/arx/native_packages.py:95
Attach native capabilities only to a module's actual package origin.
Parameters
-
module — Module to process.; Type: astx.Module
-
key — Key selecting the entry.; Type: str
-
origin — Origin.; Type: Path
-
manifest — Manifest.; Type: Path | None
-
owner — Owner keeping the resource alive.; Type: str | None
-
package_name — Name of package.; Type: str | None
-
source_root — Source root.; Type: Path | None
Returns
Result of this operation: attach native capabilities only to a module's actual package origin.; Type: ParsedModule