U
    +|jµ  ã                   @   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                   @   s    e Zd ZdZdd„ Zdd„ ZdS )ÚWheelDistributionzqRepresents a wheel distribution.

    This does not need any preparation as wheels can be directly unpacked.
    c              
   C   sT   | j jst‚| j jst‚t| j jdd��"}t|| j j| j jƒW  5 Q R £ S Q R X 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ÚAssertionErrorÚnamer   r   )ÚselfÚz© r   úiC:\Users\snmko\Desktop\web_content\django_cbt\venv\Lib\site-packages\pip/_internal/distributions/wheel.pyÚget_pkg_resources_distribution   s      ÿz0WheelDistribution.get_pkg_resources_distributionc                 C   s   d S )Nr   )r   ÚfinderÚbuild_isolationr   r   r   Úprepare_distribution_metadata    s    z/WheelDistribution.prepare_distribution_metadataN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   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
   