SILENT KILLERPanel

Current Path: > > opt > alt > python311 > lib > python3.11 > site-packages > pip > _internal > distributions


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python311/lib/python3.11/site-packages/pip/_internal/distributions

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 858 bytes November 13 2023 22:00:31.
base.py File 1172 bytes November 13 2023 22:00:31.
installed.py File 767 bytes November 13 2023 22:00:31.
sdist.py File 5598 bytes November 13 2023 22:00:31.
wheel.py File 1115 bytes November 13 2023 22:00:31.

Reading File: //opt/alt/python311/lib/python3.11/site-packages/pip/_internal/distributions/wheel.py

from pip._vendor.packaging.utils import canonicalize_name

from pip._internal.distributions.base import AbstractDistribution
from pip._internal.index.package_finder import PackageFinder
from pip._internal.metadata import (
    BaseDistribution,
    FilesystemWheel,
    get_wheel_distribution,
)


class WheelDistribution(AbstractDistribution):
    """Represents a wheel distribution.

    This does not need any preparation as wheels can be directly unpacked.
    """

    def get_metadata_distribution(self) -> BaseDistribution:
        """Loads the metadata from the wheel file into memory and returns a
        Distribution that uses it, not relying on the wheel file or
        requirement.
        """
        assert self.req.local_file_path, "Set as part of preparation during download"
        assert self.req.name, "Wheels are never unnamed"
        wheel = FilesystemWheel(self.req.local_file_path)
        return get_wheel_distribution(wheel, canonicalize_name(self.req.name))

    def prepare_distribution_metadata(
        self, finder: PackageFinder, build_isolation: bool
    ) -> None:
        pass

SILENT KILLER Tool