ocebuild.pipeline.build
#
Methods for handling and manipulating the build configuration.
Module Contents#
Functions#
|
Read the build configuration from the specified build file. |
|
Unpacks the build entries from the build configuration. |
- ocebuild.pipeline.build.read_build_file(filepath: str, normalize_entries: bool = True) Tuple[dict, dict, List[str]] [source]#
Read the build configuration from the specified build file.
- Parameters:
filepath – The path to the build file.
normalize_entries – Whether to normalize the entries in the build file.
- Returns:
The build configuration.
The build variables.
The build flags.
- Return type:
A tuple containing
- ocebuild.pipeline.build.unpack_build_entries(resolvers: List[dict], project_dir: ocebuild.third_party.cpython.pathlib.Path, *args, __wrapper: Iterator | None = None, **kwargs) dict [source]#
Unpacks the build entries from the build configuration.