a0bizSrSSKrSSKrSSKrSSKrSSKrSSKJr SSKr /r Sr Sr Sr SrSrS rS rS rg) z Monkey patching of distutils. N) import_modulec[R"5S:XaU4UR-$[R"U5$)aU Returns the bases classes for cls sorted by the MRO. Works around an issue on Jython where inspect.getmro will not return all base classes if multiple classes share the same name. Instead, this function will return a tuple containing the class itself, and the contents of cls.__bases__. See https://github.com/pypa/setuptools/issues/1024. Jython)platformpython_implementation __bases__inspectgetmro)clss ڊ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/monkey.py_get_mror s5%%'83v %% >># c[U[5(a[O'[U[R5(a[ OSnU"U5$)Ncg)N)items r get_unpatched..*s$r) isinstancetypeget_unpatched_classtypes FunctionTypeget_unpatched_function)rlookups r get_unpatchedr$sD dD ! !  dE.. / /$    $<rcS[U55n[U5nURRS5(dSU-n[ U5eU$)zProtect against re-patching the distutils if reloaded Also ensures that no other distutils extension monkeypatched the distutils first. c3h# UH(oRRS5(aM$Uv M* g7f) setuptoolsN) __module__ startswith).0r s r &get_unpatched_class..5s$$NN,E,El,S}s#2 2 distutilsz(distutils has already been patched by %r)r nextr r!AssertionError)r external_basesbasemsgs r rr/sP }N  D ?? % %k 2 283>S!! KrcSSKnUR[Rl[R S:*nU(aUR [RlS[R s=:=(a S:Os =(d# S[R s=:=(a S:*Os nU(a!SnU[RRl [5 [R[R[R4HnURRUlM URR [RlURR [RlS[R";a,URR [R"Sl[%5 g)Nr)r,)r,)r,r.)r,r-zhttps://upload.pypi.org/legacy/zdistutils.command.build_ext)rCommandr%coresys version_infofindallfilelistconfig PyPIRCCommandDEFAULT_REPOSITORY_patch_distribution_metadatadistcmd Distribution extension Extensionmodules#patch_for_msvc_specialized_compiler)rhas_issue_12885needs_warehouse warehousemodules r patch_allrE?sF(//INN&&)3O%/%7%7 "s//;;);&@ @&@&&@&O 5 SnX!RS5-n[TU5n[U5n[XQ5(d [ U5eXEU4$)zD Prepare the parameters for patch_func to patch indicated function. msvc14__)lstriprNrhasattr ImportError)mod_namerY repl_prefix repl_namereplmodmsvcs r patch_params9patch_for_msvc_specialized_compiler..patch_paramssT "2"23"77 tY'H%s&&i( ()##rzdistutils._msvccompiler _get_vc_env)rrsystem functoolspartialr[re)rlmsvc14rks @r r@r@s` * +DI% $  |-F GF F=)*    sA A! A!)__doc__rpr rr2r importlibrdistutils.filelistr%__all__r rrrEr9r[rr@rrr rwsW #    #*L D0"+ r