Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
pip._internal.operations.build.wheel Namespace Reference

Functions

Optional[str] build_wheel_pep517 (str name, BuildBackendHookCaller backend, str metadata_directory, str tempd)
 

Variables

 logger = logging.getLogger(__name__)
 

Function Documentation

◆ build_wheel_pep517()

Optional[str] build_wheel_pep517 ( str  name,
BuildBackendHookCaller  backend,
str  metadata_directory,
str  tempd 
)
Build one InstallRequirement using the PEP 517 build process.

Returns path to wheel if successfully built. Otherwise, returns None.

Definition at line 12 of file wheel.py.

17) -> Optional[str]:
18 """Build one InstallRequirement using the PEP 517 build process.
19
20 Returns path to wheel if successfully built. Otherwise, returns None.
21 """
22 assert metadata_directory is not None
23 try:
24 logger.debug("Destination directory: %s", tempd)
25
26 runner = runner_with_spinner_message(
27 f"Building wheel for {name} (pyproject.toml)"
28 )
29 with backend.subprocess_runner(runner):
30 wheel_name = backend.build_wheel(
31 tempd,
32 metadata_directory=metadata_directory,
33 )
34 except Exception:
35 logger.error("Failed building wheel for %s", name)
36 return None
37 return os.path.join(tempd, wheel_name)
for i

References i.

Variable Documentation

◆ logger

logger = logging.getLogger(__name__)

Definition at line 9 of file wheel.py.