
    q"h%                     p    S SK JrJr  S SKJr  S SKJr  S SKJrJ	r	J
r
  \(       a  S SKJr   " S S\5      rg)	    )TYPE_CHECKINGOptional)canonicalize_name)AbstractDistribution)BaseDistributionFilesystemWheelget_wheel_distribution)PackageFinderc                   ^    \ rS rSrSr\S\\   4S j5       rS\	4S jr
SSS\S	\SS
4S jrSrg
)WheelDistribution   ziRepresents a wheel distribution.

This does not need any preparation as wheels can be directly unpacked.
returnc                     g N )selfs    S/var/www/html/env/lib/python3.13/site-packages/pip/_internal/distributions/wheel.pybuild_tracker_id"WheelDistribution.build_tracker_id   s        c                    U R                   R                  (       d   S5       eU R                   R                  (       d   S5       e[        U R                   R                  5      n[	        U[        U R                   R                  5      5      $ )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   )r   wheels     r   get_metadata_distribution+WheelDistribution.get_metadata_distribution   sb    
 xx''U)UU'xx}}888} 8 89%e->txx}}-MNNr   finderr
   build_isolationcheck_build_depsNc                     g r   r   )r   r   r   r    s       r   prepare_distribution_metadata/WheelDistribution.prepare_distribution_metadata$   s     	r   r   )__name__
__module____qualname____firstlineno____doc__propertyr   strr   r   r   boolr"   __static_attributes__r   r   r   r   r      s`    
 (3-  O+; O  	
 
r   r   N)typingr   r   pip._vendor.packaging.utilsr    pip._internal.distributions.baser   pip._internal.metadatar   r   r	   "pip._internal.index.package_finderr
   r   r   r   r   <module>r2      s-    * 9 A  @, r   