+
    SBi4X                     n   ^ RI t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIt	^ RI
t
^ RIHt ^ RIt^ RIHt ^ RIHtHt ^ RIHt ^ R	IHt ^R
IHt ^RIHtHtHt ^RIHt ^ RIt  ! R R4      t! ! R R4      t" ! R R4      t# ! R R4      t$ ! R R4      t% ! R R4      t&R t'R t(R t)R t*R t+R t,R t-R  t.R# )!    N)ConfigParser)product)cast)Path)sdist)find_package_pathfind_parent_package)Distribution)PackageDiscoveryError)quiet)get_sdist_membersget_wheel_membersrun)DALSc                   ,   a  ] tR t^t o R tR tRtV tR# )TestFindParentPackagec                    VR ,          P                  RRR7       VR,          P                  4        VR,          P                  4        . R	Op\        VRR/V4      R8X  g   Q hR# )
zsrc/namespace/pkg/nestedTexist_okparentsz$src/namespace/pkg/nested/__init__.pyzsrc/namespace/pkg/__init__.pynamespace.pkg srcN)	namespacer   znamespace.pkg.nestedmkdirtouchr	   )selftmp_pathpackagess   && K/usr/lib/python3.14/site-packages/setuptools/tests/test_config_discovery.pytest_single_package)TestFindParentPackage.test_single_package   s_    	.	.55tT5R	:	:AAC	3	3::<I"8b%[(CVVV    c                    . ROpV F;  pVRV 2,          P                  RRR7       VRV R2,          P                  4        K=  	  \        VRR/V4      e   Q hR# )	pkgsrc/Tr   z/__init__.pyr   r   N)r&   pkg1pkg2r   )r   r   multiplenames   &&  r!   test_multiple_toplevel,TestFindParentPackage.test_multiple_toplevel!   sf     +D$tf%,,dD,I$tfL1188:  #8b%[(CKKKr$    N)__name__
__module____qualname____firstlineno__r"   r,   __static_attributes____classdictcell____classdict__s   @r!   r   r      s     WL Lr$   r   c                     a  ] tR t^+t o RtRRRR/RR./RRRR	//R
RR./RRR./RRRR./R/ R/ R/ R/ /	tRRR.R	RR.RRR.RR.RR./tR t]P                  P                  R ]P                  4       4      R! 4       t]P                  P                  R ]P                  4       4      R" 4       tR#]! R$4      R%]! R&4      R']! R(4      R)]! R*4      /t]P                  P                  R@]! . RAORR.]P                  4       4      4      R+ 4       t]P                  P                  RBR-.R03R..RR/03R0.RR103R2.0 RCm3R4.RR303R5.R03R6.R03.4      R7 4       t]P                  P                  R,R8.R9..4      R: 4       tR; tR< tR= tR>tV tR?# )D TestDiscoverPackagesAndPyModuleszMake sure discovered values for ``packages`` and ``py_modules`` work
similarly to explicit configuration for the simple scenarios.
zexplicit-srcpackage_dirr   r   r    r&   zvariation-liblibzexplicit-flatzexplicit-single_module
py_moduleszexplicit-namespacenszns.pkgzautomatic-srczautomatic-flatzautomatic-single_modulezautomatic-namespacesrc/pkg/__init__.pyzsrc/pkg/main.pyzlib/pkg/__init__.pyzlib/pkg/main.pyflatzpkg/__init__.pyzpkg/main.pysingle_modulepkg.pyr   zns/pkg/__init__.pyc                |    VP                  R 4      w   r#V P                  V,          pV P                  V,          pWE3# )-)	partitionFILESOPTIONS)r   circumstance_layoutfilesoptionss   &&    r!   	_get_info*TestDiscoverPackagesAndPyModules._get_infoF   s:    #--c21

6",,|,~r$   rF   c                  a	 V P                  V4      w  r4\        WV4       \        W4      w  rVVP                  P                   Uu. uF"  qwP                  \        P                  R 4      NK$  	  ppV FE  o	\        ;QJ d    V	3R lV 4       F  '       g   K   RM	  RM! V	3R lV 4       4      '       d   KE  Q h	  R# u upi )/c              3   D   <"   T F  qP                  S4      x  K  	  R # 5iN)endswith).0ffiles   & r!   	<genexpr>GTestDiscoverPackagesAndPyModules.test_sdist_filelist.<locals>.<genexpr>U   s     :Azz$''s    TFN)	rK   _populate_project_dir_run_sdist_programaticallyfilelistrI   replaceossepany)
r   r   rF   rI   rJ   rG   cmdrS   manifestrT   s
   &&&      @r!   test_sdist_filelist4TestDiscoverPackagesAndPyModules.test_sdist_filelistL   s    5hw7+H>47LL4F4FG4FqIIbffc*4FGD3::333::::::  Hs   (B=c                   V P                  V4      w  r4\        WV4       VR ,          P                  4        VR,          P                  4        VR,          P                  4        VR,          P                  4        VR,          P                  4        VR,          P                  4        VR,          P                  4        VR,          P                  4        \	        V4       \        \        VP                  R4      4      4      p\        R	4       \        R
P                  V4      4       V\        V4      8  g   Q h\        \        VP                  R4      4      4      p\        R4       \        R
P                  V4      4       V Uu0 uF$  qwP                  RR4      P                  RR4      kK&  	  ppWh8  g   Q hV F  p	R V9  g   Q hRV9  d   K  Q h	  R# u upi )buildz	build/libzbuild/bdist.linux-x86_64z build/bdist.linux-x86_64/file.pyzbuild/lib/__init__.pyzbuild/lib/file.pydistzdist/file.pydist/*.tar.gz~~~~~ sdist_members ~~~~~

dist/*.whl~~~~~ wheel_members ~~~~~r'   r   lib/N)rK   rW   r   r   
_run_buildr   nextglobprintjoinsetr   rZ   )
r   r   rF   rI   rJ   sdist_fileswheel_filesrS   
orig_filesrT   s
   &&&       r!   test_project-TestDiscoverPackagesAndPyModules.test_projectW   s   5hw7 
G	""$	K	&&(	.	.557	6	6==?	+	+224	'	'..0	F	!!#	N	"))+8'X]]?-K(LM)*dii$%c%j((('X]]<-H(IJ)*dii$%INOAii+33FB?
O(((  D%'''&&&  	 Ps   	*G	setup.cfgz
            [metadata]
            name = myproj
            version = 0.0.0

            [options]
            {param} =
            setup.pyz
            __import__('setuptools').setup(
                name="myproj",
                version="0.0.0",
                {param}=[]
            )
            pyproject.tomlz
            [build-system]
            requires = []
            build-backend = 'setuptools.build_meta'

            [project]
            name = "myproj"
            version = "0.0.0"

            [tool.setuptools]
            {param} = []
            template-pyproject.tomlzv
            [build-system]
            requires = []
            build-backend = 'setuptools.build_meta'
            c                   V P                   V,          . RO,           p\        W/ 4       VR8X  d   VP                  RR4      pM/V P                  R,          pVR,          P	                  VRR7       TpV P                  V,          P                  VR7      pW,          P	                  VRR7       \        V/ 4      p	\        W4      . 8X  g   Q hRR	R	R/V,          p
\        W4      e   Q hR
# )mod.pyrx   rG   rB   ry   utf-8encoding)paramr;   r    N)r{   zother.pyr=   )rD   rW   rZ   PURPOSEFULLY_EMPY
write_textformat	_get_distgetattr)r   r   config_filer   rF   rI   template_param	pyprojectconfigrd   others   &&&&&      r!   test_purposefully_empty8TestDiscoverPackagesAndPyModules.test_purposefully_empty   s     

<(+XXhr2**"]]34N ../HII((44Y4Q"N''4;;.;Q		++FW+E2& t#r)))z:|DUKt#+++r$   extra_fileszvenv/bin/simulate_venvzpkg-stubs/__init__.pyiz	pkg-stubszother-stubs/__init__.pyizother-stubsz namespace-stubs/pkg/__init__.pyinamespace-stubsz&namespace-stubs/pkg-stubs/__init__.pyiz_hidden/file.pyznews/finalize.pyc                    V P                   R ,          V,           p\        W/ 4       \        V/ 4      p\        VP                  4      V8X  g   Q hR# )r>   N)rD   rW   r   rp   r    )r   r   r   pkgsrI   rd   s   &&&&  r!   !test_flat_layout_with_extra_filesBTestDiscoverPackagesAndPyModules.test_flat_layout_with_extra_files   sD    * 

6"[0hr22&4==!T)))r$   zother/__init__.pyzother/finalize.pyc                    V P                   R ,          V,           p\        W/ 4       \        P                  ! \        RR7      ;_uu_ 4        \        V/ 4       RRR4       R#   + '       g   i     R# ; i)r>   multiple (packages|modules)matchNrD   rW   pytestraisesr   r   )r   r   r   rI   s   &&& r!   +test_flat_layout_with_dangerous_extra_filesLTestDiscoverPackagesAndPyModules.test_flat_layout_with_dangerous_extra_files   sN     

6"[0hr2]]08UVVh# WVVVs   A""A3	c                    V P                   R ,          R.,           p\        W/ 4       \        V/ 4      p\        VP                  4      R08X  g   Q hR# )r?   zinvalid-module-name.pyr&   N)rD   rW   r   rp   r;   )r   r   rI   rd   s   &&  r!   #test_flat_layout_with_single_moduleDTestDiscoverPackagesAndPyModules.test_flat_layout_with_single_module   sH    

?+/G.HHhr22&4??#w...r$   c                    V P                   R ,          R.,           p\        W/ 4       \        P                  ! \        RR7      ;_uu_ 4        \        V/ 4       RRR4       R#   + '       g   i     R# ; i)r?   zvalid_module_name.pyr   r   Nr   )r   r   rI   s   && r!   &test_flat_layout_with_multiple_modulesGTestDiscoverPackagesAndPyModules.test_flat_layout_with_multiple_modules   sP    

?+/E.FFhr2]]08UVVh# WVVVs   A##A4	c                   ^ RI Hp RpVR,          P                  \        V4      RR7       VR,          P	                  4        \
        P                  P                  4       P                  V4      ;_uu_ 4        VP                  R4       RRR4       \        \        VP                  R	4      4      4      pRV9   g   Q hR#   + '       g   i     L>; i)
zRegression for issue 3692)
build_metaz%[project]
name = "test"
version = "1"rx   r|   r}   zfoo.py.Nz*.whl)
setuptoolsr   r   r   r   jaracopathDirectoryStackcontextbuild_wheelr   rl   rm   )r   r   r   r   rr   s   &&   r!   %test_py_modules_when_wheel_dir_is_cwdFTestDiscoverPackagesAndPyModules.test_py_modules_when_wheel_dir_is_cwd   s    )=		$	$00i70S	H	##%[['')11(;;""3' < (X]]7-C(DE;&&&	 <;s   8C  C	r.   N)r   r   rF   )rv   rw   rx   )r   r   >   r&   r   namespace-stubs.pkg)r/   r0   r1   r2   __doc__rE   rD   rK   r   markparametrizekeysr`   rt   r   r   r   r   r   r   r   r   r   r3   r4   r5   s   @r!   r8   r8   +   s     	UZ%IB;
 	*ug. <%"9zD(+;<"!2rG 	%'89%'89"M2(*+E [[^W\\^<; =; [[^W\\^<' ='B 	T	
 	D
 	$
 	"4$
E)V [[07&JJL	
,,, [[&'%1&'%)=>()E=+AB 44A ::)*
   5'* !E7+	
(*)(* [[ ! !	
$$/$' 'r$   r8   c                      a  ] tR tRt o RtRR.RR.RRR	.R
RR.RR.RR./t]P                  P                  R]P                  4       4      R 4       t
R tRtV tR# )TestNoConfigi  z0.0.0r(   zsrc/pkg1.pyr)   zsrc/pkg2/__init__.pypkg3zsrc/pkg3/__init__.pyzsrc/pkg3-stubs/__init__.pypkg4zpkg4/__init__.pyzpkg4-stubs/__init__.pyzns.nested.pkg1zsrc/ns/nested/pkg1/__init__.pyzns.nested.pkg2zns/nested/pkg2/__init__.pyexamplec                    \        WP                  V,          / 4       \        V/ 4      pVP                  4       V8X  g   Q hR # rP   )rW   EXAMPLESr   get_name)r   r   r   rd   s   &&& r!   test_discover_nameTestNoConfig.test_discover_name  s5    hg(>C2&}}')))r$   c                    R .p\        W/ 4       \        VR4       VRV P                   R2,          pVP                  4       '       g   Q hR# )zsrc/ns/nested/pkg/__init__.py--sdistzdist/ns_nested_pkg-z.tar.gzN)rW   rk   DEFAULT_VERSIONis_file)r   r   rI   	dist_files   &&  r!   test_build_with_discovered_name,TestNoConfig.test_build_with_discovered_name  sN    01hr28Y'!4T5I5I4J'RR	  """"r$   r.   N)r/   r0   r1   r2   r   r   r   r   r   r   r   r   r3   r4   r5   s   @r!   r   r     s     O 	'(')EF#%=>;<78H [[Y8* 9*
# #r$   r   c            
          a  ] tR tRt o ]P
                  P                  RR/ 3RRRRRR//3.4      R 4       tR	 tR
t	V t
R# )TestWithAttrDirectivei  r   r:   r    zfind:packages.findwherec                r   V R 2R.p\        WV4       VR,          P                  RR7      pVRRR//RRV,           /p\        P                  P	                  WaR7       \        V/ 4      pVP                  4       R8X  g   Q hVP                  4       R	8X  g   Q hVP                  '       g   Q h\        RVP                  V4      p\        P                  P                  V4      '       g   Q hV\        V4      P                  4       9   g   Q h\        VR
4       VR,          p	V	P                  4       '       g   Q hR# )z/pkg/__init__.pyrv   r|   r}   r&   __init__.pyversion = 42z'[metadata]
version = attr: pkg.version
prefix42r   zdist/pkg-42.tar.gzN)rW   	read_textr   r   rc   r   r   get_versionr9   r   r[   existsr   partsrk   r   )
r   r   folderoptsrI   r   	overwriterd   package_pathr   s
   &&&&      r!   test_setupcfg_metadata,TestWithAttrDirective.test_setupcfg_metadata  s,    8+,k:ht4[(33W3EU]N;<DvM
	 	)52&}}%'''!T)))(0@0@(Kww~~l++++l+1133338Y'33	  """"r$   c                    \        VR ./ 4       RRRR//RR/p\        P                  P                  W!R7       \	        V/ 4      pVP                  4       R8X  g   Q hVP                  R	R/8X  g   Q hR
# )r=   r   r&   r   r   rx   zh[project]
name = 'pkg'
dynamic = ['version']
[tool.setuptools.dynamic]
version = {attr = 'pkg.version'}
r   r   r   N)rW   r   r   rc   r   r   r9   )r   r   r   rd   s   &&  r!   test_pyproject_metadata-TestWithAttrDirective.test_pyproject_metadata<  s    h)>(?D EM>:;P
	 	)52&!T)))B;...r$   r.   N)r   r   )r/   r0   r1   r2   r   r   r   r   r   r3   r4   r5   s   @r!   r   r     sU     [[BKZ/GU;KLM	
##./ /r$   r   c                   2   a  ] tR tRt o R tR tR tRtV tR# )TestWithCExtensioniM  c                p    . ROp\        W/ 4       RpVR,          P                  \        V4      RR7       R# )benchmarks/file.pya^  
            from setuptools import Extension, setup

            ext_modules = [
                Extension(
                    "proj",
                    ["py/proj.cpp", "py/other.cpp"],
                    include_dirs=["."],
                    language="c++",
                ),
            ]
            setup(ext_modules=ext_modules)
        rw   r|   r}   N)r   zdocs/Makefilezdocs/requirements.txtzdocs/source/conf.pyzproj/header.hzproj/file.pyzpy/proj.cppzpy/other.cppz
py/file.pyzpy/py.typedzpy/tests/test_proj.pyz
README.rstrW   r   r   )r   r   rI   setup_scripts   &&  r!    _simulate_package_with_extension3TestWithCExtension._simulate_package_with_extensionN  s;    
 	hr2 
J	**4+=*Pr$   c                   V P                  V4       RpVR,          P                  \        V4      RR7       RpVR,          P                  \        V4      RR7       \        V/ 4      pVP	                  4       R8X  g   Q hVP                  4       R8X  g   Q hVP                  e   Q hVP                  e   Q h\        VP                  4      ^8X  g   Q hVP                  ^ ,          P                  R8X  g   Q hR	# )
zxEnsure that auto-discovery is not triggered when the project is based on
C-extensions only, for backward compatibility.
zr
            [build-system]
            requires = []
            build-backend = 'setuptools.build_meta'
        rx   r|   r}   zQ
            [metadata]
            name = proj
            version = 42
        rv   projr   N)r   r   r   r   r   r   r;   r    lenext_modulesr+   )r   r   r   setupcfgrd   s   &&   r!   *test_skip_discovery_with_setupcfg_metadata=TestWithCExtension.test_skip_discovery_with_setupcfg_metadatao  s     	--h7	
 
$	$00i70S
 
K	++DNW+M2&}}&(((!T)))&&&}}$$$4##$)))"''6111r$   c                   V P                  V4       RpVR,          P                  \        V4      RR7       \        P                  ! \
        RR7      ;_uu_ 4        \        V/ 4       RRR4       R#   + '       g   i     R# ; i)af  When opting-in to pyproject.toml metadata, auto-discovery will be active if
the package lists C-extensions, but does not configure py-modules or packages.

This way we ensure users with complex package layouts that would lead to the
discovery of multiple top-level modules/packages see errors and are forced to
explicitly set ``packages`` or ``py-modules``.
zT
            [project]
            name = 'proj'
            version = '42'
        rx   r|   r}   r   r   N)r   r   r   r   r   r   r   )r   r   r   s   && r!   0test_dont_skip_discovery_with_pyproject_metadataCTestWithCExtension.test_dont_skip_discovery_with_pyproject_metadata  se     	--h7	
 
$	$00i70S]]08UVVh# WVVVs   A22B	r.   N)	r/   r0   r1   r2   r   r   r   r3   r4   r5   s   @r!   r   r   M  s     QB28$ $r$   r   c                   .  a  ] tR tRt o R tRtRtRt]P                  P                  RRR]! ]4      /3RR]! ]4      /3R	R]! ]4      /3R	R]! ]4      /3R	R]! ]4      ]! R
4      ,           /3R	R]! ]4      ]! R4      ,           /3.4      R 4       tRtV tR# )TestWithPackageDatai  c                    V R 2V R2V R2.p\        W/ 4       RpVR,          P                  \        V4      RR7       R# )z/proj/__init__.py/proj/file1.txt/proj/nested/file2.txtz/
            global-include *.py *.txt
        zMANIFEST.inr|   r}   Nr   )r   r   src_rootrI   r_   s   &&&  r!   !_simulate_package_with_data_files5TestWithPackageData._simulate_package_with_data_files  sZ    j)*j(j./

 	hr2 
M	!--d8nw-Or$   zd
    [metadata]
    name = proj
    version = 42

    [options]
    include_package_data = True
    z8
    [project]
    name = "proj"
    version = "42"
    z:
    [tool.setuptools]
    package-dir = {"" = "src"}
    r   rv   rx   r   z
                        packages = find:
                        package_dir =
                            =src

                        [options.packages.find]
                        where = src
                        zv
                        [tool.setuptools]
                        package-dir = {"" = "src"}
                        c                <   \         P                  P                  V\        V4      R7       V P	                  W4       \
        P                  P                  V R24      P                  \
        P                  R4      \
        P                  P                  V R24      P                  \
        P                  R4      0p\        V4       \        \        VP                  R4      4      4      p\        R4       \        RP                  V4      4       WT8  g   Q h\        \        VP                  R4      4      4      p\        R	4       \        RP                  V4      4       V Uu0 uF$  qwP                  R
R4      P                  RR4      kK&  	  ppWh8  g   Q hR# u upi )zY
Make sure auto-discovery does not affect package include_package_data.
See issue #3196.
r   r   rN   r   re   rf   rg   rh   ri   r'   r   rj   N)r   r   rc   strr   r[   normpathrZ   r\   rk   r   rl   rm   rn   ro   r   )	r   r   r   rI   expectedrq   rr   rS   rs   s	   &&&&     r!   test_include_package_data-TestWithPackageData.test_include_package_data  sC   T 	%H6..xB GGz9:BB2663OGGz)?@AII"&&RUV

 	8'X]]?-K(LM)*dii$%&&&'X]]<-H(IJ)*dii$%IQRAii+33FB?
R((( Ss   #*Fr.   N)r   rI   )r/   r0   r1   r2   r   EXAMPLE_SETUPCFGEXAMPLE_PYPROJECTPYPROJECT_PACKAGE_DIRr   r   r   r   r   r3   r4   r5   s   @r!   r   r     s     P
 [[;%5 678#T*;%<=>[$'7"89:%t,='>?@&6!7	
"" $d+<&='+!	
$J)K$J)r$   r   c                     . ROp\        W/ 4       \        / 4      p\        4       Vn        VP	                  4        VP
                  e   Q hVP                  e   Q hR# )dir1/__init__.pyN)r   zdir2/__init__.pyzfile.py)rW   r
   objectconfigurationset_defaultsr;   r    )r   rI   rd   s   &  r!   (test_compatible_with_numpy_configurationr     sU    E
 (2.DD??"""==   r$   c                     \         P                  P                  R R/4       \        / 4      pR.Vn        VP                  4        VP                  4        VP                  4       R8X  g   Q hR# )r@   r   z--namer&   N)r   r   rc   r
   script_argsr   parse_command_liner   )
tmpdir_cwdrd   s   & r!   $test_name_discovery_doesnt_break_clir    sX    
KKxn%D zD==?e###r$   c                  aa RRRR//R\        R4      /p\        P                  P                  V4       \	        / 4      oSP
                  P                  oVV3R lpVP                  SP
                  RV4       SP                  4        SP                  4       R	8X  g   Q h\        SP                  4      R08X  g   Q hR
# )zAccording to #3545 it seems that ``name`` discovery is running,
even when the project already explicitly sets it.
This seems to be related to parsing of dynamic versions (via ``attr`` directive),
which requires the auto-discovery of ``package_dir``.
r   r&   r   z__version__ = 42
rx   z
            [project]
            name = "myproj"  # purposefully different from package name
            dynamic = ["version"]
            [tool.setuptools.dynamic]
            version = {"attr" = "pkg.__version__"}
            c                  D   < S! 4        S P                  4       R 8X  g   Q hR# )myprojN)r   )rd   orig_analyse_names   r!   spy_analyse_nameJtest_preserve_explicit_name_with_dynamic_version.<locals>.spy_analyse_name/  s     	}}(***r$   analyse_namer   N)r   r   r   rc   r
   r   r  setattrparse_config_filesr   rp   r    )r  monkeypatchrI   r  rd   r
  s   &&  @@r!   0test_preserve_explicit_name_with_dynamic_versionr    s     	M#78
 	$
	E KKeD))66+ ))>;KL%%%t}}%(((r$   c                    a  R RRRRR/p\         P                  P                  VS R7       \        S V4       V 3R lV 4       pV F0  pVP                  P                  RRR	7       VP                  4        K2  	  R
# )rw   z$import setuptools
setuptools.setup()z	README.mdz# Example PackageLICENSEzCopyright (c) 2018r   c              3   6   <"   T F  pSV,          x  K  	  R # 5irP   r.   )rR   rS   roots   & r!   rU   (_populate_project_dir.<locals>.<genexpr>F  s     %u!TAXXus   Tr   N)r   r   rc   _write_setupcfgparentr   r   )r  rI   rJ   basicpathsr   s   f&&   r!   rW   rW   ;  su    
 	;('E
 KKeD)D'"%u%E46

 r$   c                 (   V'       g   \        R 4       R# \        4       pVP                  R4       VP                  4        F  w  r4VR8X  d2   VP                  RV 24       VRV 2,          P	                  V4       K=  \        V\        4      '       d   RP                  V4      VR,          V&   Kp  \        V\        4      '       d<   RP                  R VP                  4        4       4      pRV,           VR,          V&   K  \        V4      VR,          V&   K  	  \        V R,          R	R
R7      ;_uu_ 4       pVP                  V4       RRR4       \        R4       \        V R,          P                  R
R7      4       R#   + '       g   i     L?; i)z~~~~~ **NO** setup.cfg ~~~~~NrJ   r   zoptions.z, rg   c              3   6   "   T F  w  rR V RV 2x  K  	  R# 5i)	z = Nr.   )rR   kvs   &  r!   rU   "_write_setupcfg.<locals>.<genexpr>Y  s     !K]TQBqcQC.]s   rv   wr|   r}   z~~~~~ setup.cfg ~~~~~)rn   r   add_sectionitemsupdate
isinstancelistro   dictr   openwriter   )r  rJ   r   keyvalue	str_valuerS   s   &&     r!   r  r  L  s8   ,-~H#mmo
/!  8C5!12xu%&--e4t$$'+yy'7HY$t$$		!KU[[]!KKI'+i'7HY$'*5zHY$ & 
d[ #	8	8Aq 
9	
!"	4+
(
('
(
:; 
9	8s   8FF	c                 b    \         P                  R RR.VO\        V 4      Np\        VRR/R7      # )z-mrc   z--no-isolationDISTUTILS_DEBUGr   )env)sys
executabler   r   )r   flagsr^   s   &* r!   rk   rk   c  s6    >>4*:
NU
NCI
NCs*B/00r$   c                 0   R P                  \        P                  P                  V 4      4      pV R,          pVP	                  4       '       dN   \        V 4      ;_uu_ 4        \        \        \        P                  P                  R/ RR7      4      pRRR4       M\        V4      pVXn        RVn        \        V 4      ;_uu_ 4        VP                  4        RRR4       VP                  4        V#   + '       g   i     L\; i  + '       g   i     L5; i)rN   rw   init)
stop_afterN)ro   r[   r   splitr   r   r   r
   	distutilscore	run_setupr   script_namer  r   )	dist_pathattrsr  scriptrd   s   &&   r!   r   r   h  s    88BGGMM),-D#F}})__((RF(KD _ E"DM!D	i! 
 	K _ 
s   !1C2D2D	D	c           	         \        W4      p\        V4      pVP                  4        VP                  P                  '       g   VP                  P
                  '       g   Q h\        4       ;_uu_ 4        \        V 4      ;_uu_ 4        VP                  4        R R R 4       R R R 4       W#3#   + '       g   i     L; i  + '       g   i     Y#3# ; irP   )	r   r   ensure_finalizeddistributionr    r;   r   r   r   )r;  r<  rd   r^   s   &&  r!   rX   rX   ~  s    Y&D
+C$$$(8(8(C(C(CCC	$y//	 " 9 "/ 9s$   3B>B+	B>+B;6B>>C	)/r[   r0  configparserr   	itertoolsr   typingr   jaraco.pathr   r   r   r   r   setuptools.command.sdistr   setuptools.discoveryr   r	   setuptools.distr
   setuptools.errorsr   contextsr   integration.helpersr   r   r   textwrapr   distutils.corer7  r   r8   r   r   r   r   r  r  r  rW   r  rk   r   rX   r.   r$   r!   <module>rM     s    	 
 %       * G ( 3  J J  L L&T' T'n# #6-/ -/`O$ O$d^) ^)B!$!)H"<.1
,	r$   