module documentation

Infrastructure to build deterministic wheels

Function build_wheel Build a given wheel based on metadata and write all wheels to the dist folder.
Function _write_platform_wheel_with_wrappers Undocumented
Function _write_wheel Undocumented
def build_wheel(wheel_meta: Wheel, dist_folder: Path) -> Generator[WheelPlatformBuildResult, None, None]:

Build a given wheel based on metadata and write all wheels to the dist folder.

As this is a generator, make sure to consume all results to ensure all wheels are built properly.

Parameters
wheel_meta:WheelMetadata about wheel, used to construct the wheel archive for each platform.
dist_folder:PathPath where all wheel files will be created
Returns
Generator[WheelPlatformBuildResult, None, None]Yields for each generated platform wheel
def _write_platform_wheel_with_wrappers(out_dir: str, wheel_info: Wheel, platform: WheelPlatformIdentifier, source: WheelSource):

Undocumented

def _write_wheel(out_dir: str, wheel: Wheel, tag: str, metadata: dict, wheel_file_entries: list[WheelFileEntry]):

Undocumented