a
    SicŒ  ã                   @   sL   d dl mZ d dlmZ d dlmZ d dlmZmZm	Z	 G dd„ deƒZ
dS )é    )Úcanonicalize_name)ÚAbstractDistribution)ÚPackageFinder)ÚBaseDistributionÚFilesystemWheelÚget_wheel_distributionc                   @   s2   e Zd ZdZedœdd„Zeeeddœdd„ZdS )	ÚWheelDistributionzqRepresents a wheel distribution.

    This does not need any preparation as wheels can be directly unpacked.
    )Úreturnc                 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   )ÚselfÚwheel© r   ú]/var/www/html/django/DPS/env/lib/python3.9/site-packages/pip/_internal/distributions/wheel.pyÚget_metadata_distribution   s    z+WheelDistribution.get_metadata_distributionN)ÚfinderÚbuild_isolationÚcheck_build_depsr	   c                 C   s   d S )Nr   )r   r   r   r   r   r   r   Úprepare_distribution_metadata   s    z/WheelDistribution.prepare_distribution_metadata)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Úboolr   r   r   r   r   r      s   ûr   N)Úpip._vendor.packaging.utilsr   Ú pip._internal.distributions.baser   Ú"pip._internal.index.package_finderr   Úpip._internal.metadatar   r   r   r   r   r   r   r   Ú<module>   s   