GRAYBYTE WORDPRESS FILE MANAGER5792

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python38/lib/python3.8/site-packages/pip/_internal/operations/build/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


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

from pip._vendor.pep517.wrappers import HookMissing, Pep517HookCaller

from pip._internal.utils.subprocess import runner_with_spinner_message

logger = logging.getLogger(__name__)


def build_wheel_editable(
    name: str,
    backend: Pep517HookCaller,
    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)

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:49:50
root / linksafe
0755
__pycache__
--
March 03 2024 22:49:50
root / linksafe
0755
__init__.py
0 KB
November 13 2023 21:40:26
root / linksafe
0644
build_tracker.py
4.036 KB
November 13 2023 21:40:26
root / linksafe
0644
metadata.py
1.371 KB
November 13 2023 21:40:26
root / linksafe
0644
metadata_editable.py
1.422 KB
November 13 2023 21:40:26
root / linksafe
0644
metadata_legacy.py
2.146 KB
November 13 2023 21:40:26
root / linksafe
0644
wheel.py
1.038 KB
November 13 2023 21:40:26
root / linksafe
0644
wheel_editable.py
1.372 KB
November 13 2023 21:40:26
root / linksafe
0644
wheel_legacy.py
2.992 KB
November 13 2023 21:40:26
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF