gUp8ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlmZmZddlmZmZddlmZmZddlmZmZddlmZmZddlmZdd l m!Z!dd l"m#Z#dd l m$Z$dd l%m&Z&m'Z'm(Z(m)Z)gd Z*Gdde+Z,GddZ-GddZ.Gdde.Z/Gdde0Z1GddejdZ3GddZ4GddZ5Gdde5Z6Gd d!e#Z7Gd"d#Z8Gd$d%Z9Gd&d'Z:Gd(d)e7Z;Gd*d+e6Zd.ej:fd/Z?d0Z@e jeejd12ZC d.e1fd3ZDd4ZEd5ZFd.e'eGe&eGffd6ZHd7ZId8ZJy)9N) _adapters_meta)FreezableDefaultDictPair) method_cache pass_none)always_iterableunique_everseen)PackageMetadata SimplePath)suppress) import_module)MetaPathFinder)starmap)ListMappingOptionalcast) DistributionDistributionFinderr PackageNotFoundError distribution distributions entry_pointsfilesmetadatapackages_distributionsrequiresversionc&eZdZdZdZedZy)rzThe package was not found.c d|jS)Nz"No package metadata was found for nameselfs B/opt/alt/python312/lib64/python3.12/importlib/metadata/__init__.py__str__zPackageNotFoundError.__str__3s3DII;??c"|j\}|SN)argsr&r$s r'r$zPackageNotFoundError.name6s)) r)N)__name__ __module__ __qualname____doc__r(propertyr$r)r'rr0s$@r)rceZdZdZej dj ZedZ e ddZ e dZ y) Sectioneda A simple entry point config parser for performance >>> for item in Sectioned.read(Sectioned._sample): ... print(item) Pair(name='sec1', value='# comments ignored') Pair(name='sec1', value='a = 1') Pair(name='sec1', value='b = 2') Pair(name='sec2', value='a = 2') >>> res = Sectioned.section_pairs(Sectioned._sample) >>> item = next(res) >>> item.name 'sec1' >>> item.value Pair(name='a', value='1') >>> item = next(res) >>> item.value Pair(name='b', value='2') >>> item = next(res) >>> item.name 'sec2' >>> item.value Pair(name='a', value='2') >>> list(res) [] zm [sec1] # comments ignored a = 1 b = 2 [sec2] a = 2 cJd|j||jDS)Nc3K|]?}|j1|jtj|jAyw)N)value)r$_replacerparser8).0sections r' z*Sectioned.section_pairs..gs= <||'   4::gmm#<  =linesr$r8 section_matchs r'r?zSectioned.readmsrwCIIt/@ ABE!,,S1IennS6IM{{4(tU# # sBBc.|xr|jd S)N#)rL)lines r'r@zSectioned.validxs0DOOC000r)r+) r.r/r0r1textwrapdedentlstrip_sample classmethodrC staticmethodr?r@r3r)r'r5r5<sf8hoo   fh   $$11r)r5cVeZdZdZej ejdedZ dZ y)DeprecatedTuplea Provide subscript item access for backward compatibility. >>> recwarn = getfixture('recwarn') >>> ep = EntryPoint(name='name', value='value', group='group') >>> ep[:] ('name', 'value', 'group') >>> ep[0] 'name' >>> len(recwarn) 1 zAEntryPoint tuple interface is deprecated. Access members by name. stacklevelcH|j|j|Sr+)_warn_key)r&items r' __getitem__zDeprecatedTuple.__getitem__s yy{4  r)N) r.r/r0r1 functoolspartialwarningswarnDeprecationWarningr_rbr3r)r'rZrZ}s0  I   K  E!r)rZceZdZUdZej dZ eed<eed<eed<dZ e ded<d Z d Z e d Ze d Ze d ZdZdZdZdZdZdZdZdZy) EntryPointaAn entry point as defined by Python packaging conventions. See `the packaging docs on entry points `_ for more information. >>> ep = EntryPoint( ... name=None, group=None, value='package.module:attr [extra1, extra2]') >>> ep.module 'package.module' >>> ep.attr 'attr' >>> ep.extras ['extra1', 'extra2'] zH(?P[\w.]+)\s*(:\s*(?P[\w.]+)\s*)?((?P\[.*\])\s*)?$r$r8groupNrdistc>t|j|||y)Nr$r8rjvarsupdate)r&r$r8rjs r'__init__zEntryPoint.__init__s T t5>r)c|jj|j}t|j d}t d|j dxsdj d}tjt||S)zLoad the entry point from its definition. If only a module is indicated by the value, return that module. Otherwise, return the named object. moduleNattr.) patternmatchr8rrjrGsplitrcreducegetattr)r&rxrsattrss r'loadzEntryPoint.loadsi  ""4::.u{{845tekk&17R>>sCD77r)cn|jj|j}|jdS)Nrsrwrxr8rjr&rxs r'rszEntryPoint.modules) ""4::.{{8$$r)cn|jj|j}|jdS)Nrtrrs r'rtzEntryPoint.attrs) ""4::.{{6""r)c|jj|j}tjd|j dxsdS)Nz\w+extrasru)rwrxr8refindallrjrs r'rzEntryPoint.extrass9 ""4::.zz&%++h"7"=2>>r)c<t|j||S)Nrkrn)r&rks r'_forzEntryPoint._fors T t$ r)c ~fd|D}tttj|j |S)a$ EntryPoint matches the given parameters. >>> ep = EntryPoint(group='foo', name='bar', value='bing:bong [extra1, extra2]') >>> ep.matches(group='foo') True >>> ep.matches(name='bar', value='bing:bong [extra1, extra2]') True >>> ep.matches(group='foo', name='other') False >>> ep.matches() True >>> ep.matches(extras=['extra1', 'extra2']) True >>> ep.matches(module='bing') True >>> ep.matches(attr='bong') True c36K|]}t|ywr+r{)r;paramr&s r'r=z%EntryPoint.matches..s:6%u%6s)allrHoperatoreqvalues)r&paramsr|s` r'matcheszEntryPoint.matchess-(;6:3x{{FMMOU;<BZZN! % r)c4t|jSr+)hashr`r%s r'__hash__zEntryPoint.__hash__ sDIIK  r))r.r/r0r1rcompilerwrI__annotations__rkrrqr}r2rsrtrrrr`rrrrrr3r)r'riris bjj %G  I J J%)D(> ")?8%%##??=.1*+B !r)ric`eZdZdZdZdZdZedZedZ e dZ e dZ y ) EntryPointszC An immutable collection of selectable EntryPoint objects. r3c| tt|j|S#t$r t |wxYw)z; Get the EntryPoint in self matching name. r#)nextiterselect StopIterationKeyErrorr-s r'rbzEntryPoints.__getitem__s; !T[[d[345 5 !4.  !s#&;c ,tfd|DS)zv Select entry points from self that match the given parameters (typically group and/or name). c3HK|]}|jdis|yw)Nr3)r)r;eprs r'r=z%EntryPoints.select..&s"E"  0DV0D2s"")r)r&rs `r'rzEntryPoints.select!s EEEEr)c@|Dchc]}|jc}Scc}w)zB Return the set of all names of all entry points. r#r&rs r'nameszEntryPoints.names(s #''$B$'''c@|Dchc]}|jc}Scc}w)zC Return the set of all groups of all entry points. )rjrs r'groupszEntryPoints.groups/s $((4R4(((rcD|fd|j|DS)Nc3@K|]}|jywr+)r)r;rrks r'r=z-EntryPoints._from_text_for..8s@+?R2774=+?) _from_text)rArBrks `r'_from_text_forzEntryPoints._from_text_for6s@3>>$+?@@@r)cBdtj|xsdDS)Nc3K|]D}t|jj|jj|jFyw)rmN)rir8r$)r;ras r'r=z)EntryPoints._from_text..<s: ; DJJOO4::3C3C499 U U;sA A ru)r5rC)rBs r'rzEntryPoints._from_text:s# !// ;  r)N)r.r/r0r1 __slots__rbrr2rrrWrrXrr3r)r'rrskI!F(( )) AA  r)rc$eZdZdZddZdZdZy) PackagePathz"A reference to a path in a packagec|jj|5}|jcdddS#1swYyxYw)Nencodinglocateopenr?)r&rstreams r' read_textzPackagePath.read_textEs0 [[]    2f;;=3 2 2s ;Ac|jjd5}|jcdddS#1swYyxYw)Nrbr)r&rs r' read_binaryzPackagePath.read_binaryIs- [[]   %;;=& % %s :Ac8|jj|S)z'Return a path-like object for this path)rk locate_filer%s r'rzPackagePath.locateMsyy$$T**r)N)utf-8)r.r/r0r1rrrr3r)r'rrBs,!!+r)rceZdZdZdZy)FileHashcB|jd\|_}|_y)N=) partitionmoder8)r&spec_s r'rqzFileHash.__init__Ss#'>>##6  1djr)c<d|jd|jdS)Nz)rr8r%s r'rzFileHash.__repr__Vs!$))HTZZLBBr)N)r.r/r0rqrr3r)r'rrRs 7Cr)rceZdZfdZxZS)DeprecatedNonAbstractc .tj|Dchc]}t|D]}|}}}|Dchc]}tt||ddr|}}|rt j d|t dt|!|Scc}}wcc}w)N__isabstractmethod__FzUnimplemented abstract methods r[r\) inspectgetmroror{rerfrgsuper__new__)rAr,kwargssubclassr$ all_namesabstract __class__s r'rzDeprecatedNonAbstract.__new__[s!(!4 !4XhDD!4  " !wsD)+A5I !   MM1(<"  ws##  s B  B)r.r/r0r __classcell__rs@r'rrZs $$r)rcreZdZdZej deefdZej dZ e defdZ e dZ e dZe d Zedej$fd Zed Zed Zed ZedZedZdZdZdZedZdZdZe dZe dZ y)rzA Python distribution package.returncy)zAttempt to load metadata file given by the name. :param filename: The name of the file in the distribution info. :return: The text if found, otherwise None. Nr3r&filenames r'rzDistribution.read_textpr)cy)z[ Given a path to a file in this distribution, return a path to it. Nr3r&paths r'rzDistribution.locate_filexrr)r$c|s td t|j|S#t$r t |wxYw)aReturn the Distribution for the given package name. :param name: The name of the distribution package to search for. :return: The Distribution instance (or subclass thereof) for the named package, if found. :raises PackageNotFoundError: When the named package's distribution metadata cannot be found. :raises ValueError: When an invalid value is supplied for name. z A distribution name is required.r#) ValueErrorrdiscoverrr)rAr$s r' from_namezDistribution.from_namesH?@ @ - $ /0 0 -&t, , -s*?c |jddr |r tdxstjdi|tj j fd|jDS)aReturn an iterable of Distribution objects for all packages. Pass a ``context`` or pass keyword arguments for constructing a context. :context: A ``DistributionFinder.Context`` object. :return: Iterable of Distribution objects for all packages. contextNz cannot accept context and kwargsc3.K|] }|ywr+r3)r;resolverrs r'r=z(Distribution.discover..s- .G(HW .Gsr3)poprrContext itertoolschain from_iterable_discover_resolvers)rArrs @r'rzDistribution.discoversl**Y- v?@ @A/77A&A,,- .1.E.E.G-   r)c>ttj|S)zReturn a Distribution for the indicated metadata path :param path: a string or path-like object :return: a concrete Distribution instance for the path )PathDistributionpathlibPathrs r'atzDistribution.ats  T 233r)cHdtjD}td|S)z#Search the meta_path for resolvers.c36K|]}t|ddyw)find_distributionsNr)r;finders r'r=z3Distribution._discover_resolvers..s FSFGF0$ 7msN)sys meta_pathrG)declareds r'rz Distribution._discover_resolverss$ FImm dH%%r)c|jdxs$|jdxs|jd}tt|}tjt j |S)zReturn the parsed metadata for this Distribution. The returned object will have keys that name the various bits of metadata. See PEP 566 for details. METADATAzPKG-INFOru)rrrIrMessageemailmessage_from_string)r&opt_textrBs r'rzDistribution.metadatasc NN: & "~~j) " ~~b! C"  !:!:4!@AAr)c |jdS)z8Return the 'Name' metadata for the distribution package.Namerr%s r'r$zDistribution.names}}V$$r)c@tj|jS)z(Return a normalized version of the name.)Prepared normalizer$r%s r'_normalized_namezDistribution._normalized_names!!$)),,r)c |jdS)z;Return the 'Version' metadata for the distribution package.Versionrr%s r'r zDistribution.versions}}Y''r)cLtj|jd|S)Nzentry_points.txt)rrrr%s r'rzDistribution.entry_pointss))$..9K*LdSSr)cdfd tfd}td}||jxs"jxsjS)aZFiles in this distribution. :return: List of PackagePath for this distribution or None Result is `None` if the metadata file that enumerates files (i.e. RECORD for dist-info, or installed-files.txt or SOURCES.txt for egg-info) is missing. Result may be empty if the metadata exists but is empty. c|t|}|r t|nd|_|r t|nd|_|_|Sr+)rrrintsizerk)r$rsize_strresultr&s r' make_filez%Distribution.files..make_files7 &F,0(4.dFK+3#h-FKFKMr)cBttj|Sr+)rcsvreader)rNr"s r' make_filesz&Distribution.files..make_filess9cjj&78 8r)c.ttd|S)Nc>|jjSr+)rexistsrs r'z@Distribution.files..skip_missing_files..sDKKM,@,@,Br))listrG) package_pathss r'skip_missing_filesz.Distribution.files..skip_missing_filessBMRS Sr))NN)r _read_files_distinfo_read_files_egginfo_installed_read_files_egginfo_sources)r&r&r-r"s` @r'rzDistribution.filessw   9  9  T  T" ))+65576335   r)cL|jd}|xr|jS)z* Read the lines of RECORD RECORD)rrKr&rBs r'r.z!Distribution._read_files_distinfos$~~h')))r)cjd}tdd|rsyfd|jD}tdj|S)a Read installed-files.txt and return lines in a similar CSV-parsable format as RECORD: each file must be placed relative to the site-packages directory and must also be quoted (since file names can contain literal commas). This file is written when the package is installed by pip, but it might not be written for other installation methods. Assume the file is accurate if it exists. zinstalled-files.txt_pathNc3K|]S}|z jjjdjdjUyw)ruT)walk_upN)resolve relative_toras_posix)r;r$r&subdirs r'r=z=Distribution._read_files_egginfo_installed..sV * d] WY [))"-557[ F XZ *sAA"{}")rr{rKrHformat)r&rBpathsr;s` @r'r/z*Distribution._read_files_egginfo_installedsW~~34w-6  )  6==%((r)ct|jd}|xr$tdj|jS)a Read SOURCES.txt and return lines in a similar CSV-parsable format as RECORD: each file name must be quoted (since it might contain literal commas). Note that SOURCES.txt is not a reliable source for what files are installed by a package. This file is generated for a source archive, and the files that are present there (e.g. setup.py) may not correctly reflect the files that are present after the package has been installed. z SOURCES.txtr<)rrHr=rKr3s r'r0z(Distribution._read_files_egginfo_sourcess/~~m,=FMM4??+<==r)cd|jxs|j}|xr t|S)z6Generated requirements specified for this Distribution)_read_dist_info_reqs_read_egg_info_reqsr+)r&reqss r'rzDistribution.requires.s/((*Hd.F.F.H"T "r)c8|jjdS)Nz Requires-Dist)rget_allr%s r'rAz!Distribution._read_dist_info_reqs4s}}$$_55r)cZ|jd}t|j|S)Nz requires.txt)rr _deps_from_requires_text)r&sources r'rBz Distribution._read_egg_info_reqs7s(/7y667??r)cJ|jtj|Sr+)%_convert_egg_info_reqs_to_simple_reqsr5r?)rArHs r'rGz%Distribution._deps_from_requires_text;s889OPPr)c#Kdfd}d}|D]8}||j}|j|z||jz:yw)a Historically, setuptools would solicit and store 'extra' requirements, including those with environment markers, in separate sections. More modern tools expect each dependency to be defined separately, with any relevant extras and environment markers attached directly to that requirement. This method converts the former to the latter. See _test_deps_from_requires_text for an example. c|xrd|dS)Nz extra == ""r3r#s r'make_conditionzJDistribution._convert_egg_info_reqs_to_simple_reqs..make_conditionKs0ja0 0r)c |xsd}|jd\}}}|r|rd|d}ttd||g}|rddj|zSdS)Nru:(rz; z and )rr+rGjoin)r<extrasepmarkers conditionsrNs r' quoted_markerzIDistribution._convert_egg_info_reqs_to_simple_reqs..quoted_markerNskmG")"3"3C"8 E3gYa.fTG^E5J+KLMJ6@4',,z22 Hb Hr)cdd|vzS)z PEP 508 requires a space between the url_spec and the quoted_marker. Ref python/importlib_metadata#357.  @r3)reqs r' url_req_spacezIDistribution._convert_egg_info_reqs_to_simple_reqs..url_req_spaceVs #*% %r)N)r8r$)sectionsrWr\r<spacerNs @r'rJz2Distribution._convert_egg_info_reqs_to_simple_reqs?sN 1 I & G!'--0E--%'- *EE E sA A N)!r.r/r0r1abcabstractmethodrrIrrrWrrrXrrr2rr rr$rr rrr.r/r0rrArBrGrJr3r)r'rrms~( Xc]     -S--"  "44&&B%//BB"%%--((TT    D*)8 >## 6@QQ F Fr)rcVeZdZdZGddZej efdZy)rzJ A MetaPathFinder capable of discovering installed distributions. c,eZdZdZdZ dZedZy)DistributionFinder.Contextaw Keyword arguments presented by the caller to ``distributions()`` or ``Distribution.discover()`` to narrow the scope of a search for distributions in all DistributionFinders. Each DistributionFinder may expect any parameters and should attempt to honor the canonical parameters defined below when appropriate. Nc 8t|j|yr+rn)r&rs r'rqz#DistributionFinder.Context.__init__zs J  f %r)cTt|jdtjS)z The sequence of directory path that a distribution finder should search. Typically refers to Python installed package paths such as "site-packages" directories and defaults to ``sys.path``. r)rogetr rr%s r'rzDistributionFinder.Context.path}s:>>&#((3 3r))r.r/r0r1r$rqr2rr3r)r'rrchs,   &  4  4r)rcy)z Find distributions. Return an iterable of all Distribution instances capable of loading the metadata for packages matching the ``context``, a DistributionFinder.Context instance. Nr3)r&rs r'rz%DistributionFinder.find_distributionsrr)N)r.r/r0r1rr_r`rr3r)r'rrcs144@ )0  r)rceZdZdZej fdZdZdZdZ dZ dZ e dZ ed ZxZS) FastPathzs Micro-optimized class for searching a path for children. >>> FastPath('').children() ['...'] c"t||Sr+)rr)rArootrs r'rzFastPath.__new__sws##r)c||_yr+)rk)r&rks r'rqzFastPath.__init__s  r)cBtj|j|Sr+)rrrk)r&childs r'joinpathzFastPath.joinpaths||DIIu--r)ctt5tj|jxsdcdddS#1swYnxYwtt5|j cdddS#1swYgSxYwNrv)r Exceptionoslistdirrk zip_childrenr%s r'childrenzFastPath.childrensP i ::dii.3/! i $$&!  s#=AA22A<ctj|j}|jj}|j|_t j d|DS)Nc3bK|]'}|jtjdd)yw)rrN)ry posixpathrT)r;rns r'r=z(FastPath.zip_children..s%Q5%U[[:1=5s-/)zipfilerrknamelistrodictfromkeys)r&zip_pathrs r'ruzFastPath.zip_childrensH<< * &&( )) }}Q5QQQr)cV|j|jj|Sr+)lookupmtimesearchr-s r'rzFastPath.searchs {{4::&--d33r)ctt5tj|jj cdddS#1swYnxYw|j jyr+)rOSErrorrsstatrkst_mtimer cache_clearr%s r'rzFastPath.mtimes< g 77499%..   !s )AA ct|Sr+)Lookup)r&rs r'rzFastPath.lookups d|r))r.r/r0r1rc lru_cacherrqrorvrurr2rrrrrs@r'ririsiY$$.R4"" r)riceZdZdefdZdZy)rrcltjj|jj }|j d}t t|_t t|_ |jD]}|j }|j dri|jddjdd}tj|}|j|j|j!||s|dk(s|jddjdd}tj#|}|j|j|j!||jj%|jj%y)Nz.eggz .dist-infoz .egg-inforvr-zegg-info)rsrbasenamerklowerrMrr+infoseggsrv rpartitionrrrappendrolegacy_normalizefreeze) r&rbase base_is_eggrnlowr$ normalizedlegacy_normalizeds r'rqzLookup.__init__sEww *002mmF+ )$/ (. ]]_E++-C||78~~c*1-77.s- .BdDKK !.Br)rrrrrHri)rAr$r>rs @r'rz MetadataPathFinder._search_pathss9D>,,- .1(E.B-   r)c@tjjyr+)rirr)rAs r'invalidate_cachesz$MetadataPathFinder.invalidate_cachess$$&r)N) r.r/r0rWrrrrrr3r)r'rrsH(:(B(B(D , ,  ''r)rceZdZdefdZdZej je_dZe fdZ e dZ xZ S)rrc||_y)zfConstruct a distribution. :param path: SimplePath indicating the metadata directory. N)r5rs r'rqzPathDistribution.__init__$s  r)ctttttt 5|j j|jdcdddS#1swYyxYw)Nrr) rFileNotFoundErrorIsADirectoryErrorrNotADirectoryErrorPermissionErrorr5rorrs r'rzPathDistribution.read_text+sK        ::&&x0::G:L   s +AA"c4|jj|z Sr+)r5parentrs r'rzPathDistribution.locate_file7szz  4''r)ctjjt|j}t t j|j|xs t|(S)zz Performance optimization: where possible, resolve the normalized name from the file system path. ) rsrrrIr5r rr_name_from_stemrr)r&stemrs r'rz!PathDistribution._normalized_name:sS wwDJJ0 )Ih(( )$*>*>t*D E (w' r)c~tjj|\}}|dvry|jd\}}}|S)a7 >>> PathDistribution._name_from_stem('foo-3.0.egg-info') 'foo' >>> PathDistribution._name_from_stem('CherryPy-3.0.dist-info') 'CherryPy' >>> PathDistribution._name_from_stem('face.egg-info') 'face' >>> PathDistribution._name_from_stem('foo.bar') rNr)rsrsplitextr)rrextr$rTrests r'rz PathDistribution._name_from_stemFsC((. # 1 1 ",,S1c4 r))r.r/r0r rqrrr1rr2rrXrrrs@r'rr#sXZM%..66I(    r)rc,tj|S)zGet the ``Distribution`` instance for the named package. :param distribution_name: The name of the distribution package as a string. :return: A ``Distribution`` instance (or subclass thereof). )rrdistribution_names r'rrXs  ! !"3 44r)c ,tjdi|S)z|Get all ``Distribution`` instances in the current environment. :return: An iterable of ``Distribution`` instances. r3)rr)rs r'rras  *6 **r)rc@tj|jS)zGet the metadata for the named package. :param distribution_name: The name of the distribution package to query. :return: A PackageMetadata containing the parsed metadata. )rrrrs r'rris  ! !"3 4 = ==r)c,t|jS)zGet the version string for the named package. :param distribution_name: The name of the distribution package to query. :return: The version string for the package as defined in the package's "Version" metadata key. )rr rs r'r r rs ) * 2 22r)r)keyc tjjdtt D}t |j di|S)aReturn EntryPoint objects for all installed packages. Pass selection parameters (group or name) to filter the result to entry points matching those properties (see EntryPoints.select()). :return: EntryPoints for all installed packages. c34K|]}|jywr+)r)r;rks r'r=zentry_points..s(&>d&>sr3)rrr_uniquerrr)repss r'rrsI // ' '(&-mo&>( C #;s  " " ,V ,,r)c,t|jS)zReturn a list of files for the named package. :param distribution_name: The name of the distribution package to query. :return: List of files composing the distribution. )rrrs r'rrs ) * 0 00r)c,t|jS)z Return a list of requirements for the named package. :return: An iterator of requirements, suitable for packaging.requirement.Requirement. )rrrs r'rrs ) * 3 33r)ctjt}tD]@}t |xs t |D]#}||j |jd%Bt|S)z Return a mapping of top-level packages to their distributions. >>> import collections.abc >>> pkgs = packages_distributions() >>> all(isinstance(dist, collections.abc.Sequence) for dist in pkgs.values()) True r) collections defaultdictr+r_top_level_declared_top_level_inferredrrr|) pkg_to_distrkpkgs r'rrsg))$/K&t,I0CD0IIC   # #DMM&$9 :J   r)cH|jdxsdjS)Nz top_level.txtru)rryrs r'rrs NN? + 1r 8 8 ::r)ct|jDchc]>}t|jdkDr|jdnt j |@}}t d}t||Scc}w)Nrrc d|vSrqr3r#s r'importable_namez,_top_level_inferred..importable_names $r))r rlenpartsr getmodulenamer rG)rkf opt_namesrs r'rrs|!,,A!''lQ& G,A,A!,DD,  /9 --sAA5)Krsrr_r$r rrrzrrSrercrry contextlibrrrurr _collectionsrr _functoolsrr _itertoolsr r r r r importlibr importlib.abcrrtypingrrrr__all__ModuleNotFoundErrorrr5rZritupler PurePosixPathrrrrrrirrrrrrrr rd attrgetterrrrrrIrrrr3r)r'rs 4/8.#(00  . >1>1B!!6v!v!r. %. b +''' + CC$$&sF(sFl- - `,,^!,!,HD'+'62|2j5+>5#8#8>3 )  ./  -k -14T#Y 7"; .r)