+
     hZ1  c                  s4   ^ RI Ht ^ RIt^ RIt^ RIHtHt ^ RIH	t	 ^ RI
Ht ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt ^ RIHt ^RIHt ^RIHt ^RIHt ^RI H!t! ]PD                  ! R]PF                  4      t$]PD                  ! R]PF                  4      t%]PD                  ! R4      t&]PD                  ! R4      t']! RR^ R7      t(R] 2t)R R lt*R R lt+R R lt, ! R R ]R!7      t- ! R" R#]-4      t. ! R$ R%].4      t/ ! R& R']-4      t0R( R) lt1R# )*i    )annotationsN)ABCMetaabstractmethod)defaultdict)Iterator)Message)Parser)EmailPolicy)iglob)Path)dedent)ZipFile)__version__)generate_requirements)	parse_tag)	WheelFilez]
    (?P<name>.+?)-(?P<ver>.+?)
    (-(?P<pyver>py\d\.\d+)
     (-(?P<arch>.+?))?
    )?.egg$zL
    ^(?P<name>.+?)-(?P<ver>.+?)
    (-(?P<pyver>py\d\.\d+)
    )?.egg-info/z>\.(?P<platform>win32|win-amd64)(?:-(?P<pyver>py\d\.\d))?\.exe$z8\.(?P<abi>[a-z0-9]+)-(?P<platform>win32|win_amd64)\.pyd$TF)Zutf8Zmangle_from_Zmax_line_lengthzwheel c               s$    V ^8  d   QhRRRRRR/# )   requiresstrmetadatar   returnNone Zformat   "I/usr/lib/python3.14/site-packages/setuptools/_vendor/wheel/cli/convert.py__annotate__r   0   s!     ( (s (g ($ (    c                sl   R p\        \        4      pV P                  4        Fi  pVP                  4       pV'       g   K  VP	                  R4      '       d   VP                  R4      '       d   V^R pKR  W2,          P                  V4       Kk  	  \        V4       F  w  rVVP                  WV4       K  	  R # )NZ[Z])	r   Zlist
splitlinesZstrip
startswithendswithZappendr   
add_header)r   r   ZextraZrequirementsZlinekeyvalue   &&     r   convert_requiresr$   0   s    E0;D0AL##%zz|??3DMM#$6$62JE""4( & ,L9
C' :r   c               s     V ^8  d   QhRRRR/# )r   pkginfor   r   r   r   r   r   r   r   r   B   s     7 7c 7W 7r   c           
     s>   \        4       P                  V 4      pVP                  4        F  w  r4VP                  4       pVR 8X  d   K  VR8X  dl   VP	                  4       pRP                  V^ ,          P                  4       \        RP                  VR,          4      4      R34      pVP                  V4       K  VR8X  d   VP                  RRV 24       K  VR8X  d   VP                  RRV 24       K  VP                  W44       K  	  VP                  R	R
4       R# )ZUNKNOWNZdescriptionZ
:i   NNz	home-pagezProject-URLz
Homepage, zdownload-urlz
Download, zMetadata-Versionz2.4N)r   ZparsestrZitemslowerr   ZjoinZlstripr
   Zset_payloadr    Zreplace_header)r%   r   Zparsed_messager!   r"   Z	key_lowerZdescription_linesr#   r   convert_pkg_infor'   B   s   X&&w/N$**,
IIK	I% % 0 0 2II%a(//1499%6r%:;<E   '+%E7/CD.(E7/CD+) -, .6r   c               s     V ^8  d   QhRRRR/# )r   namer   r   r   r   r   r   r   r   ]   s     B BC BC Br   c                sn    \         P                  ! R RV 4      P                  4       P                  RR4      # )z[-_.]+-_)reZsubr&   replace)r(      &r   	normalizer.   ]   s+    66)S$'--/77SAAr   c                  s    ] tR t^at$ R]R&   R]R&   RtR]R&   RtR]R&   RtR]R	&   R
]R&   ]R R l4       t	]
R R l4       tRtR# )ConvertSourcer   r(   versionzpy2.py3pyverZnoneabianyplatformr   r   c                   V ^8  d   QhRR/# )r   r   r   r   r   r   r   r   ConvertSource.__annotate__j   s     7 7s 7r   c                	s:    V P                    R V P                   R2# )r)   
.dist-infor(   r0   selfr-   r   dist_info_dirZConvertSource.dist_info_diri   s    ))Adll^:66r   c               r5   r   r   zIterator[tuple[str, bytes]]r   r   r   r   r   r6   n   s      #> r   c                	s    R # Nr   r9   r-   r   generate_contentsZConvertSource.generate_contentsm   s    r   r   N)__name__
__module____qualname____firstlineno__Z__annotations__r1   r2   r4   Zpropertyr;   r   r>   __static_attributes__r   r   r   r/   r/   a   sV    
ILE3CHc7 7  r   r/   )Z	metaclassc                  s.    ] tR t^rtR R ltR R ltRtR# )EggFileSourcec               r5   r   pathr	   r   r   r   r   r   EggFileSource.__annotate__s   s     " "T "r   c                	s   \         P                  VP                  4      ;p'       g   \        R VP                   24      hWn        \        VP                  R4      4      V n        VP                  R4      V n        VP                  R4      ;p'       db   VP                  RR4      V n	        VP                  R4      ;p'       d2   V P                  P                  RR4      V n
        \        V4      V n        \        4       V n        R	# )
zInvalid egg file name: r(   verr1   . archZpyZcpN)egg_filename_rematchr(   Z
ValueErrorrF   r.   groupr0   r,   r1   r2   r4   r   r   )r:   rF   rM   r1   rK   s   &&   r   __init__ZEggFileSource.__init__s   s    (..tyy9996tyykBCC 	ekk&12	{{5)KK((5(sB/DJ{{6**t*::--dD9 )$	r   c               r5   r<   r   r   r   r   r   rG      s     8 8#> 8r   c              #  	s  "   \        V P                  R 4      ;_uu_ 4       p\        VP                  4       4       F  pVP	                  R4      '       d   K  VP                  R4      '       d   VR8X  d7   VP                  V4      P                  R4      p\        W0P                  4       MfVR8X  d7   VP                  V4      P                  R4      p\        W@P                  4       M)VR8X  d#   V P                   R2VP                  V4      3x  K  W!P                  V4      3x  K  	  RRR4       R#   + '       g   i     R# ; i5i)	r/z	EGG-INFO/zEGG-INFO/requires.txtutf-8zEGG-INFO/PKG-INFOzEGG-INFO/entry_points.txt/entry_points.txtN)r   rF   sortednamelistr   r   readdecoder$   r   r'   r;   )r:   zip_filefilenamer   r%   s   &    r   r>   ZEggFileSource.generate_contents   s    TYY$$"8#4#4#67$$S)) &&{33#::#+==#:#A#A'#J(==A!%88"*--"9"@"@"I(--@!%@@#1122CD$MM(3 
  h 777/ 8 %$$$s$   E	AD5.B=D5+
E	5E	 	E	r2   r   r(   rF   r4   r1   r0   N)r?   r@   rA   rB   rO   r>   rC   r   r   r   rD   rD   r   s    " 8 8r   rD   c                  s"    ] tR t^tR R ltRtR# )EggDirectorySourcec               r5   r<   r   r   r   r   r   ZEggDirectorySource.__annotate__   s     J J#> Jr   c              #  	sJ  "   \         P                  ! V P                  4       EFy  w  rp\        V4       EFb  p\	        W4      pVP
                  P                  R 8X  Ed   VP                  R8X  d(   VP                  R4      p\        W`P                  4       MVP                  R8X  d   VP                  R4      p\        WpP                  4       V P                  P                  R4      ;p'       d   \        V4      V n        V P                  P                  R4      ;p	'       d   Wn        M2VP                  R8X  d"   V P                   R2VP                  4       3x  EK,  \!        VP#                  V P                  4      4      VP                  4       3x  EKe  	  EK|  	  R# 5i)	zEGG-INFOrequires.txtrR   PKG-INFOZNameZVersionentry_points.txtrS   N)osZwalkrF   rT   r	   Zparentr(   Z	read_textr$   r   r'   Zgetr.   r0   r;   Z
read_bytesr   Zrelative_to)
r:   Zdirpathr*   Z	filenamesrY   rF   r   r%   r(   r0   
   &         r   r>   Z$EggDirectorySource.generate_contents   s=    %'WWTYY%7!G	"9-G.;;##z1yyN2#'>>'#:(==Aj0"&.."9(--@#'==#4#4V#<<4<(1$DI&*mm&7&7	&BB7B+2L&88#1122CD OO- 
  $**499568III/ . &8s   D"F#%A>F#r8   N)r?   r@   rA   rB   r>   rC   r   r   r   r[   r[      s    J Jr   r[   c                  s2    ] tR t^tRtR R ltR R ltRtR# )WininstFileSourcea  
Handles distributions created with ``bdist_wininst``.

The egginfo filename has the format::

    name-ver(-pyver)(-arch).egg-info

The installer filename has the format::

    name-ver.arch(-pyver).exe

Some things to note:

1. The installer filename is not definitive. An installer can be renamed
   and work perfectly well as an installer. So more reliable data should
   be used whenever possible.
2. The egg-info data should be preferred for the name and version, because
   these come straight from the distutils metadata, and are mandatory.
3. The pyver from the egg-info data should be ignored, as it is
   constructed from the version of Python used to build the installer,
   which is irrelevant - the installer filename is correct here (even to
   the point that when it's not there, any version is implied).
4. The architecture must be taken from the installer filename, as it is
   not included in the egg-info data.
5. Architecture-neutral installers still have an architecture because the
   installer format itself (being executable) is architecture-specific. We
   should therefore ignore the architecture if the content is pure-python.
c               r5   rE   r   r   r   r   r   WininstFileSource.__annotate__   s      T r   c                	s   Wn         \        4       V n        \        P	                  VP
                  4      ;p'       dP   \        VP                  R 4      4      V n        VP                  R4      ;p'       d   VP                  RR4      V n
        R;rE\        V P                   4      ;_uu_ 4       pVP                  4        EF  pVP                  R^4      w  rV'       g   \        P                  V4      ;p'       di   Rp\        VP                  R4      4      V n        VP                  R4      V n        VP                  R4      ;p'       d   VP                  RR4      V n
        MSV'       gL   \"        P	                  V4      ;p'       d/   RpVP                  R	4      V n        VP                  R 4      V n        V'       g   EK  V'       g   EK   M	  R
R
R
4       R
#   + '       g   i     R
# ; i)r4   r1   rI   rJ   FrQ   Tr(   rH   r2   N)rF   r   r   
wininst_researchr(   r.   rN   r4   r,   r1   r   rU   splitegg_info_rerM   r0   pyd_rer2   )	r:   rF   rM   r1   Zegg_info_foundZ	pyd_foundrX   rY   prefixs	   &&       r   rO   ZWininstFileSource.__init__   sg   		 %%dii0050%ekk*&=>DMG,,u,"]]33
 &+*TYY8$--/#+>>#q#9 %K4E4Eh4O+O5+O%)N )%++f*= >DI#(;;u#5DL %G 44u4%*]]3%;
"x1H(H(H $I${{51DH$)KK
$;DM!>ii 0  s,   ,AG:A/G*G3G GGG*	c               r5   r<   r   r   r   r   r   rb      s     ? ?#> ?r   c              #  	sv  "   V P                    R V P                   R2pV P                    R V P                   R2p\        V P                  R4      ;_uu_ 4       p\	        VP                  4       4       EF#  pVP                  R4      '       d   K  VP                  R^4      w  rV\        P                  V4      '       d   VP                  R^4      R,          pVR8X  d7   VP                  V4      P                  R4      p\        WP                  4       M\VR8X  d7   VP                  V4      P                  R4      p	\        WP                  4       MVR8X  d   V R	2VP                  V4      3x  EK  VR
8X  d   V RV 2pWcP                  V4      3x  EK&  	  RRR4       R#   + '       g   i     R# ; i5i)r)   r7   z.datarP   rQ   r\   rR   r]   r^   rS   ZSCRIPTSz	/scripts/Nr   )r(   r0   r   rF   rT   rU   r   re   rf   rd   ZrsplitrV   rW   r$   r   r'   )
r:   r;   Zdata_dirrX   rY   rh   Ztarget_filenameZbasenamer   r%   r`   r   r>   Z#WininstFileSource.generate_contents   sy    99+Qt||nJ?ii[$,,u5TYY$$"8#4#4#67$$S)) +3..a*@'%%o66.55c1=bAH>1#+==#:#A#A'#J(==A!Z/"*--"9"@"@"I(--@!%77,o->?$MM(3 
 y()1
)O;L&MO &}}X'>>>7 8 %$$$s   AF9EF%
F9%F6	0	F9rZ   N)r?   r@   rA   rB   Z__doc__rO   r>   rC   r   r   r   ra   ra      s    :<? ?r   ra   c               s(    V ^8  d   QhRRRRRRRR/# )	r   filesz	list[str]dest_dirr   verboseZboolr   r   r   r   r   r   r   r     s(     2 29 2 2d 2t 2r   c                sT   V  EF  p\        V4       EFy  p\        V4      pVP                  R 8X  d/   VP                  4       '       d   \	        V4      pM\        V4      pM\        V4      pV'       d   \        V R2RRR7       \        V4      VP                   RVP                   RVP                   RVP                   RVP                   R2
,          p\        VR4      ;_uu_ 4       pVP                  4        F  w  rVP                  W4       K  	  VP                  VP                    R2VP"                  P%                  \&        R	7      P)                  R
4      4       \+        4       pVP-                  RR4       VP-                  R\.        4       VP-                  R\1        VP                  R8H  4      P3                  4       4       \5        VP                   RVP                   RVP                   24      p\7        VR R7       F  pVP-                  R\1        V4      4       K   	  VP                  VP                    R2VP%                  \&        R	7      P)                  R
4      4       RRR4       V'       g   EKn  \        R4       EK|  	  EK  	  R#   + '       g   i     L2; i)z.eggz...TrJ   )ZflushZendr)   z.whlZwz	/METADATA)ZpolicyrR   zWheel-Versionz1.0Z	GeneratorzRoot-Is-Purelibr3   c                s    V P                   # r=   )Zinterpreter)tagr-   r   Z<lambda>Zconvert.<locals>.<lambda>A  s    r   )r!   ZTagz/WHEELNZOK)r   r	   ZsuffixZis_dirr[   rD   ra   Zprintr(   r0   r1   r2   r4   r   r>   Zwritestrr;   r   Z	as_stringserialization_policyZencoder   r    	GENERATORr   r&   r   rT   )ri   rj   rk   ZpatZarchiverF   ZsourceZ	dest_path	wheelfileZname_or_zinfoZcontentsZwheel_messageZtagsrl   s   &&&           r   convertrp     s3   SzG=D{{f$;;==,>t,DF*40F*40	oTr:X;;-q 0&,,qFOO$D*I 9c**i/5/G/G/I+M&&}? 0J ""++,I6OO--5I-JQQ !(	((%@((i@((%s6??e+C'D'J'J'L !FLL>6::,a?P!QR!$,GHC!,,UCH= I ""++,F3!++3G+HOO/ +< wda " $ +*s   +FJ	J')2Z
__future__r    Zos.pathr_   r+   Zabcr   r   Zcollectionsr   Zcollections.abcr   Zemail.messager   Zemail.parserr   Zemail.policyr   Zglobr   Zpathlibr	   Ztextwrapr
   Zzipfiler   rJ   r   r   r   Zvendored.packaging.tagsr   ro   r   ZcompileZVERBOSErL   rf   rc   rg   rm   rn   r$   r'   r.   r/   rD   r[   ra   rp   r   r   r   <module>rq      s   "  	 ' # $ !  $      , / !**
 JJ jj JJ ZZE
 
O	P"	 
 [M"	($76Bg "*8M *8ZJ J:[? [?|2r   