+
    SBi"                        ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIH	t	H
t
 ^RIHt ^RIHt ^RIHt ^ RIHt R t]! R	R
RRRRRR.R7      tR tRRR.RR./R3RRR.3RR.33R3RRR./R3RR/R3RR R 4       /R33t]P0                  P3                  R?]4      R 4       tR  tR! t]P0                  P3                  R@. RAO4      R& 4       t]P0                  P3                  RBR"RR'R(.R#.3R$RR'R(.R#.3R#RR'R(.R#.3R"RR).R*R".3R#RR+R,.R#R-.3R#R%R.R/R0/. RCO. RDO3.4      R1 4       t]P0                  P3                  RER2RR3.3R"RR)R4.3R#RR5.3R#RR'R6.3R#RR+R7.3R#R#R.R8R0/. RCO3R9RR:R;.3R9RR<R=.3.4      R> 4       tR# )F    N)Distribution)check_package_datacheck_specifier)make_trivial_sdist)ensure_files)DALS)DistutilsSetupErrorc                (  a V P                  R4      o\        P                  P                  R\        P                  P                  \        S4      4      4      pV3R lpV! RR4       V! RR4       V P                  R4      P                  R	4      ;_uu_ 4       pVP                  \        R
4      P                  VR7      4       RRR4       RP                  4       pV P                  4       ;_uu_ 4        \        4       pVP                  4        V Uu. uF  qeP!                  V4      NK  	  ppRRR4       X Uu. uF  qU'       g   K  VP"                  NK  	  upV8X  g   Q hR#   + '       g   i     L; iu upi   + '       g   i     LV; iu upi )zJ
Check multiple calls to `Distribution.fetch_build_egg` work as expected.
indexzfile://c                 `  < SP                  V 4      pV  R V R2p\        \        VP                  V4      4      W4       VP                  R4      P	                  R4      ;_uu_ 4       pVP                  \        R4      P                  VR7      4       RRR4       R#   + '       g   i     R# ; i)-z.tar.gzz
index.htmlwz
                <!DOCTYPE html><html><body>
                <a href="{dist_sdist}" rel="internal">{dist_sdist}</a><br/>
                </body></html>
                )
dist_sdistN)mkdirr   strjoinopenwriter   format)distnameversiondist_dirr   fpr   s   &&   ?/usr/lib/python3.14/site-packages/setuptools/tests/test_dist.pysdist_with_index3test_dist_fetch_build_egg.<locals>.sdist_with_index   s    ;;x( z7)73
3x}}Z898M]]<(--c22bHH &J&/ 3222s   '+BB-	
barbazquuxz3.2.0zbarbazquux-runnerz2.11.1z	setup.cfgr   zL
            [easy_install]
            index_url = {index_url}
            )	index_urlNz*
    barbazquux-runner
    barbazquux
    )r   urllibparseurljoinrequestpathname2urlr   r   r   r   r   r   splitas_cwdr   parse_config_filesfetch_build_eggname)	tmpdirr   r   r   reqsdistrresolved_distsr   s	   &       @r   test_dist_fetch_build_eggr.      s7    LL!E$$Y0K0KCPUJ0WXI \7+((3	[	!	&	&s	+	+r

 fyf)	
 
, 	 	 
~!;?@4a..q14@ 
 #19.$DIDII.9TAAA# 
,	+  A 
 :s6   +E$4E<E7,E<:	FF$E4	7E<<F	packagez0.0.1zFoo Barzfoo@bar.netzLong
descriptionzShort descriptiononetwo)r(   r   authorauthor_emaillong_descriptiondescriptionkeywordsc                  \   \        \        R .R.R7      R7      p \        V 4      p\        VP                  P                  4      RR.8X  g   Q h\        \        V R,          P                  4       4      4      V R&   \        V 4      p\        VP                  P                  4      RR.8X  g   Q hR# )foobar)ab)extras_requirer:   r;   r<   N)dictr   listmetadataprovides_extrasreverseditemsattrsr+   s     r   (test_provides_extras_deterministic_orderrE   I   s    w5' :;ED--.3*<<<"8E2B,C,I,I,K#LME
D--.3*<<<     z*.txtz*.rsthelloz*.msgz^'package_data' must be a dictionary mapping package names to lists of string wildcard patternsi  z5keys of 'package_data' dict must be strings (got 400)z["values of 'package_data' dict" must be of type <tuple[str, ...] | list[str]> (got '*.msg')c              #   $   "   T F  qx  K  	  R # 5i)N ).0xs   & r   	<genexpr>rM   z   s     -Aas   	generatorzd"values of 'package_data' dict" must be of type <tuple[str, ...] | list[str]> (got <generator objectc                     Vf   \        R RV 4      e   Q hR # \        P                  ! \        \        P
                  ! V4      R7      ;_uu_ 4        \        R RV 4       R R R 4       R #   + '       g   i     R # ; i)Npackage_datamatch)r   pytestraisesr	   reescaperP   expected_messages   &&r   test_check_package_datarY      sU    !$EMMM]].bii@P6QRRt^\B SRRRs   A((A9	c                  :   R RRR/p \        V 4      p\        WV R,          4       R RRRR./p \        V 4      p\        WV R,          4       R RRR/p \        P                  ! \        4      ;_uu_ 4        \        V 4      pRRR4       R#   + '       g   i     R# ; i)r(   r8   python_requiresz>=3.0, !=3.1z>=3.0z!=3.1z>=invalid-versionN)r   r   rS   rT   r	   rC   s     r   test_check_specifierr\      s    U-~>EDD'8!9:U-/ABEDD'8!9: U-/BCE	*	+	+E" 
,	+	+	+s   3B		B	c                      \         P                  ! \        R R7      ;_uu_ 4        \        4       P	                  4        RRR4       R#   + '       g   i     R# ; i)zmissing.*namerQ   N)rS   rT   r	   r   _validate_metadatarJ   rF   r   test_metadata_namer_      s2    	*/	B	B))+ 
C	B	B	Bs   AA	my.pkgmy_pkgmy-pkgpkgc                    W R 2,          P                  4        V R,          P                  4        V R,          P                  4        / \        CRVR\        V 4      /Cp\        V4      pVP	                  4        VP
                  V.8X  g   Q h\        / VCRR./C4      pVP	                  4        VP
                  R.8X  g   Q h\        / VCRR./C4      pVP	                  4        VP
                  '       d   Q hR	# )
z.pysetup.py
noxfile.pyr(   src_root
py_modulesexplicity_py_modulepackagesexplicity_packageN)touchEXAMPLE_BASE_INFOr   r   set_defaultsrh   )tmp_path	dist_name	py_modulerD   r+   s   &&&  r   test_dist_default_py_modulesrr      s     +S!!((*
!!###% P O&)ZXOED??yk)))H5H,1F0GHID??45555D5D*/B.CDEDrF   zmy_pkg/__init__.pyzmy_pkg/mod.pyzmy/pkg/__init__.pymyzsrc/my_pkg/__init__.pyzsrc/my_pkg2/__init__.pymy_pkg2libpkg2lib2c                    \        W4       V R ,          P                  4        V R,          P                  4        / \        CRVR\        V 4      RV/Cp\	        V4      pVP                  4        VP                  '       d   Q hVP                  '       d   Q h\        VP                  4      \        V4      8X  g   Q h\	        / VCRR./C4      pVP                  4        VP                  '       d   Q h\        VP                  4      R08X  g   Q h\	        / VCRR./C4      pVP                  4        VP                  '       d   Q h\        VP                  4      R08X  g   Q hR	# )
re   rf   r(   rg   package_dirrh   explicit_py_modulerj   explicit_packageN)	r   rl   rm   r   r   rn   rh   setrj   )ro   rp   ry   package_filesrj   rD   r+   s   &&&&&  r   test_dist_default_packagesr~      sH   0 )
!!###%
	CM{	E Dt}}X...G5G,1E0FGHD}}}t$8#9999C5C*/A.BCDDt}}"4!5555rF   zmy.pkg.nestedzmy/pkg/nested/__init__.pyzmy/pkg/file.pyz	my_pkg.pyzmy_pkg/nested/__init__.pyzsrc/my_pkg/nested/__init__.pyzmy_pkg.lib2UNKNOWNzsrc/mod1.pyzsrc/mod2.pyzsrc/pkg1/__ini__.pyzsrc/pkg2/__init__.pyc                F   \        W4       / \        CRRP                  \        P                  P                  V 4      4      RV/CpVR \        V4      pVP                  4        VP                  '       g   VP                  '       g   Q hVP                  4       V8X  g   Q hR# )z:Make sure dist.name is discovered from packages/py_modulesrg   /ry   r(   N)r   rm   r   ospathr$   r   rn   rh   rj   get_name)ro   rp   ry   r}   rD   r+   s   &&&&  r   test_dist_default_namer      s    ( )
CHHRWW]]845{E
 	fD???dmmm++==?i'''rF   rW   )rp   rq   ))r`   ra   )rb   ra   )ra   ra   )rc   rc   )rp   ry   r}   rj   )zlib/__init__.pyzlib/nested/__init__.pytzlib2/__init__.py)rc   z
pkg.nestedrv   )rp   ry   r}   ) r   rU   urllib.parser   urllib.requestrS   
setuptoolsr   setuptools.distr   r   fixturesr   test_find_packagesr   textwrapr   distutils.errorsr	   r.   r=   rm   rE   CHECK_PACKAGE_DATA_TESTSmarkparametrizerY   r\   r_   rr   r~   r   rJ   rF   r   <module>r      s   	 	    # ? ( ,  0)BX 	(#U^ = '"gY	
 	 '7#$wi 	

:	 '7#	
 
A	 W	
 --	
&M/ d =?WXC YC# ,
 , =	4.@8*M	4.@8*M	4.@8*M	4./$1AB%'@Ay!		
 E66*N)		
*6+*6B 1	$!< =>	4.0@AB	4+'	4.0KLM	424STUumV4N	
 
D=-89	D02HIJ$(%$(rF   