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 )zLoads 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   t/home/www/bk.finsightngr.online/finsigh_v2/venv200/lib/python3.10/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    