+
    SBi	                     d    R t ^ RIt^ RIt^ RIt^ RIHt ^ RI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.
N)Path)ZipFilec           	         \         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   &&  I/usr/lib/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                   <   a  ] tR t^#t o RtR tR tR tR tRt	V t
R# )Archivez5Compatibility layer for ZipFile/Info and TarFile/Infoc                    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&&Xv6DIu%%)DIz)LMNNr   c                    \        V P                  R 4      '       d$   \        V P                  P                  4       4      # \        V P                  4      # )infolist)hasattrr"   iterr)   )r$   s   &r   __iter__Archive.__iter__/   s9    499j))		**,--DIIr   c                V    \        VR 4      '       d   VP                  # VP                  # )r%   )r*   r%   name)r$   zip_or_tar_infos   &&r   get_nameArchive.get_name4   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   )r*   r"   r4   r/   r   r#   strread)r$   r0   contentmsgs   &&  r   get_contentArchive.get_content9   s    499m,,ii++O<G !5!5 6d4>>:JK o%w||~w//499>>/2G<<r   )r   r"   N)__name__
__module____qualname____firstlineno____doc__r&   r,   r1   r9   __static_attributes____classdictcell__)__classdict__s   @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>G   s$     ;Uchhqwwr{++Us   /1)r    r!   getnamesr   )
sdist_pathtarrJ   filesrelative_filess   &    r   get_sdist_membersrR   C   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_membersrY   K   s/    			7##%& 
			s	   8A		rT   )r?   r   r   r    pathlibr   rX   r   r   r   rR   rY    r   r   <module>r\      s6    
    O(= =@,'r   