stubber.variants
¶
Create all variants of createstubs.py - and minify them - and cross compile them
Module Contents¶
Functions¶
|
Create variants of createstubs.py and optionally minify and cross compile them. |
Attributes¶
- stubber.variants.ALL_VARIANTS¶
- stubber.variants.create_variants(base_path: pathlib.Path, *, target_path: Optional[pathlib.Path] = None, version: str = '', make_variants: List[stubber.codemod.board.CreateStubsVariant] = ALL_VARIANTS[:3], update_modules: bool = True)¶
Create variants of createstubs.py and optionally minify and cross compile them.
- Parameters:
base_path (Path) – Path to the base createstubs.py file
target_path (Path, optional) – Path to write the variants to, by default None
version (str, optional) – Version of mpy-cross to use, by default uses the latest version
make_variants (List[stubber.codemod.board.CreateStubsVariant]) –
update_modules (bool) –
- stubber.variants.base_path¶