e3_build_tools.builder¶
Core objects for building e3 modules.
Attributes¶
Classes¶
Class for building e3 modules. |
Module Contents¶
- class e3_build_tools.builder.Builder(build_dir: pathlib.Path, use_ssh: bool = False, jobs: int = 1)[source]¶
Class for building e3 modules.
- build(module: e3_build_tools.module.ModuleSource, target_environment: e3_build_tools.fs.environment.InstalledEnvironment, with_substitutions: Dict[str, Dict[str, str]] | None = None) Tuple[List[Tuple[str, str]], List[Tuple[str, str]]][source]¶
Build all of the versions of a Module.
- Raises:
NotInitialisedError: If module was not initialised. GitCommandError: If clone failed. InvalidGitRepositoryError: If directory exists but is not a git repository.
- static modify_makefiles_in_directory(directory: pathlib.Path, substitutions: Dict[str, Dict[str, str]]) None[source]¶
Apply substitutions.
- static modify_install_path(module: e3_build_tools.module.ModuleSource, *, repo_path: pathlib.Path, install_path: pathlib.Path) None[source]¶
Modify the install path for a module.