o
    ?i                     @   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                   @   s8   e Zd ZdZdefddZde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 d| j jsJ dt| j j}t|t| j j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.
        z*Set as part of preparation during downloadzWheels are never unnamed)reqlocal_file_pathnamer   r   r   )selfwheel r   p/var/www/html/eduruby.in/lip-sync/lip-sync-env/lib/python3.10/site-packages/pip/_internal/distributions/wheel.pyget_metadata_distribution   s   z+WheelDistribution.get_metadata_distributionfinderbuild_isolationcheck_build_depsNc                 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)Z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
    