59def build_wheel_legacy(
63 global_options: List[str],
64 build_options: List[str],
67 """Build one unpacked package using the "legacy" build process.
69 Returns path to wheel if successfully built. Otherwise, returns None.
71 wheel_args = make_setuptools_bdist_wheel_args(
73 global_options=global_options,
74 build_options=build_options,
75 destination_dir=tempd,
78 spin_message = f
"Building wheel for {name} (setup.py)"
79 with open_spinner(spin_message)
as spinner:
83 output = call_subprocess(
85 command_desc=
"python setup.py bdist_wheel",
99 command_args=wheel_args,
100 command_output=output,