a0bi ZSSKrSSKr"SS5rSr\"\\5R 5 g)NcZ\rSrSrSrS Sjr\S5rSrSr Sr S r SS jr S r S rg)VendorImporterzx A PEP 302 meta path importer for finding optionally-vendored or otherwise naturally-installed packages from root_name. NcpXl[U5UlU=(d URSS5Ulg)Nextern_vendor) root_namesetvendored_namesreplace vendor_pkg)selfr r r s ږ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pkg_resources/extern/__init__.py__init__VendorImporter.__init__ s-"!.1$N (9(9(I(Nc#6# URS-v Sv g7f)z< Search first the vendor package then as a natural package. .N)r rs r search_pathVendorImporter.search_paths oo##scURURS-5up#nU(+=(a) [[URUR 55$)z,Figure out if the target module is vendored.r) partitionr anymap startswithr )rfullnamerootbasetargets r_module_matches_namespace(VendorImporter._module_matches_namespacesE%//0DEFxLCF$5$5t7J7J KLLrcBURURS-5up#nURH;nXT-n[U5 [R UnU[R U'Us $ [ SR"S0[5D65e![ a Mof=f)z; Iterate over the search path to locate and load fullname. rzThe '{target}' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.) rr r __import__sysmodules ImportErrorformatlocals)rrrr r!prefixextantmods r load_moduleVendorImporter.load_modules&//0DEF&&F 6"kk&)(+ H% ' !''3*03   s6B BBc8URUR5$N)r/name)rspecs r create_moduleVendorImporter.create_module3s **rcgr2r%)rmodules r exec_moduleVendorImporter.exec_module6s rcpURU5(a[RRX5$S$)z(Return a module spec for vendored names.N)r" importlibutilspec_from_loader)rrpathr!s r find_specVendorImporter.find_spec9s8--h77 NN + +H ;  rclU[R;a [RRU5 gg)zB Install this importer into sys.meta_path if not already present. N)r' meta_pathappendrs rinstallVendorImporter.installAs' s}} $ MM  & %r)r r r )r%N)NN)__name__ __module__ __qualname____firstlineno____doc__rpropertyrr"r/r5r9r@rE__static_attributes__r%rrrrs@ O M ,+  'rr) packaging platformdirsjaracoimportlib_resourcesmore_itertools)importlib.utilr<r'rnamesrGrEr%rrrUs4 A'A'H x'')r