def print_preamble(platform: str, build_options: BuildOptions) -> None: print(textwrap.dedent(''' _ _ _ _ _ _ _ ___|_| |_ _ _|_| |_| |_ _ _| |_ ___ ___| | | _| | . | | | | | . | | | | | -_| -_| | |___|_|___|___|_|_|___|_____|_|_|___|___|_| ''')) print(f'cibuildwheel version {cibuildwheel.__version__}\n') print('Build options:') print(f' platform: {platform!r}') for option, value in sorted(build_options._asdict().items()): print(f' {option}: {value!r}') warnings = detect_warnings(platform, build_options) if warnings: print('\nWarnings:') for warning in warnings: print(' ' + warning) print('\nHere we go!\n')
def print_preamble(platform: str, build_options: BuildOptions) -> None: print( textwrap.dedent(""" _ _ _ _ _ _ _ ___|_| |_ _ _|_| |_| |_ _ _| |_ ___ ___| | | _| | . | | | | | . | | | | | -_| -_| | |___|_|___|___|_|_|___|_____|_|_|___|___|_| """)) print(f"cibuildwheel version {cibuildwheel.__version__}\n") print("Build options:") print(f" platform: {platform!r}") for option, value in sorted(build_options._asdict().items()): print(f" {option}: {value!r}") warnings = detect_warnings(platform, build_options) if warnings: print("\nWarnings:") for warning in warnings: print(" " + warning) print("\nHere we go!\n")