+
    SBi                     B    ^ RI t ^ RIt^ RIHt ^RIHt  ! R R4      tR# )    N)paths_on_pythonpath)
namespacesc                   8   a  ] tR t^	t o R tR tR tR tRtV t	R# )TestNamespacesc           	        \         P                  ! VR4      p\         P                  ! VR4      pVR,          pVR,          pWE3p\        P                  RRR\	        V4      R\	        V4      .p\
        P                  ! V4       \         P                  ! V4       \        P                  RRR\	        V4      R\	        V4      .p\
        P                  ! V4       \        P                  R	R
.p\        \        \        V4      4      ;_uu_ 4        \
        P                  ! V4       RRR4       R#   + '       g   i     R# ; i)z
Installing two packages sharing the same namespace, one installed
to a site dir and the other installed just to a path on PYTHONPATH
should leave the namespace in tact and both packages reachable by
import.
	myns.pkgA	myns.pkgBzsite-packageszpath-packages-mpip.__main__install-t-cz"import myns.pkgA; import myns.pkgBN)
r   build_namespace_packagesys
executablestr
subprocess
check_callmake_site_dirr   map)	selftmpdirpkg_Apkg_Bsite_packagespath_packagestargetsinstall_cmd
try_imports	   &&       E/usr/lib/python3.14/site-packages/setuptools/tests/test_namespaces.pytest_mixed_site_and_non_site+TestNamespaces.test_mixed_site_and_non_site
   s    226;G226;G00. NNJ
 	k*  /NNJ
 	k*NN0


 !S'!233!!*- 4333s   D--D>	c           	     H   \         P                  ! VR4      pVR,          pVP                  4        \        P                  RRRR\        V4      \        V4      .p\        \        V4      .4      ;_uu_ 4        \        P                  ! V4       RRR4       \         P                  ! V4       \        P                  RR	.p\        \        V4      .4      ;_uu_ 4        \        P                  ! V4       RRR4       R#   + '       g   i     Lw; i  + '       g   i     R# ; i)
zK
Ensure that a namespace package doesn't break on import
of pkg_resources.
r   packagesr
   pipr   r   Nr   zimport pkg_resources)
r   r   mkdirr   r   r   r   r   r   r   )r   r   pkgtargetr   r   s   &&    r    test_pkg_resources_import(TestNamespaces.test_pkg_resources_import4   s    
 00E*$NNKH
 !#f+//!!+. 0  (NN"


 !#f+//!!*- 0/ 0/ 0//s   7C=D=D	D!	c           	        \         P                  ! VR4      pVR,          p\        P                  RRR\	        V4      R\	        V4      .p\
        P                  ! V4       \         P                  ! V4       \        P                  RR.p\        \	        V4      .4      ;_uu_ 4        \
        P                  ! V\	        V4      R	7       R
R
R
4       R
#   + '       g   i     R
# ; i)z
Installing a namespace packages but also having it in the current
working directory, only one version should take precedence.
r   r$   r
   r   r   r   r   z&import pkg_resources; import myns.pkgAcwdN	r   r   r   r   r   r   r   r   r   )r   r   r   r(   r   pkg_resources_imps   &&    r    (test_namespace_package_installed_and_cwd7TestNamespaces.test_namespace_package_installed_and_cwdP   s    
 226;G*$ NNJK
 	k*  ( NN4

 !#f+//!!"3UD 0///s   &"CC#	c           	        \         P                  ! VR4      p\         P                  ! VR4      pVR,          p\        P                  RRR\	        V4      R\	        V4      .p\
        P                  ! V4       \         P                  ! V4       \        P                  RR	.p\        \	        V4      .4      ;_uu_ 4        \
        P                  ! V\	        V4      R
7       RRR4       R#   + '       g   i     R# ; i)z
Installing one namespace package and also have another in the same
namespace in the current working directory, both of them must be
importable.
r   r	   r$   r
   r   r   r   r   z8import pkg_resources; import myns.pkgA; import myns.pkgBr,   Nr.   )r   r   r   r   r(   r   r/   s   &&     r    5test_packages_in_the_same_namespace_installed_and_cwdDTestNamespaces.test_packages_in_the_same_namespace_installed_and_cwdm   s     226;G226;G*$ NNJK
 	k*  ( NNF

 !#f+//!!"3UD 0///s   ="C))C:	 N)
__name__
__module____qualname____firstlineno__r!   r)   r0   r3   __static_attributes____classdictcell__)__classdict__s   @r    r   r   	   s"     (.T.8E:E E    r   )r   r   setuptools._pathr    r   r   r5   r=   r    <module>r@      s     
 0 AE AEr=   