+
    VBi1                         R t ^ RIt^ RIHt ^ RIHtHtHt ^ RIH	t	 ^ RI
Ht ^ RIHt ^ RIHt ^ RIHtHtHtHt R	.tR
 R ltR R ltR R ltR# )zCore wheel installation logic.N)BytesIO)DictTuplecast)WheelDestination)InvalidWheelSource)RecordEntry)WheelSource)SCHEME_NAMESSchemeparse_entrypointsparse_metadata_fileinstallc                0    V ^8  d   QhR\         R\        /# )   sourcereturn)r	   r   )formats   "4/usr/lib/python3.14/site-packages/installer/_core.py__annotate__r      s     ' ' ' '    c                6   V P                  R4      p\        V4      pVR,          '       d   VR,          P                  R4      '       g$   Rp\        WP	                  VR,          4      4      hVR,          R8X  d   \        \        R4      # \        \        R4      # )	zaProcess the WHEEL file, from ``source``.

Returns the scheme that the archive root should go in.
WHEELzWheel-Versionz1.z?Incompatible Wheel-Version {}, only support version 1.x wheels.zRoot-Is-Purelibtruepurelibplatlib)read_dist_infor   
startswithr   r   r   r   )r   streammetadatamessages   &   r   _process_WHEEL_filer!      s    
 ""7+F"6*H _%%(?*C*N*Nt*T*TS 8Q)RSS !"f,FI&&FI&&r   c          
      j    V ^8  d   QhR\         R\        R\        R\        \        \         3,          /# )r   pathr   root_schemer   )strr	   r   r   )r   s   "r   r   r   $   s;     L L
L"L17L
63;Lr   c                   VP                   p\        P                  ! W0.4      V8w  d   W 3# . pRpT p \        P                  ! V4      w  rgVP	                  V4       WaP                   8X  g   K<  Tp T\
        9  d   Rp\        YP                  T R7      4      h\        \        T4      \        P                  ! \        TRR 4      !  3# )z;Determine which scheme to place given path in, from source.Nz6{path} is not contained in a valid .data subdirectory.)r#   )data_dir	posixpathcommonprefixsplitappendr
   r   r   r   r   joinreversed)	r#   r   r$   r(   partsscheme_nameleftrightmsg_fmts	   &&&      r   _determine_schemer4   $   s     H x./8;   EKD
ood+U??"K,&J T)BCC$innhuSbz6J&KKKr   c                b    V ^8  d   QhR\         R\        R\        \        \        3,          RR/# )r   r   destinationadditional_metadatar   N)r	   r   r   r%   bytes)r   s   "r   r   r   @   s?     G GG!G c5j)G 
	Gr   c           
        \        V 4      p\        P                  ! V P                  R4      p. pRV P                  9   dX   V P                  R4      p\        V4       F7  w  rxrVP                  VVV	V
R7      pVP                  \        R4      V34       K9  	  V P                  4        Fh  w  rp\        P                  ! V!  pVP                  pVV8X  d   K/  \        VV VR7      w  ppVP                  VVVVR7      pVP                  VV34       Kj  	  VP!                  4        Fk  w  pp\        P                  ! V P                  V4      p\#        V4      ;_uu_ 4       pVP                  VVVRR7      pRRR4       VP                  VX34       Km  	  VP                  V\        VRR4      34       VP%                  VVVR	7       R#   + '       g   i     L[; i)
a  Install wheel described by ``source`` into ``destination``.

:param source: wheel to install.
:param destination: where to write the wheel.
:param additional_metadata: additional metadata files to generate, usually
                            generated by the caller.

RECORDzentry_points.txt)namemoduleattrsectionscripts)r#   r   r$   )schemer#   r   is_executableFN)r@   record_file_pathrecords)r!   r)   r-   dist_info_dirdist_info_filenamesr   r   write_scriptr,   r   get_contentsr   from_elementsr#   r4   
write_fileitemsr   finalize_installation)r   r6   r7   r$   rB   written_recordsentrypoints_textr;   r<   r=   r>   recordrecord_elementsr   rA   source_recordr#   r@   destination_pathfilenamecontentsother_streams   &&&                   r   r   r   @   s    &f-K !~~f&:&:HEO V777!001CD+<=M+N'D$ --	 . F ""F9$5v#>? ,O 392E2E2G.#11?C!!## $5#$
  
 ''!'	 ( 
 	/0' 3H, 2779(~~f22H=X, ++"##	 , F  	V45 : K5EtT)RST%%) &  s   GG)__doc__r)   ior   typingr   r   r   installer.destinationsr   installer.exceptionsr   installer.recordsr   installer.sourcesr	   installer.utilsr
   r   r   r   __all__r!   r4   r    r   r   <module>r_      s>    $   $ $ 3 3 ) ) X X+'(L8Gr   