$67 GRAYBYTE WORDPRESS FILE MANAGER $20

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/operations/build/

HOME
Current File : /opt/alt/python313/lib/python3.13/site-packages/pip/_internal/operations/build//wheel_editable.py
import logging
import os
from typing import Optional

from pip._vendor.pyproject_hooks import BuildBackendHookCaller, HookMissing

from pip._internal.utils.subprocess import runner_with_spinner_message

logger = logging.getLogger(__name__)


def build_wheel_editable(
    name: str,
    backend: BuildBackendHookCaller,
    metadata_directory: str,
    tempd: str,
) -> Optional[str]:
    """Build one InstallRequirement using the PEP 660 build process.

    Returns path to wheel if successfully built. Otherwise, returns None.
    """
    assert metadata_directory is not None
    try:
        logger.debug("Destination directory: %s", tempd)

        runner = runner_with_spinner_message(
            f"Building editable for {name} (pyproject.toml)"
        )
        with backend.subprocess_runner(runner):
            try:
                wheel_name = backend.build_editable(
                    tempd,
                    metadata_directory=metadata_directory,
                )
            except HookMissing as e:
                logger.error(
                    "Cannot build editable %s because the build "
                    "backend does not have the %s hook",
                    name,
                    e,
                )
                return None
    except Exception:
        logger.error("Failed building editable for %s", name)
        return None
    return os.path.join(tempd, wheel_name)


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.37 AM
root / linksafe
0755
__pycache__
--
10 Feb 2026 9.37 AM
root / linksafe
0755
__init__.py
0 KB
10 Jan 2026 11.03 AM
root / linksafe
0644
build_tracker.py
4.719 KB
10 Jan 2026 11.03 AM
root / linksafe
0644
metadata.py
1.389 KB
10 Jan 2026 11.03 AM
root / linksafe
0644
metadata_editable.py
1.439 KB
10 Jan 2026 11.03 AM
root / linksafe
0644
metadata_legacy.py
2.146 KB
10 Jan 2026 11.03 AM
root / linksafe
0644
wheel.py
1.05 KB
10 Jan 2026 11.03 AM
root / linksafe
0644
wheel_editable.py
1.384 KB
10 Jan 2026 11.03 AM
root / linksafe
0644
wheel_legacy.py
2.992 KB
10 Jan 2026 11.03 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF