+
    SBi                          R t ^ 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tRt]P                  R 4       t]P                  R 4       t ! R R	4      tR# )
zdevelop testsN)paths_on_pythonpath)contexts
namespaceszHfrom setuptools import setup

setup(name='foo',
    packages=['foo'],
)
zprint "foo"
c           	   #   D  "   \         P                  ! 4       ;_uu_ 4       p\         P                  ! 4       ;_uu_ 4       pV P                  R V4       V P                  RV4       Rx  RRR4       RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i5i)zsite.USER_BASEzsite.USER_SITEN)r   tempdirsetattr)monkeypatch	user_base	user_sites   &  B/usr/lib/python3.14/site-packages/setuptools/tests/test_develop.py	temp_userr      sk     					y9 0)< 0)<   
	 
		s3   B B)A9	'B/
B 9B	BB		B c              #   F  "   T pVP                  R 4      pVR,          pVP                  4       '       d   \        \        V4      4      hVP	                  R4      ;_uu_ 4       pVP                  \        4       RRR4       VR,          pVP	                  R4      ;_uu_ 4       pVP                  \        4       RRR4       VP                  4       ;_uu_ 4        Vx  RRR4       R#   + '       g   i     Lw; i  + '       g   i     LJ; i  + '       g   i     R# ; i5i)foosetup.pywNz__init__.py)	mkdirisfile
ValueErrordiropenwriteSETUP_PYINIT_PYas_cwd)tmpdirr   targetr   setupfinits   &&     r   test_envr   #   s     F
,,u
CZE||~~V%%	CA	 
D	31	 
	 
 
 
	sN   A D!"C'8*D!"C:8 D!D
D!'C7	2D!:D
	D!D		D!c                   J  a  ] tR t^3t o ]R 4       t]P                  P                  ]	! ]
P                  P                  R4      4      RR7      ]P                  P                  ]P                  ! 4       R8H  RR7      ]P                  P                  R 4       4       4       tRtV tR	# )
TestNamespacesc           	     J   \         P                  R RR\        V4      .pV P                  4       ;_uu_ 4        \	        \        V4      .4      ;_uu_ 4        \
        P                  ! V4       RRR4       RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i)r   developz--install-dirN)sys
executablestrr   r   
subprocess
check_call)src_dirr   develop_cmds   && r   install_developTestNamespaces.install_develop4   sp     NNK
 ^^$c&k]33%%k2 4 33 s#   BA>	,B>B	BB"	APPVEYORz-https://github.com/pypa/setuptools/issues/851)reasonPyPyz.https://github.com/pypa/setuptools/issues/1202c           	        \         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       V P                  W44       \         P                  ! V4       \        P                  RR	.p\        \	        V4      .4      ;_uu_ 4        \
        P                  ! V4       R
R
R
4       \        P                  RR.p\        \	        V4      .4      ;_uu_ 4        \
        P                  ! V4       R
R
R
4       R
#   + '       g   i     La; i  + '       g   i     R
# ; i)z
Installing two packages sharing the same namespace, one installed
naturally using pip or `--single-version-externally-managed`
and the other installed using `develop` should leave the namespace
in tact and both packages reachable by import.
z	myns.pkgAz	myns.pkgBpackagesz-mpipinstallz-tz-cz"import myns.pkgA; import myns.pkgBNzimport pkg_resources)
r   build_namespace_packager$   r%   r&   r'   r(   r+   make_site_dirr   )selfr   pkg_Apkg_Br   install_cmd
try_importpkg_resources_imps   &&      r   !test_namespace_package_importable0TestNamespaces.test_namespace_package_importableA   s     226;G226;G*$ NNJK
 	k*U+  (NN0


 !#f+//!!*- 0
 NN"

 !#f+//!!"34 0/ 0/ 0//s   D>E>E	E"	 N)__name__
__module____qualname____firstlineno__staticmethodr+   pytestmarkskipifboolosenvirongetplatformpython_implementationuses_networkr<   __static_attributes____classdictcell__)__classdict__s   @r   r!   r!   3   s     
3 
3 [[RZZ^^J'(>   [[&&(F2?   [[&5 		&5    r!   )__doc__rH   rK   r'   r$   rD   setuptools._pathr    r   r   r   r   fixturer   r   r!   r>   rQ   r   <module>rV      se     	   
  0 "    =5 =5rQ   