+
    hM                        ^ RI t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RIt^RIH	t	H
t
 ]P                  R 4       t]P                  R 4       t]P                  ! RRR7      R	 4       t]P                  R
 4       tR t]P                  ! RR7      R 4       t]P                  ! RR7      R 4       t]P                  R 4       t]P                  R 4       t]P                  R 4       tR# )    N)Path)contextsenvironmentc              #    "   \         P                  ! 4       ;_uu_ 4       pV P                  RV4       \         P                  ! 4       ;_uu_ 4       pV P                  RV4       \         P                  ! 4       ;_uu_ 4        Rx  RRR4       RRR4       RRR4       R#   + '       g   i     L"; i  + '       g   i     L-; i  + '       g   i     R# ; i5i)zU
Override site.USER_BASE and site.USER_SITE with temporary directories in
a context.
zsite.USER_BASEzsite.USER_SITEN)r   tempdirsetattrsave_user_site_setting)monkeypatch	user_base	user_sites   &  ;/usr/lib/python3/dist-packages/setuptools/tests/fixtures.pyuser_overrider      s      
				y,i89 0)<0022 3   
	 32   
		sL   C0C0B2	 BB2	C
CB/*B2	2C=CC		Cc              #      "   V P                  4       ;_uu_ 4       pVx  R R R 4       R #   + '       g   i     R # ; i5i)N)as_cwd)tmpdirorigs   & r   
tmpdir_cwdr      s"     	D
 
s   >*
>;		>Tsession)autousescopec                   V P                   P                  P                  R4      '       g   R# \        P                  ! \
        4      ;_uu_ 4        \        P                  P                  R4       RRR4       R#   + '       g   i     R# ; i)z
Workaround pytest-dev/pytest-xdist#376

``pytest-xdist`` tends to inject '' into ``sys.path``,
which may break certain isolation expectations.
Remove the entry so the import
machinery behaves the same irrespective of xdist.
xdistN )	configpluginmanager
has_plugin
contextlibsuppress
ValueErrorsyspathremove)requests   &r   workaround_xdist_376r$   !   sR     >>''227;;			Z	(	( 
)	(	(	(s    A::B	c                    . ROp \         P                  ! V\        V 4      R7       V R,          #   \         d"    \        P
                  ! R4        T R,          # i ; i)z4
Clone the 'sampleproject' and return a path to it.
)cwdzUnable to clone sampleprojectsampleproject)gitclonez%https://github.com/pypa/sampleproject)
subprocess
check_callstr	Exceptionpytestskip)tmp_pathcmds   & r   sample_projectr2   2   sY    
 DC5cs8}5 o%%  534o%%5s   !0 !AAc                    \         P                  ! WR 4      ;_uu_ 4       p\        VP                  R4      R4      p\        VP                  R4      R4      pV'       d   V'       d   W43uuRRR4       # \	        VP
                  P                  R4      P                  4       '       d   Q h\        P                  ! \        P                  RRR\        V4      \        VP
                  P                  4      .4       \	        VP
                  P                  R4      P                  4       '       d   Q h\        VP                  R4      4      \        VP                  R4      4      3uuRRR4       #   + '       g   i     R# ; i)
dist_buildz*.tar.gzNz*.whlzbuild/lib/buildz-mbuildz--outdir)r   session_locked_tmp_dirnextglobr   r   rootdirexistsr*   check_outputr    
executabler,   )tmp_path_factoryr#   tmpsdistwheels   &&   r   _build_distributionsrA   G   s"   		(	(<
 
	SXXj)40SXXg&-U>
 
 ..0ABIIKKKKNNH&&'!
 	 ..0ABIIKKKKCHHZ()40A+BB/
 
 
 
s   AE.'E.4C/E..E?	)r   c                     \         P                  ! R 4      pV'       d?   \         P                  P                  V4      '       d   \	        V4      P                  4       # \        W4      w  r4V# )PRE_BUILT_SETUPTOOLS_SDISTosgetenvr!   r:   r   resolverA   )r=   r#   prebuiltr?   _s   &&   r   setuptools_sdistrJ   b   sK    yy56HBGGNN8,,H~%%''#$4>HEL    c                     \         P                  ! R 4      pV'       d?   \         P                  P                  V4      '       d   \	        V4      P                  4       # \        W4      w  r4V# )PRE_BUILT_SETUPTOOLS_WHEELrD   )r=   r#   rH   rI   r@   s   &&   r   setuptools_wheelrN   l   sK    yy56HBGGNN8,,H~%%''#$4>HALrK   c                >   \         P                  ! 4       p\        P                  ! V R,          4      Vn        RR.Vn        \        V4      Vn        \        P                   ! RR7      ;_uu_ 4        VP                  4       uuRRR4       #   + '       g   i     R# ; i)z?Virtual env with the version of setuptools under test installedvenv--no-setuptoolsz--wheel=bundleN)
PYTHONPATH)
r   
VirtualEnvr!   r   rootcreate_optsr,   reqr   create)r0   rN   envs   && r   rP   rP   v   sl     
 
 
"CyyF*+CH(*:;CO"#CG 
			.	.zz| 
/	.	.	.s   0BB	c                    \         P                  ! 4       p\        P                  ! V R,          4      Vn        RR.Vn        VP                  4        V# )z7Virtual env without any version of setuptools installedvenv_without_setuptoolsrQ   
--no-wheelr   rS   r!   r   rT   rU   
ensure_envr0   rX   s   & r   rZ   rZ      sC     
 
 
"Cyy$==>CH(,7CONNJrK   c                    \         P                  ! 4       p\        P                  ! V R,          4      Vn        . ROVn        VP                  4        V# )z1Virtual env without any common packages installed	bare_venv)rQ   z--no-pipr[   z	--no-seedr\   r^   s   & r   r`   r`      s=     
 
 
"CyyK/0CHPCONNJrK   )r   rE   r*   r    pathlibr   r!   r.   r   r   r   fixturer   r   r$   r2   rA   rJ   rN   rP   rZ   r`    rK   r   <module>rd      s    	  
    # 
 
  
 I. /  	& 	&(C6 i  ! i  !  *    rK   