a0bi Z S SK rS SKr " S S5 rSr\" \\5 R 5 g) Nc Z \ rS rSrSrS S jr\S 5 rS rS r S r S rSS jrS r Srg)VendorImporter zx A PEP 302 meta path importer for finding optionally-vendored or otherwise naturally-installed packages from root_name. Nc p Xl [ U5 U l U=( d UR SS5 U l g )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(N c # 6 # U R S- v Sv g7f)z< Search first the vendor package then as a natural package. . N)r r s r search_pathVendorImporter.search_path s oo##s c UR U R S- 5 u p#nU( + =( a) [ [ UR U R 5 5 $ )z,Figure out if the target module is vendored.r ) partitionr anymap startswithr )r fullnamerootbasetargets r _module_matches_namespace(VendorImporter._module_matches_namespace sE %//0DEFxLCF$5$5t7J7J KLLr c B UR U R S- 5 u p#nU R H; n XT- n[ U5 [ R U nU[ R U' Us $ [ SR " S0 [ 5 D65 e! [ a Mo f = f)z; Iterate over the search path to locate and load fullname. r zThe '{target}' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution. ) r r r __import__sysmodulesImportErrorformatlocals)r r r r r! prefixextantmods r load_moduleVendorImporter.load_module s &//0DEF&&F 6"kk&)(+H% ' !'' 3 *03 s 6B BBc 8 U R UR 5 $ N)r/ name)r specs r create_moduleVendorImporter.create_module3 s **r c g r2 r% )r modules r exec_moduleVendorImporter.exec_module6 s r c p U R U5 ( a [ R R X5 $ S$ )z(Return a module spec for vendored names.N)r" importlibutilspec_from_loader)r r pathr! s r find_specVendorImporter.find_spec9 s8 --h77 NN++H; r c l U [ R ; a [ R R U 5 gg)zB Install this importer into sys.meta_path if not already present. N)r' meta_pathappendr s r installVendorImporter.installA s' s}}$MM & %r )r r r )r% N)NN)__name__ __module____qualname____firstlineno____doc__r propertyr r" r/ r5 r9 r@ rE __static_attributes__r% r r r r s@ O M ,+ 'r r ) packagingplatformdirsjaracoimportlib_resourcesmore_itertools)importlib.utilr<