HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/site-packages/pip/_internal/distributions/__pycache__/base.cpython-37.pyc
B

L��g��@sPddlZddlmZddlmZddlmZddlmZGdd�dej	d�Z
dS)	�N)�Optional)�
PackageFinder)�BaseDistribution)�InstallRequirementcsneZdZdZedd��fdd�Zejee	d�dd��Z
ejed�d	d
��Z
ejeeedd�dd
��Z�ZS)�AbstractDistributiona�A base class for handling installable artifacts.

    The requirements for anything installable are as follows:

     - we must be able to determine the requirement name
       (or we can't correctly handle the non-upgrade case).

     - for packages with setup requirements, we must also be able
       to determine their requirements without installing additional
       packages (for the same reason as run-time dependencies)

     - we must be able to create a Distribution object exposing the
       above metadata.

     - if we need to do work in the build tracker, we must be able to generate a unique
       string to identify the requirement in the build tracker.
    N)�req�returncst���||_dS)N)�super�__init__r)�selfr)�	__class__��D/tmp/pip-unpacked-wheel-hv55ucu3/pip/_internal/distributions/base.pyr
s
zAbstractDistribution.__init__)rcCs
t��dS)z�A string that uniquely identifies this requirement to the build tracker.

        If None, then this dist has no work to do in the build tracker, and
        ``.prepare_distribution_metadata()`` will not be called.N)�NotImplementedError)rr
r
r�build_tracker_id sz%AbstractDistribution.build_tracker_idcCs
t��dS)N)r)rr
r
r�get_metadata_distribution(sz.AbstractDistribution.get_metadata_distribution)�finder�build_isolation�check_build_depsrcCs
t��dS)N)r)rrrrr
r
r�prepare_distribution_metadata,sz2AbstractDistribution.prepare_distribution_metadata)�__name__�
__module__�__qualname__�__doc__rr
�abc�abstractpropertyr�strr�abstractmethodrrr�boolr�
__classcell__r
r
)rrr	sr)�	metaclass)r�typingr�"pip._internal.index.package_finderrZpip._internal.metadata.baserZpip._internal.reqr�ABCMetarr
r
r
r�<module>s