o
    ÝÅ[hJ  ã                   @   sD   d dl mZ d dlmZ d dlmZ d dlmZ G dd„ deƒZdS )é    )ÚOptional)ÚAbstractDistribution)ÚPackageFinder)ÚBaseDistributionc                   @   sN   e Zd ZdZedee fdd„ƒZdefdd„Z	de
ded	edd
fdd„Zd
S )ÚInstalledDistributionzˆRepresents an installed package.

    This does not need any preparation as the required information has already
    been computed.
    Úreturnc                 C   ó   d S ©N© ©Úselfr
   r
   úŒ/home/ubuntu/experiments/live_experiments/Pythonexperiments/Otree/venv/lib/python3.10/site-packages/pip/_internal/distributions/installed.pyÚbuild_tracker_id   s   z&InstalledDistribution.build_tracker_idc                 C   s   | j jd us
J dƒ‚| j jS )Nznot actually installed)ÚreqÚsatisfied_byr   r
   r
   r   Úget_metadata_distribution   s   z/InstalledDistribution.get_metadata_distributionÚfinderÚbuild_isolationÚcheck_build_depsNc                 C   r   r	   r
   )r   r   r   r   r
   r
   r   Úprepare_distribution_metadata   s   z3InstalledDistribution.prepare_distribution_metadata)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   Ústrr   r   r   r   Úboolr   r
   r
   r
   r   r      s    þýüûr   N)	Útypingr   Ú pip._internal.distributions.baser   Ú"pip._internal.index.package_finderr   Úpip._internal.metadatar   r   r
   r
   r
   r   Ú<module>   s
    