o
    {ŸŽiÁ  ã                   @   sP   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	 G dd„ deƒZ
dS )	é    )ÚZipFile)ÚDistribution)ÚAbstractDistribution)ÚPackageFinder)Ú$pkg_resources_distribution_for_wheelc                   @   s4   e Zd ZdZdefdd„Zdededdf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 ‚| j jsJ ‚t| j jdd��}t|| j j| j jƒW  d  ƒ S 1 s)w   Y  d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.
        T)Ú
allowZip64N)ÚreqÚlocal_file_pathÚnamer   r   )ÚselfÚz© r   úkC:\Users\psant\Downloads\Anu Raj Backend\school\venv\Lib\site-packages\pip/_internal/distributions/wheel.pyÚget_pkg_resources_distribution   s   ÿ$ÿz0WheelDistribution.get_pkg_resources_distributionÚfinderÚbuild_isolationNc                 C   s   d S )Nr   )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)Úzipfiler   Úpip._vendor.pkg_resourcesr   Ú pip._internal.distributions.baser   Ú"pip._internal.index.package_finderr   Úpip._internal.utils.wheelr   r   r   r   r   r   Ú<module>   s    