o
    ¨ZŽhT  ã                   @  sh   d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	m
Z
mZ er*d dlmZ G dd„ deƒZd	S )
é    )Úannotations)ÚTYPE_CHECKING)Úcanonicalize_name)ÚAbstractDistribution)ÚBaseDistributionÚFilesystemWheelÚget_wheel_distribution)ÚBuildEnvironmentInstallerc                   @  s2   e Zd ZdZeddd„ƒZddd„Zddd„ZdS )ÚWheelDistributionzqRepresents a wheel distribution.

    This does not need any preparation as wheels can be directly unpacked.
    Úreturnú
str | Nonec                 C  ó   d S ©N© )Úselfr   r   úP/var/www/auris/lib/python3.10/site-packages/pip/_internal/distributions/wheel.pyÚbuild_tracker_id   s   z"WheelDistribution.build_tracker_idr   c                 C  s>   | j jsJ dƒ‚| j jsJ dƒ‚t| j jƒ}t|t| j jƒƒS )z¢Loads the metadata from the wheel file into memory and returns a
        Distribution that uses it, not relying on the wheel file or
        requirement.
        z*Set as part of preparation during downloadzWheels are never unnamed)ÚreqÚlocal_file_pathÚnamer   r   r   )r   Úwheelr   r   r   Úget_metadata_distribution   s   z+WheelDistribution.get_metadata_distributionÚbuild_env_installerr	   Úbuild_isolationÚboolÚcheck_build_depsÚNonec                 C  r   r   r   )r   r   r   r   r   r   r   Úprepare_distribution_metadata&   s   z/WheelDistribution.prepare_distribution_metadataN)r   r   )r   r   )r   r	   r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   r   r   r   r   r   r   r
      s    

r
   N)Ú
__future__r   Útypingr   Zpip._vendor.packaging.utilsr   Ú pip._internal.distributions.baser   Úpip._internal.metadatar   r   r   Úpip._internal.build_envr	   r
   r   r   r   r   Ú<module>   s    