12def build_wheel_editable(
14 backend: BuildBackendHookCaller,
15 metadata_directory: str,
18 """Build one InstallRequirement using the PEP 660 build process.
20 Returns path to wheel if successfully built. Otherwise, returns None.
22 assert metadata_directory
is not None
26 runner = runner_with_spinner_message(
27 f
"Building editable for {name} (pyproject.toml)"
33 metadata_directory=metadata_directory,
35 except HookMissing
as e:
37 "Cannot build editable %s because the build "
38 "backend does not have the %s hook",