SILENT KILLERPanel

Current Path: > > opt > alt > > python313 > lib > > python3.13 > > 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//python313/lib//python3.13//site-packages/pip/_internal/distributions

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 858 bytes December 01 2024 12:47:36.
base.py File 1743 bytes December 01 2024 12:47:36.
installed.py File 842 bytes December 01 2024 12:47:36.
sdist.py File 6709 bytes December 01 2024 12:47:36.
wheel.py File 1277 bytes December 01 2024 12:47:36.

Reading File: //opt/alt//python313/lib//python3.13//site-packages/pip/_internal/distributions/__init__.py

from pip._internal.distributions.base import AbstractDistribution
from pip._internal.distributions.sdist import SourceDistribution
from pip._internal.distributions.wheel import WheelDistribution
from pip._internal.req.req_install import InstallRequirement


def make_distribution_for_install_requirement(
    install_req: InstallRequirement,
) -> AbstractDistribution:
    """Returns a Distribution for the given InstallRequirement"""
    # Editable requirements will always be source distributions. They use the
    # legacy logic until we create a modern standard for them.
    if install_req.editable:
        return SourceDistribution(install_req)

    # If it's a wheel, it's a WheelDistribution
    if install_req.is_wheel:
        return WheelDistribution(install_req)

    # Otherwise, a SourceDistribution
    return SourceDistribution(install_req)

SILENT KILLER Tool