+
    =i
                        R t ^ RIHt ^ RIt^ RIt^ RIt^ RIHt ^ RIH	t	 ^ RI
HtHt RR lt ! R R4      tR	 tR
 tR# )zReusable functions and classes for different types of integration tests.

For example ``Archive`` can be used to check the contents of distribution built
with setuptools, and ``run`` will always try to be as verbose as possible to
facilitate debugging.
)annotationsN)Iterator)Path)ZipFileZipInfoc           	        \         P                  ! T R R R/ \        P                  CT;'       g    / CR7      pVP                  R,           VP
                  ,           p\        R4       \        RV  RVP                   RV 24       VP                  ^ 8X  d   V# \         P                  ! VP                  WP                  VP
                  4      h)Tutf-8)capture_outputtextencodingenv
z<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~z	Command: z
return code: z

)	
subprocessrunosenvironstdoutstderrprint
returncodeCalledProcessError)cmdr   routs   &&  Dlib/python3.14/site-packages/setuptools/tests/integration/helpers.pyr   r      s    )rzz)ciiR)	A ((T/AHH
$C	
HI	IcU/!,,tC5
AB||q


'
'c88QXX
NN    c                  >    ] tR t^&tRtR R ltR R ltR tR tRt	R	# )
Archivez5Compatibility layer for ZipFile/Info and TarFile/Infoc                   V ^8  d   QhRR/# )   returnNone )formats   "r   __annotate__Archive.__annotate__)   s     O OD Or   c                	    Wn         VP                  R 4      '       d   \        P                  ! VR4      V n        R# VP                  R4      '       d   \        V4      V n        R# \        V R24      h)ztar.gzr:gzzipz# doesn't seem to be a zip or tar.gzN)	_filenameendswithtarfileopen_objr   
ValueError)selffilenames   &&r   __init__Archive.__init__)   sZ    !X&&3:<<&3QDIu%%)DIz)LMNNr   c                   V ^8  d   QhRR/# )r   r    z-Iterator[ZipInfo] | Iterator[tarfile.TarInfo]r"   )r#   s   "r   r$   r%   2   s      G r   c                	    \        V P                  R 4      '       d$   \        V P                  P                  4       4      # \        V P                  4      # )infolist)hasattrr-   iterr5   )r/   s   &r   __iter__Archive.__iter__2   s9    499j))		**,--DIIr   c                	V    \        VR 4      '       d   VP                  # VP                  # )r0   )r6   r0   name)r/   zip_or_tar_infos   &&r   get_nameArchive.get_name7   s'    ?J//"+++###r   c                	D   \        V P                  R 4      '       da   V P                  P                  V4      pVf(   RVP                   RV P                   2p\        V4      h\        VP                  4       R4      # \        V P                  P                  V4      R4      # )extractfilezInvalid z in r   )r6   r-   r@   r;   r)   r.   strread)r/   r<   contentmsgs   &&  r   get_contentArchive.get_content<   s    499m,,ii++O<G !5!5 6d4>>:JK o%w||~w//499>>/2G<<r   )r)   r-   N)
__name__
__module____qualname____firstlineno____doc__r1   r8   r=   rE   __static_attributes__r"   r   r   r   r   &   s    ?O
$
=r   r   c                $   \         P                  ! V R 4      ;_uu_ 4       pVP                  4        Uu. uF  p\        V4      NK  	  ppRRR4       R X 4       pV Uu0 uF  q"'       g   K  VkK  	  up# u upi   + '       g   i     L9; iu upi )r'   Nc              3  f   "   T F'  pR P                  VP                  R,          4      x  K)  	  R# 5i)/:   NNN)joinparts).0fs   & r   	<genexpr>$get_sdist_members.<locals>.<genexpr>J   s$     ;Uchhqwwr{++Us   /1)r+   r,   getnamesr   )
sdist_pathtarrT   filesrelative_filess   &    r   get_sdist_membersr\   F   so    	j&	)	)S"%,,.1.Qa.1 
* <U;N%+~!AA~++ 2 
*	) ,s(   A:A5A:	B,B5A::B
	c                    \        V 4      ;_uu_ 4       p\        VP                  4       4      uuR R R 4       #   + '       g   i     R # ; iN)r   setnamelist)
wheel_pathzipfiles   & r   get_wheel_membersrc   N   s/    			7##%& 
			s	   8A		r^   )rK   
__future__r   r   r   r+   collections.abcr   pathlibr   rb   r   r   r   r   r\   rc   r"   r   r   <module>rg      s<    # 	   $  $O(= =@,'r   