SILENT KILLERPanel

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

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 959 bytes November 13 2023 21:24:38.
base.py File 1425 bytes November 13 2023 21:24:38.
installed.py File 760 bytes November 13 2023 21:24:38.
sdist.py File 4086 bytes November 13 2023 21:24:38.
wheel.py File 1294 bytes November 13 2023 21:24:38.

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

from pip._internal.distributions.sdist import SourceDistribution
from pip._internal.distributions.wheel import WheelDistribution
from pip._internal.utils.typing import MYPY_CHECK_RUNNING

if MYPY_CHECK_RUNNING:
    from pip._internal.distributions.base import AbstractDistribution
    from pip._internal.req.req_install import InstallRequirement


def make_distribution_for_install_requirement(install_req):
    # type: (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