§ 1jíã óŠ—UdZddlmZddlZejdkr ed¦«‚ddlZddlZddlZ ddl Z ddl Z ddl Z ddl Z ddlZ ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl!m"Z"m#Z#m$Z$m%Z%ddlm&Z&ddl'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2ej3 4ej3 5ej3 6ej3 6e7¦«¦«d d ¦«xZ8ej3ve8gz¦«ej9 :d d¦«dd lm;Zm?Z?m@Z@ ddlmAZAmBZBmCZCdZDn #eE$rdZDYnwxYwddlFZGddlHZGddlIZGddlJZGddlKZGddlLmMZMmNZNmOZOddlPmQZRe(rddlSmTZTmUZUmVZVddlWmXZXddlYmZZZm[Z[ej\de]d¬¦«e0d¦«Z^e0dd¬¦«Z_e1e`e"e1e`e"dffZadebd<e+dgdfZcdebd <e+dge1d!fZddebd"<e1e`dfZedebd#<e1deefZfdebd$<e1d%Zgdebd&<e)Zhdebd'<e)Zidebd(<e1ejejkfZldebd)<e+e)gd*fZmdebd+<e+e^e`enge"dfZodebd,<e+e^e`e`ejkge1e`dffZpdebd-<e0d.eoe)emepe)¦«ZqGd/„d0e/¦«Zrejsd1ejt¦«ZuGd2„d3ev¦«ZweGjxjyZziZ{d4ebd5<�dd;„Z|�dd=„Z}�dd?„Z~d@„Z�ddB„Z€dC„Z��ddD„Z‚dE„xZƒZ„dF„Z…gdG¢Z†GdH„dIe‡¦«ZˆGdJ„dKeˆ¦«Z‰GdL„dMe‰¦«ZŠGdN„dOeˆ¦«Z‹GdP„dQeˆ¦«ZŒiZ�dRebdS<ejjŽ›dTejj�›�Z�dUZ‘dZ’dVZ“dZ”dWZ•�dd[„Z–e2�dd]„¦«Z—e2�dd^„¦«Z—�dda„Z—e j˜db„¦«Z™dc„Zšdd„Z›ejsde¦«Zœejsdf¦«Z�e›Zž�ddk„ZŸe2�ddm„¦«Z e2�d dn„¦«Z �d!dp„Z �d"ds„Z¡e2 �d#�d$du„¦«Z¢e2�d%dw„¦«Z¢�d#�d&dx„Z¢�d'dz„Z£Gd{„d|e/¦«Z¤Gd}„d*e¤e/¦«Z¥Gd~„d¦«Z¦Gd€„d�e§de¨e`d‚ff¦«Z©Gdƒ„d„¦«ZªeªZ«Gd…„d†e¦«Z¬Gd‡„dˆ¦«Z­�d(d‰„Z®�d)dŠ„Z¯�d*dŒ„Z°�d(d�„Z±dŽ„Z²�d+d�„Z³�d)d‘„Z´�d,d”„Zµ�d#�d-d•„Z¶Gd–„d—¦«Z·e–eje·¦«d˜„Z¸Gd™„dše·¦«Z¹Gd›„dœe¹¦«Zºeº »¦«Gd�„dže·¦«Z¼e¼¦«Z½GdŸ„d e§e`d¡f¦«Z¾Gd¢„d£e¾¦«Z¿Gd¤„d¥e¹¦«ZÀe–e jÁeÀ¦«Gd¦„d§e¼¦«ZÂGd¨„d©eº¦«ZÃGdª„d«eÀ¦«ZÄe|d¬d­i¦«ZÅd®ebd­<�d.d³„ZÆ�d/�d0d·„ZÇ �d/�d1d»„ZÈeÆe jÁeȦ« �d/�d2d¾„ZÉeÆejeɦ«�d/�d3d¿„ZÊdÀ„ZËGdÁ„d¦«ZÌ�d4dÅ„ZÍ�d5dÆ„ZÎdÇ„ZÏdÈ„ZÐeÑedɦ«reÆejÒeʦ«eÆe jÓjÔeʦ«e|d¬dÊi¦«ZÕdËebdÊ<e|d¬dÌi¦«ZÖdÍebdÌ<�d6dЄZ×dÑ„ZØ�d7dÔ„ZÙ�d8dÖ„ZÚ�d#�d9dØ„ZÛ�d:dÛ„ZÜeÑedɦ«re×ejÒeܦ«e×e jÁeܦ«e×e jÓjÔeܦ«�d;dÝ„ZÝe×ejeݦ«e2�ddä„ZÞ�d?då„Zße(r e2�ddè„Zàne j˜d鄦«Zàdê„Zádë„Zâdì„Zã�ddí„ZäejsdjåZæejsdïejçejtz¦«jåZèGdð„dñ¦«Zédò„ZêGdó„d¦«ZëGdô„dõe릫ZìGdö„d÷e릫ZíeëeìeídøœZîdù„Zï�d@dü„ZðGdý„dþeGjñjò¦«ZóGdÿ„deGjñjô¦«Zô�d„Zõ�dA�d„Zö�dB�d„Z÷�d�d„Zø�dC�d „Zù�d „Zúejû�d ewd�¬ ¦«G�d „�deü¦«Zýej�dkr�dndZþeþf�dD�d„Zÿ�d„�Z�e�e¦«f�d�d„¦«�Z�e�d�d„¦«�Ze(r”e­¦«�Z�e�j�Z�e�j�Z�e�j�Z�e�j�Z�e�j �Z �e�j �Z �e�j �Z �e�j �Z e¦¦«�Z �e �j�Z�e �j�Z�e �j�Z�e �j�Z�e�ZdSdS(Eaá Package resource API -------------------- A resource is a logical file contained within a package, or a logical subdirectory thereof. The package resource API expects resource names to have their path parts separated with ``/``, *not* whatever the local path separator is. Do not use os.path operations to manipulate resource names being passed into the API. The package resource API is designed to work with normal filesystem packages, .egg files, and unpacked .egg files. It can also work in a limited way with .zip files and with custom PEP 302 loaders that support the ``get_data()`` method. This module is deprecated. Users are directed to :mod:`importlib.resources`, :mod:`importlib.metadata` and :pypi:`packaging` instead. é)Ú annotationsN)éé zPython 3.9 or later is required)ÚIterableÚIteratorÚMappingÚMutableSequence)Ú get_importer) Ú TYPE_CHECKINGÚAnyÚBinaryIOÚCallableÚLiteralÚ NamedTupleÚNoReturnÚProtocolÚTypeVarÚUnionÚoverloadÚ setuptoolsÚ_vendorÚ backports)ÚopenÚutime)ÚisdirÚsplit)ÚmkdirÚrenameÚunlinkTF)Ú drop_commentÚjoin_continuationÚ yield_lines)Úuser_cache_dir)Ú BytesPathÚStrOrBytesPathÚStrPath)ÚLoaderProtocol)ÚSelfÚ TypeAliaszäpkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.é©Ú stacklevelÚ_TÚ_DistributionTÚ Distribution)ÚboundÚ _NestedStrr)Ú RequirementÚ_StrictInstallerType)r/NÚ_InstallerTypeÚ _PkgReqTypeÚ _EPDistType)ÚIResourceProviderNÚ _MetadataTypeÚ_ResolvedEntryPointÚ_ResourceStreamÚ _ModuleLiker7Ú_ProviderFactoryTypeÚ_DistFinderTypeÚ_NSHandlerTypeÚ _AdapterTcó—eZdZUded<dS)Ú_ZipLoaderModuleúzipimport.zipimporterÚ __loader__N©Ú__name__Ú __module__Ú __qualname__Ú__annotations__©óúh/builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/pkg_resources/__init__.pyrArA‚s€€€€€€Ø%Ð%Ð%Ñ%Ð%Ð%rJrAz,^v?(?P(?:[0-9]+!)?[0-9]+(?:\.[0-9]+)*)có—eZdZdZdS)Ú PEP440Warningza Used when there is an issue with a version or specifier not complying with PEP 440. N©rErFrGÚ__doc__rIrJrKrMrM‹s€€€€€ððððrJrMzdict[str, str]Ú _state_varsÚvartypeÚstrÚvarnameÚ initial_valueÚreturncó—|t|<|S©N)rP)rQrSrTs rKÚ_declare_staterX—s€Ø"…K�ÑØ ÐrJúdict[str, Any]cóž—i}t¦«}t ¦«D]"\}}|d|z||¦«||<Œ#|S)NÚ_sget_)ÚglobalsrPÚitems©ÚstateÚgÚkÚvs rKÚ __getstate__rcœsU€Ø €E݉ Œ €AÝ×!Ò!Ñ#Ô#ð)ð)‰ˆˆ1Ø"�1�X ‘\”? 1 Q¤4Ñ(Ô(ˆˆa‰ˆØ €LrJr_có¤—t¦«}| ¦«D],\}}|dt|z||||¦«Œ-|S)NÚ_sset_)r\r]rPr^s rKÚ __setstate__rf¤sT€Ý‰ Œ €AØ— ’ ‘ ” ð1ð1‰ˆˆ1Ø$ˆˆ(•[ ”^Ñ #Ô$ Q¨¨!¬¨aÑ0Ô0Ð0Ð0Ø €LrJcó*—| ¦«SrW)Úcopy©Úvals rKÚ _sget_dictrk«s€Ø �8Š8‰:Œ:ÐrJÚNonecóX—| ¦«| |¦«dSrW)ÚclearÚupdate©ÚkeyÚobr_s rKÚ _sset_dictrs¯s'€Ø‡H‚H�J„J€J؇I‚IˆeÑÔÐÐÐrJcó*—| ¦«SrW)rcris rKÚ _sget_objectru´s€Ø × Ò Ñ Ô ÐrJcó0—| |¦«dSrW)rfrps rKÚ _sset_objectrw¸s€Ø‡O‚O�EÑÔÐÐÐrJcó—dSrWrI©Úargss rKúr{¼s€¨€rJcó*—t¦«}t |¦«}|�htjdkrX d t ¦«dd…¦«}| d¦«}d|›d|›�}n#t$rYnwxYw|S)aQReturn this platform's maximum compatible version. distutils.util.get_platform() normally reports the minimum version of macOS that would be required to *use* extensions produced by distutils. But what we want when checking compatibility is to know the version of macOS that we are *running*. To allow usage of packages that explicitly require a newer version of macOS, we must also know the current version of the OS. If this condition occurs for any other platform with a version in its platform strings, this function should be extended accordingly. NÚdarwinú.r*rúmacosx-ú-) Úget_build_platformÚmacosVersionStringÚmatchÚsysÚplatformÚjoinÚ _macos_versÚgroupÚ ValueError)ÚplatÚmÚ major_minorÚbuilds rKÚget_supported_platformrŽ¿s£€õ Ñ Ô €DÝ× Ò  Ñ&Ô&€AØ€}�œ¨Ò1Ð1ð ØŸ(š(¥;¡=¤=°°!°Ô#4Ñ5Ô5ˆKØ—G’G˜A‘J”JˆEØ2˜[Ð2Ð2¨5Ð2Ð2ˆDˆDøÝð ð ð à ˆDð øøøð €Ks¼AB BÂB)GÚrequireÚ run_scriptÚ get_providerÚget_distributionÚload_entry_pointÚ get_entry_mapÚget_entry_infoÚiter_entry_pointsÚresource_stringÚresource_streamÚresource_filenameÚresource_listdirÚresource_existsÚresource_isdirÚdeclare_namespaceÚ working_setÚadd_activation_listenerÚfind_distributionsÚset_extraction_pathÚcleanup_resourcesÚget_default_cacheÚ EnvironmentÚ WorkingSetÚResourceManagerr/r2Ú EntryPointÚResolutionErrorÚVersionConflictÚDistributionNotFoundÚ UnknownExtraÚExtractionErrorrMÚparse_requirementsÚ parse_versionÚ safe_nameÚ safe_versionÚ get_platformÚcompatible_platformsr"Úsplit_sectionsÚ safe_extraÚ to_filenameÚinvalid_markerÚevaluate_markerÚensure_directoryÚnormalize_pathÚEGG_DISTÚ BINARY_DISTÚ SOURCE_DISTÚ CHECKOUT_DISTÚ DEVELOP_DISTÚIMetadataProviderr7Ú FileMetadataÚ PathMetadataÚ EggMetadataÚ EmptyProviderÚempty_providerÚ NullProviderÚ EggProviderÚDefaultProviderÚ ZipProviderÚregister_finderÚregister_namespace_handlerÚregister_loader_typeÚfixup_namespace_packagesr ÚPkgResourcesDeprecationWarningÚrun_mainÚAvailableDistributionscó—eZdZdZdd„ZdS)r¨z.Abstract base for dependency resolution errorsrUrRcóD—|jjt|j¦«zSrW)Ú __class__rEÚreprrz©Úselfs rKÚ__repr__zResolutionError.__repr__2s€ØŒ~Ô&­¨d¬i©¬Ñ8Ð8rJN©rUrR)rErFrGrOrÖrIrJrKr¨r¨/s.€€€€€Ø8Ð8ð9ð9ð9ð9ð9ð9rJr¨cóT—eZdZdZdZedd„¦«Zedd„¦«Zd„Zdd „Z d S)r©zª An already-installed version conflicts with the requested version. Should be initialized with the installed Distribution and the requested Requirement. z3{self.dist} is installed but {self.req} is requiredrUr/có—|jdS©NrryrÔs rKÚdistzVersionConflict.dist@ó€àŒy˜Œ|ÐrJr2có—|jdS©NéryrÔs rKÚreqzVersionConflict.reqDrÜrJcó>—|jjdit¦«¤ŽS©NrI©Ú _templateÚformatÚlocalsrÔs rKÚreportzVersionConflict.reportHó!€Ø$ˆtŒ~Ô$Ð0Ð0¥v¡x¤xÐ0Ð0Ð0rJÚ required_byúset[Distribution | str]ú Self | ContextualVersionConflictcó2—|s|S|j|fz}t|ŽS)zt If required_by is non-empty, return a version of self that is a ContextualVersionConflict. )rzÚContextualVersionConflict)rÕrérzs rKÚ with_contextzVersionConflict.with_contextKs*€ðð ØˆKØŒy˜K˜>Ñ)ˆÝ(¨$Ð/Ð/rJN©rUr/©rUr2)rérêrUrë) rErFrGrOräÚpropertyrÛràrçrîrIrJrKr©r©6s‡€€€€€ðððF€Ià ðððñ„Xðððððñ„Xðð1ð1ð1ð 0ð 0ð 0ð 0ð 0ð 0rJr©có>—eZdZdZejdzZedd„¦«ZdS)ríz… A VersionConflict that accepts a third parameter, the set of the requirements that required the installed Distribution. z by {self.required_by}rUúset[str]có—|jdS)Nr*ryrÔs rKréz%ContextualVersionConflict.required_by`rÜrJN)rUró)rErFrGrOr©rärñrérIrJrKríríXsL€€€€€ððð  Ô)Ð,DÑD€Ià ðððñ„XðððrJrícój—eZdZdZdZed d„¦«Zedd„¦«Zed„¦«Zd „Z dd „Z d S)rªz&A requested distribution was not foundzSThe '{self.req}' distribution was not found and is required by {self.requirers_str}rUr2có—|jdSrÚryrÔs rKràzDistributionNotFound.reqmrÜrJúset[str] | Nonecó—|jdSrÞryrÔs rKÚ requirerszDistributionNotFound.requirersqrÜrJcóH—|jsdSd |j¦«S)Nzthe applicationz, )rùr†rÔs rKÚ requirers_strz"DistributionNotFound.requirers_strus&€àŒ~ð %Ø$Ð$Ø�yŠy˜œÑ(Ô(Ð(rJcó>—|jjdit¦«¤ŽSrârãrÔs rKrçzDistributionNotFound.report{rèrJrRcó*—| ¦«SrW)rçrÔs rKÚ__str__zDistributionNotFound.__str__~s€Ø�{Š{‰}Œ}ÐrJNrð)rUr÷r×) rErFrGrOrärñràrùrûrçrþrIrJrKrªrªes¢€€€€€Ø0Ð0ð 2ðð ðððñ„Xðððððñ„Xððð)ð)ñ„Xð)ð 1ð1ð1ððððððrJrªcó—eZdZdZdS)r«z>Distribution doesn't have an "extra feature" of the given nameNrNrIrJrKr«r«‚s€€€€€ØHÐHÐHÐHrJr«z-dict[type[_ModuleLike], _ProviderFactoryType]Ú_provider_factoriesr~rrßéÿÿÿÿÚ loader_typeútype[_ModuleLike]Úprovider_factorycó—|t|<dS)aRegister `provider_factory` to make providers for `loader_type` `loader_type` is the type or class of a PEP 302 ``module.__loader__``, and `provider_factory` is a function that, passed a *module* object, returns an ``IResourceProvider`` for that module. N)r)rrs rKrËrË�s€ð(8Õ˜ Ñ$Ð$Ð$rJÚ moduleOrReqcó—dSrWrI©rs rKr‘r‘œó€Ø9<¸rJcó—dSrWrIrs rKr‘r‘žs€ØŠ>˜%Ñ Ô ð :Ý�e˜TÑ"Ô"ð 2 bÝ (¤ ¨bÑ 1Ô 1� ð 2ð 2ð 2ñ 2ô 2ð 2ð 2ð 2ð 2ð 2ð 2øøøð 2ð 2ð 2ð 2à =Ð0Ð0Ø'Ð(8Ô9�Ø �=Š=˜Ñ Ô ÐsÁA2Á2A6Á9A6có4—dddœ ||¦«S)NÚppc)ÚPowerPCÚPower_Macintosh)Úget)Úmachines rKÚ _macos_archr+»s €Ø°Ð 7Ð 7× ;Ò ;¸GÀWÑ MÔ MÐMrJcóP—ddlm}|¦«}tjdkr…| d¦«sp t ¦«}t tj¦«d  dd¦«¦«}d|d›d|d ›d |›�S#t$rYnwxYw|S) zAReturn this platform's string for platform-specific distributionsr)r±r}réú Ú_r~rßr€) Ú sysconfigr±r„r…Ú startswithr‡r+rÚunameÚreplacer‰)r±rŠr!r*s rKr�r�¿sÁ€à&Ð&Ð&Ð&Ð&Ð&à ˆ<‰>Œ>€DÝ „|�xÒШ¯ª¸ Ñ(BÔ(BÐð Ý!‘m”mˆGÝ!¥"¤(¡*¤*¨Q¤-×"7Ò"7¸¸SÑ"AÔ"AÑBÔBˆGØ@˜W QœZÐ@Ð@¨'°!¬*Ð@Ð@°wÐ@Ð@Ð @øÝð ð ð ð ˆDð øøøð €Ks·AB B#Â"B#zmacosx-(\d+)\.(\d+)-(.*)zdarwin-(\d+)\.(\d+)\.(\d+)-(.*)Úprovidedú str | NoneÚrequiredÚboolcóæ—|�|�||krdSt |¦«}|�rGt |¦«}|s‡t |¦«}|rit| d¦«¦«}| d¦«›d| d¦«›�}|dkr|dks |dkr|d krdSd S| d¦«| d¦«ks,| d ¦«| d ¦«krd St| d¦«¦«t| d¦«¦«krd SdSd S) zÛCan code for the `provided` platform run on the `required` platform? Returns true if either platform is ``None``, or the platforms are equal. XXX Needs compatibility checks for Linux and other unixy OSes. NTrßr~r*éz10.3éz10.4Fr)r‚rƒÚdarwinVersionStringÚintrˆ)r4r6ÚreqMacÚprovMacÚ provDarwinÚdversionÚ macosversions rKr²r²Ösv€ðИ8Ð+¨x¸8Ò/CÐ/Càˆtõ × %Ò % hÑ /Ô /€FØ ñÝ$×*Ò*¨8Ñ4Ô4ˆðð õ-×2Ò2°8Ñ<Ô<ˆJØð ݘz×/Ò/°Ñ2Ô2Ñ3Ô3�Ø"(§,¢,¨q¡/¤/ÐEÐE°F·L²LÀ±O´OÐEÐE� à ’M�MØ$¨Ò.Ð.Ø 1’}�}Ø$¨Ò.Ð.à˜4à�5ð �=Š=˜Ñ Ô ˜vŸ|š|¨A™œÒ .Ð .°'·-²-ÀÑ2BÔ2BÀfÇlÂlÐSTÁoÄoÒ2UÐ2UØ�5õ ˆw�}Š}˜QÑÔÑ Ô ¥3 v§|¢|°A¡¤Ñ#7Ô#7Ò 7Ð 7Ø�5àˆtð ˆ5rJrÛcó—dSrWrI©rÛs rKr’r’s€Ø>A¸crJcó—dSrWrIrCs rKr’r’ r rJúDistribution | _PkgReqTypecóö—t|t¦«rt |¦«}t|t¦«rt |¦«}t|t ¦«st d|¦«‚|S)z@Return a current distribution object for a Requirement or stringz*Expected str, Requirement, or Distribution)rrRr2Úparser‘r/Ú TypeErrorrCs rKr’r’ so€å�$�ÑÔð'Ý× Ò  Ñ&Ô&ˆÝ�$� Ñ$Ô$ð"ݘDÑ!Ô!ˆÝ �d�LÑ )Ô )ðLÝÐDÀdÑKÔKÐKØ €KrJrˆÚnamecóH—t|¦« ||¦«S)zDReturn `name` entry point of `group` for `dist` or raise ImportError)r’r“©rÛrˆrIs rKr“r“s €å ˜DÑ !Ô !× 2Ò 2°5¸$Ñ ?Ô ?Ð?rJú dict[str, dict[str, EntryPoint]]có—dSrWrI©rÛrˆs rKr”r”s €ð(+ srJúdict[str, EntryPoint]có—dSrWrIrNs rKr”r”s€ØKNÈ3rJcóF—t|¦« |¦«S)ú=Return the entry point map for `group`, or the full entry map)r’r”rNs rKr”r”!s€å ˜DÑ !Ô !× /Ò /°Ñ 6Ô 6Ð6rJúEntryPoint | NonecóH—t|¦« ||¦«S©z—eZdZdd„Zdd„Zdd„Zdd „Zdd „Zdd„ZdS)r¿rIrRrUr7có—dS)z;Does the package's distribution contain the named metadata?NrI©rÕrIs rKÚ has_metadatazIMetadataProvider.has_metadata,ó€à ˆrJcó—dS)z'The named metadata resource as a stringNrIrXs rKÚ get_metadatazIMetadataProvider.get_metadata0rZrJú Iterator[str]có—dS)zÔYield named metadata resource as list of non-blank non-comment lines Leading and trailing whitespace is stripped from each line, and lines with ``#`` as the first non-blank character are omitted.NrIrXs rKÚget_metadata_linesz$IMetadataProvider.get_metadata_lines4s €ð ˆrJcó—dS)z>Is the named metadata a directory? (like ``os.path.isdir()``)NrIrXs rKÚmetadata_isdirz IMetadataProvider.metadata_isdir;rZrJú list[str]có—dS)z?List of metadata names in the directory (like ``os.listdir()``)NrIrXs rKÚmetadata_listdirz"IMetadataProvider.metadata_listdir?rZrJÚ script_nameÚ namespacerYrlcó—dS)z=Execute the named script in the supplied namespace dictionaryNrI)rÕrerfs rKr�zIMetadataProvider.run_scriptCrZrJN©rIrRrUr7©rIrRrUrR©rIrRrUr]©rIrRrUrb©rerRrfrYrUrl) rErFrGrYr\r_rardr�rIrJrKr¿r¿+sŒ€€€€€ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð rJr¿cóB—eZdZdZdd„Zdd „Zdd „Zdd „Zdd„Zdd„Z dS)r7z3An object that provides access to package resourcesÚmanagerr¦Ú resource_namerRrUcó—dS)zbReturn a true filesystem path for `resource_name` `manager` must be a ``ResourceManager``NrI©rÕrnros rKÚget_resource_filenamez'IResourceProvider.get_resource_filenameKó €ð ˆrJr:có—dS)zgReturn a readable file-like object for `resource_name` `manager` must be a ``ResourceManager``NrIrqs rKÚget_resource_streamz%IResourceProvider.get_resource_streamSrsrJÚbytescó—dS)zgReturn the contents of `resource_name` as :obj:`bytes` `manager` must be a ``ResourceManager``NrIrqs rKÚget_resource_stringz%IResourceProvider.get_resource_string[rsrJr7có—dS)z,Does the package contain the named resource?NrI©rÕros rKÚ has_resourcezIResourceProvider.has_resourcecrZrJcó—dS)z>Is the named resource a directory? (like ``os.path.isdir()``)NrIrzs rKrœz IResourceProvider.resource_isdirgrZrJrbcó—dS)z?List of resource names in the directory (like ``os.listdir()``)NrIrzs rKršz"IResourceProvider.resource_listdirkrZrJN©rnr¦rorRrUrR)rnr¦rorRrUr:©rnr¦rorRrUrv©rorRrUr7©rorRrUrb) rErFrGrOrrrurxr{rœršrIrJrKr7r7Hs’€€€€€Ø=Ð=ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð rJcó¤—eZdZdZdNdOd„Zed„¦«Zed „¦«ZdPd „ZdQd„Z dRd„Z dNdSd„Z dTd„Z dUd„Z dVdWd#„Ze dXdYd.„¦«Ze dNd dd/œdYd0„¦«Ze dZd[d3„¦«Z dZd\d6„Zd]d7„Ze d^d_d=„¦«Ze dNdd>œd_d?„¦«Ze d`dadA„¦«Z d`dbdC„ZdcdE„Z d^dddI„ZdedJ„ZdfdL„ZdedM„ZdS)gr¥zDA collection of active distributions on sys.path (or a similar list)NÚentriesúIterable[str] | NonerUrlcóœ—g|_i|_i|_i|_g|_|€ t j}|D]}| |¦«ŒdS)z?Create working set from list of path entries (default=sys.path)N)rƒÚ entry_keysÚby_keyÚnormalized_to_canonical_keysÚ callbacksr„rÚ add_entry)rÕrƒÚentrys rKÚ__init__zWorkingSet.__init__ss`€à"$ˆŒ Ø79ˆŒØ/1ˆŒ Ø<>ˆÔ)ØACˆŒà ˆ?Ý”hˆGàð "ð "ˆEØ �NŠN˜5Ñ !Ô !Ð !Ð !ð "ð "rJcóÆ—|¦«} ddlm}n#t$r|cYSwxYw | |¦«n%#t$r| |¦«cYSwxYw|S)z1 Prepare the master working set. r)Ú __requires__)Ú__main__rŽÚ ImportErrorr�r©Ú_build_from_requirements)ÚclsÚwsrŽs rKÚ _build_masterzWorkingSet._build_master�s£€ð ˆS‰UŒUˆð Ø -Ð -Ð -Ð -Ð -Ð -Ð -øÝð ð ð àˆIˆIˆIð øøøð  >Ø �JŠJ�|Ñ $Ô $Ð $Ð $øÝð >ð >ð >Ø×/Ò/° Ñ=Ô=Ð =Ð =Ð =ð >øøøðˆ sŒ“ "¡"¦<¼AÁAcó8—|g¦«}t|¦«}| |t¦«¦«}|D]}| |¦«ŒtjD] }||jvr| |¦«Œ!|jtjdd…<|S)zQ Build a working set from a requirement spec. Rewrites sys.path. N)r­Úresolver¤Úaddr„rrƒrŠ)r’Úreq_specr“ÚreqsÚdistsrÛr‹s rKr‘z#WorkingSet._build_from_requirements•s €ðˆS�‰WŒWˆÝ! (Ñ+Ô+ˆØ— ’ ˜4¥¡¤Ñ/Ô/ˆØð ð ˆDØ �FŠF�4‰LŒLˆLˆLõ”Xð $ð $ˆEؘBœJÐ&Ð&Ø— ’ ˜UÑ#Ô#Ð#øð”j�Œ���‰ ؈ rJr‹rRcóÄ—|j |g¦«|j |¦«t |d¦«D]}| ||d¦«ŒdS)aÝAdd a path item to ``.entries``, finding any distributions on it ``find_distributions(entry, True)`` is used to find distributions corresponding to the path entry, and they are added. `entry` is always appended to ``.entries``, even if it is already present. (This is because ``sys.path`` can contain the same value more than once, and the ``.entries`` of the ``sys.path`` WorkingSet should always equal ``sys.path``.) TFN)r†Ú setdefaultrƒÚappendr r—)rÕr‹rÛs rKrŠzWorkingSet.add_entry«sn€ð Œ×"Ò" 5¨"Ñ-Ô-Ð-Ø Œ ×Ò˜EÑ"Ô"Ð"Ý& u¨dÑ3Ô3ð )ð )ˆDØ �HŠH�T˜5 %Ñ (Ô (Ð (Ð (ð )ð )rJrÛr/r7cóH—|j |j¦«|kS)z9True if `dist` is the active distribution for its project)r‡r)rq©rÕrÛs rKÚ __contains__zWorkingSet.__contains__ºs€àŒ{�Š˜tœxÑ(Ô(¨DÒ0Ð0rJràr2úDistribution | Nonecó@—d}|j|j |j¦«t|j¦« dd¦«f}t d|¦«D]'}|j |¦«}|r ||_nŒ(|�||vrt||¦«‚|S)aÐFind a distribution matching requirement `req` If there is an active distribution for the requested project, this returns it as long as it meets the version requirement specified by `req`. But, if there is an active distribution for the project and it does *not* meet the `req` requirement, ``VersionConflict`` is raised. If there is no active distribution for the requested project, ``None`` is returned. Nr~r€)rqrˆr)r¯r3Úfilterr‡r©)rÕràrÛÚ candidatesÚ candidates rKrzWorkingSet.find¾s¶€ð%)ˆð ŒGØ Ô -× 1Ò 1°#´'Ñ :Ô :Ý �c”gÑ Ô × &Ò & s¨CÑ 0Ô 0ð ˆ õ    jÑ1Ô1ð ð ˆIØ”;—?’? 9Ñ-Ô-ˆDØð Ø#�”Ø�ð ð Ð  ¨C  å! $¨Ñ,Ô,Ð ,؈ rJrˆrIr5úIterator[EntryPoint]có$‡‡—ˆˆfd„|D¦«S)aYield entry point objects from `group` matching `name` If `name` is None, yields all entry points in `group` from all distributions in the working set, otherwise only ones matching both `group` and `name` are yielded (in distribution order). c3óŠ•K—|]=}| ‰¦« ¦«D]}‰� ‰|jk¯|V—ŒŒ>dSrW)r”ÚvaluesrI)Ú.0rÛr‹rˆrIs €€rKú z/WorkingSet.iter_entry_points..äsqøèè€ð ð àØ×+Ò+¨EÑ2Ô2×9Ò9Ñ;Ô;ð ð ð؈|˜t u¤zÒ1Ð1ð ð 2Ð1Ð1Ð1Ð1ð  ð rJrI©rÕrˆrIs ``rKr–zWorkingSet.iter_entry_pointsÛs4øø€ð ð ð ð ð àð ñ ô ð rJÚrequiresrecóØ—tjd¦«j}|d}| ¦«||d<| |¦«d ||¦«dS)z?Locate distribution for `requires` and run `script_name` scriptrßrErN)r„Ú _getframeÚ f_globalsrnr�r�)rÕr­reÚnsrIs rKr�zWorkingSet.run_scriptës`€å Œ]˜1Ñ Ô Ô 'ˆØ�*Œ~ˆØ �Љ Œ ˆ ؈ˆ:‰Ø � Š �XÑÔ˜qÔ!×,Ò,¨[¸"Ñ=Ô=Ð=Ð=Ð=rJúIterator[Distribution]c#ó¾K—t¦«}|jD]D}||jvrŒ |j|D]*}||vr$| |¦«|j|V—Œ+ŒEdS)z¸Yield distributions for non-duplicate projects in the working set The yield order is the order in which the items' path entries were added to the working set. N)Úsetrƒr†r—r‡)rÕÚseenÚitemrqs rKÚ__iter__zWorkingSet.__iter__ósƒèè€õ ‰uŒuˆØ”Lð +ð +ˆDؘ4œ?Ð*Ð*àà” tÔ,ð +ð +�ؘd�?�?Ø—H’H˜S‘M”M�MØœ+ cÔ*Ð*Ð*Ð*øð +ð  +ð +rJTFÚinsertr3có*—|r| |j||¬¦«|€|j}|j |g¦«}|j |jg¦«}|s|j|jvrdS||j|j<tj  |j¦«}|j|j |<|j|vr|  |j¦«|j|vr|  |j¦«|  |¦«dS)aAdd `dist` to working set, associated with `entry` If `entry` is unspecified, it defaults to the ``.location`` of `dist`. On exit from this routine, `entry` is added to the end of the working set's ``.entries`` (if it wasn't already present). `dist` is only added to the working set if it's for a project that doesn't already have a distribution in the set, unless `replace=True`. If it's added, any callbacks registered with the ``subscribe()`` method will be called. ©r3N) Ú insert_onrƒÚlocationr†rœrqr‡Ú packagingÚutilsÚcanonicalize_namerˆr�Ú _added_new)rÕrÛr‹r¸r3ÚkeysÚkeys2Únormalized_names rKr—zWorkingSet.adds €ð$ ð AØ �NŠN˜4œ<¨¸ˆNÑ @Ô @Ð @à ˆ=Ø”MˆEØŒ×)Ò)¨%°Ñ4Ô4ˆØ”×*Ò*¨4¬=¸"Ñ=Ô=ˆØð ˜4œ8 t¤{Ð2Ð2à ˆFà $ˆŒ �D”HÑÝ#œ/×;Ò;¸D¼HÑEÔEˆØ=A¼XˆÔ)¨/Ñ:Ø Œ8˜4Ð Ð Ø �KŠK˜œÑ !Ô !Ð !Ø Œ8˜5Ð Ð Ø �LŠL˜œÑ "Ô "Ð "Ø �Š˜ÑÔÐÐÐrJÚ requirementsúIterable[Requirement]ÚenvúEnvironment | NoneÚ installerú$_StrictInstallerType[_DistributionT]Úreplace_conflictingÚextrasútuple[str, ...] | Noneúlist[_DistributionT]có—dSrWrI©rÕrÄrÆrÈrÊrËs rKr–zWorkingSet.resolve*s €ð #˜srJ)rÊrËcó—dSrWrIrÏs rKr–zWorkingSet.resolve3s €ð #˜srJú_InstallerType | Noneúlist[Distribution]có—dSrWrIrÏs rKr–zWorkingSet.resolve=s €ð!˜SrJú<_InstallerType | None | _StrictInstallerType[_DistributionT]ú)list[Distribution] | list[_DistributionT]c óz—t|¦«ddd…}t¦«}i}g}t¦«} tjt tt ft¦«} |rÊ| d¦«} | |vrŒ|  | |¦«sŒ3|  | ||||| |¦«} |   | j ¦«ddd…} |  | ¦«| D],}| |  | j¦«| j | |<Œ-|  | ¦«|°Ê|S)aÎList all distributions needed to (recursively) meet `requirements` `requirements` must be a sequence of ``Requirement`` objects. `env`, if supplied, should be an ``Environment`` instance. If not supplied, it defaults to all distributions available within any entry or distribution in the working set. `installer`, if supplied, will be invoked with each requirement that cannot be met by an already-installed distribution; it should return a ``Distribution`` or ``None``. Unless `replace_conflicting=True`, raises a VersionConflict exception if any requirements are found on the path that have the correct name but the wrong version. Otherwise, if an `installer` is supplied it will be invoked to obtain the correct version of the requirement and activate it. `extras` is a list of the extras to be used with these requirements. This is important because extra requirements may look like `my_req; extra = "my_extra"`, which would otherwise be interpreted as a purely optional requirement. Instead, we want to be able to assert that these requirements are truly required. Nrr)Úlistr´Ú _ReqExtrasÚ collectionsÚ defaultdictr2rRÚpopÚ markers_passÚ _resolve_distr­rËÚextendr—Ú project_name)rÕrÄrÆrÈrÊrËÚ processedÚbestÚ to_activateÚ req_extrasréràrÛÚnew_requirementsÚnew_requirements rKr–zWorkingSet.resolveFsX€õB˜LÑ)Ô)¨$¨$¨B¨$Ô/ˆ å‘E”Eˆ à(*ˆØ*,ˆ å‘\”\ˆ õ"Ô-­k½3½s¼8Ð.CÔDÅSÑIÔIˆ àð à×"Ò" 1Ñ%Ô%ˆCØ�iÐÐàà×*Ò*¨3°Ñ7Ô7ð Øà×%Ò%Ø�TÐ.°°YÀ È[ñôˆDð $Ÿ}š}¨S¬ZÑ8Ô8¸¸¸2¸Ô>Ð Ø × Ò Ð 0Ñ 1Ô 1Ð 1ð$4ð 9ð 9�ؘOÔ,×0Ò0°Ô1AÑBÔBÐBØ.1¬j� ˜?Ñ+Ð+à �MŠM˜#Ñ Ô Ð ð/ð ð4ÐrJcó—| |j¦«}|€À|j |j¦«}|�||vr†|r„|} |€5|€t|j¦«}ntg¦«}t g¦«} | || ||¬¦«x}||j<|€&| |d¦«} t|| ¦«‚| |¦«||vr+||} t||¦«  | ¦«‚|S)N)rÊ) r)rqr‡r¤rƒr¥Ú best_matchrªr�r©rî) rÕràrárÊrÆrÈrérârÛr“rùÚ dependent_reqs rKrÝzWorkingSet._resolve_dist�s€ð�xŠx˜œÑ Ô ˆØ ˆ<à”;—?’? 3¤7Ñ+Ô+ˆD؈| ¨C  Ð4G Ø�Ø�;Ø�|Ý)¨$¬,Ñ7Ô7˜˜õ *¨"™oœo˜Ý'¨™^œ^˜Ø'*§~¢~ؘ˜YÐÔ>Ð>Ø × Ò ˜tÑ $Ô $Ð $Ø �sˆ?ˆ?à'¨Ô,ˆMÝ! $¨Ñ,Ô,×9Ò9¸-ÑHÔHÐ H؈ rJÚ plugin_envr¤Úfull_envÚfallbackú:tuple[list[_DistributionT], dict[Distribution, Exception]]có—dSrWrI©rÕrérêrÈrës rKÚ find_pluginszWorkingSet.find_plugins¯s €ðFIÀSrJ)rëcó—dSrWrIrîs rKrïzWorkingSet.find_plugins·s €ðFIÀSrJú8tuple[list[Distribution], dict[Distribution, Exception]]có—dSrWrIrîs rKrïzWorkingSet.find_pluginsÀs €ðDGÀ3rJúOtuple[list[Distribution] | list[_DistributionT], dict[Distribution, Exception]]có°—t|¦«}| ¦«i}i}|€t|j¦«}||z }n||z}| g¦«} tt | j|¦«¦«|D]®} || D]£} |  ¦«g} |  | ||¦«} tt | j| ¦«¦«|  t  | ¦«¦«n$#t$r}||| <|rYd}~Œ–Yd}~nd}~wwxYwŒ¯t|¦«}| ¦«||fS)asFind all activatable distributions in `plugin_env` Example usage:: distributions, errors = working_set.find_plugins( Environment(plugin_dirlist) ) # add plugins+libs to sys.path map(working_set.add, distributions) # display errors print('Could not load', errors) The `plugin_env` should be an ``Environment`` instance that contains only distributions that are in the project's "plugin directory" or directories. The `full_env`, if supplied, should be an ``Environment`` contains all currently-available distributions. If `full_env` is not supplied, one is created automatically from the ``WorkingSet`` this method is called on, which will typically mean that every directory on ``sys.path`` will be scanned for distributions. `installer` is a standard installer callback as used by the ``resolve()`` method. The `fallback` flag indicates whether we should attempt to resolve older versions of a plugin if the newest version cannot be resolved. This method returns a 2-tuple: (`distributions`, `error_info`), where `distributions` is a list of the distributions found in `plugin_env` that were loadable, along with any other distributions that are needed to resolve their dependencies. `error_info` is a dictionary mapping unloadable plugin distributions to an exception instance describing the error that occurred. Usually this will be a ``DistributionNotFound`` or ``VersionConflict`` instance. N) r×Úsortr¤rƒrÒÚmapr—Úas_requirementr–roÚdictÚfromkeysr¨)rÕrérêrÈrëÚplugin_projectsÚ error_infoÚ distributionsrÆÚ shadow_setrßrÛràÚ resolveesrbÚsorted_distributionss rKrïzWorkingSet.find_pluginsÈs•€õX˜zÑ*Ô*ˆà×ÒÑÔÐà46ˆ Ø>@ˆ à РݘdœlÑ+Ô+ˆCØ �:Ñ ˆCˆCà˜ZÑ'ˆCà—^’^ BÑ'Ô'ˆ å �S�” Ñ &Ô &Ñ'Ô'Ð'à+ð ð ˆLØ" <Ô0ð ð �Ø×*Ò*Ñ,Ô,Ð-�ðØ *× 2Ò 2°3¸¸YÑ GÔ G�Iõ�˜Zœ^¨YÑ7Ô7Ñ8Ô8Ð8Ø!×(Ò(­¯ª°yÑ)AÔ)AÑBÔBÐBð�Eøõ'ðððà'(�J˜tÑ$Øðà ˜˜˜˜ð˜˜˜˜˜øøøøðøøøøõ" $ MÑ2Ô2ÐØ×!Ò!Ñ#Ô#Ð#à# ZÐ/Ð/sÂ$D Ä D-ÄD(Ä(D-r1có~—| t|¦«¦«}|D]}| |¦«Œ|S)a¾Ensure that distributions matching `requirements` are activated `requirements` must be a string or a (possibly-nested) sequence thereof, specifying the distributions and versions required. The return value is a sequence of the distributions that needed to be activated to fulfill the requirements; all relevant distributions are included, even if they were already activated in this working set. )r–r­r—)rÕrÄÚneededrÛs rKr�zWorkingSet.require"sC€ð—’Õ0°Ñ>Ô>Ñ?Ô?ˆàð ð ˆDØ �HŠH�T‰NŒNˆNˆNàˆ rJÚcallbackú Callable[[Distribution], object]Úexistingcóx—||jvrdS|j |¦«|sdS|D] }||¦«ŒdS)zƒInvoke `callback` for all distributions If `existing=True` (default), call on all existing ones, as well. N)r‰r�)rÕrrrÛs rKÚ subscribezWorkingSet.subscribe2sa€ð �t”~Ð %Ð %Ø ˆFØ Œ×Ò˜hÑ'Ô'Ð'Øð Ø ˆFØð ð ˆDØ ˆH�T‰NŒNˆNˆNð ð rJcó0—|jD] }||¦«ŒdSrW)r‰)rÕrÛrs rKrÀzWorkingSet._added_newBs,€Øœð ð ˆHØ ˆH�T‰NŒNˆNˆNð ð rJú~tuple[list[str], dict[str | None, list[str]], dict[str, Distribution], dict[str, str], list[Callable[[Distribution], object]]]cóΗ|jdd…|j ¦«|j ¦«|j ¦«|jdd…fSrW)rƒr†rhr‡rˆr‰rÔs rKrczWorkingSet.__getstate__Fs]€ð ŒL˜˜˜ŒOØ ŒO× Ò Ñ "Ô "Ø ŒK× Ò Ñ Ô Ø Ô -× 2Ò 2Ñ 4Ô 4Ø ŒN˜1˜1˜1Ô ð  ð rJcóè—|\}}}}}|dd…|_| ¦«|_| ¦«|_| ¦«|_|dd…|_dSrW)rƒrhr†r‡rˆr‰)rÕÚ e_k_b_n_crƒrÁr‡rˆr‰s rKrfzWorkingSet.__setstate__Wsg€ØIRÑFˆ��vÐ;¸Yؘq˜q˜q”zˆŒ ØŸ)š)™+œ+ˆŒØ—k’k‘m”mˆŒ Ø,H×,MÒ,MÑ,OÔ,OˆÔ)Ø" 1 1 1œˆŒˆˆrJrW)rƒr„rUrl)r‹rRrUrl©rÛr/rUr7)ràr2rUr¡)rˆrRrIr5rUr¦)r­rRrerRrUrl)rUr²)NTF) rÛr/r‹r5r¸r7r3r7rUrl)FN) rÄrÅrÆrÇrÈrÉrÊr7rËrÌrUrÍ)NNFN) rÄrÅrÆrÇrÈrÑrÊr7rËrÌrUrÒ) rÄrÅrÆrÇrÈrÔrÊr7rËrÌrUrÕrï©T) rér¤rêrÇrÈrÉrër7rUrì)NNT) rér¤rêrÇrÈrÑrër7rUrñ) rér¤rêrÇrÈrÔrër7rUró)rÄr1rUrÒ)rrrr7rUrl©rUrl)rUr)rErFrGrOrŒÚ classmethodr”r‘rŠr rr–r�r·r—rr–rÝrïr�rrÀrcrfrIrJrKr¥r¥ps+€€€€€ØNÐNð "ð "ð "ð "ð "ðððñ„[ðð&ððñ„[ðð* )ð )ð )ð )ð1ð1ð1ð1ððððð<.2ð ð ð ð ð ð >ð>ð>ð>ð+ð+ð+ð+ð(!ØØð $ð$ð$ð$ð$ðLð %*Ø)-ð #ð#ð#ð#ñ„Xð#ðð#'ð#ð %*Ø)-ð#ð#ð#ð#ð#ñ„Xð#ðð#'Ø+/Ø$)Ø)-ð !ð!ð!ð!ñ„Xð!ð#'ØRVØ$)Ø)-ð HðHðHðHðHðTðððð>ð ð IðIðIðIñ„XðIðð(,ðIð ð IðIðIðIðIñ„XðIðð(,Ø+/Øð GðGðGðGñ„XðGð(,ØRVØð X0ðX0ðX0ðX0ðX0ðtðððð"LPðððððð ðððð ð ð ð ð"&ð&ð&ð&ð&ð&rJr¥có—eZdZdZdd d„ZdS) rØz> Map each requirement to the extras that demanded it. Nràr2rËrÌcó|‡—‰j p3tˆfd„| ‰d¦«|pdzD¦«¦«S)z» Evaluate markers for req against each extra that demanded it. Return False if the req has a marker and fails evaluation. Otherwise, return True. c3óP•K—|] }‰j d|i¦«V—Œ!dS)ÚextraN©ÚmarkerÚevaluate)rªrràs €rKr«z*_ReqExtras.markers_pass..msLøèè€ð% ð% àð ŒJ× Ò  ¨%Ð 0Ñ 1Ô 1ð% ð% ð% ð% ð% ð% rJrI)r)rÚanyr))rÕràrËs ` rKrÜz_ReqExtras.markers_passes_ø€ð”:ˆ~ð ¥ð% ð% ð% ð% àŸš # rÑ*Ô*¨f¨o¸Ñ>ð% ñ% ô% ñ" ô" ð rJrW)ràr2rËrÌ)rErFrGrOrÜrIrJrKrØrØ`s7€€€€€ððð  ð  ð  ð  ð  ð  ð  rJrØ.có—eZdZdZde¦«efd3d „Zd4d„Zd5d„Zd6d7d„Z d8d„Z d5d„Z e d9d:d„¦«Z e d;dd&„¦«Ze d6d?d(„¦«Ze d6d@d)„¦«Z d6dAd+„ZdBd-„ZdCd1„ZdCd2„ZdS)Dr¤z5Searchable snapshot of distributions on a search pathNÚ search_pathr„r…r5ÚpythonrUrlcóZ—i|_||_||_| |¦«dS)a!Snapshot distributions available on a search path Any distributions found on `search_path` are added to the environment. `search_path` should be a sequence of ``sys.path`` items. If not supplied, ``sys.path`` is used. `platform` is an optional string specifying the name of the platform that platform-specific distributions must be compatible with. If unspecified, it defaults to the current platform. `python` is an optional string naming the desired version of Python (e.g. ``'3.6'``); it defaults to the current version. You may explicitly set `platform` (and/or `python`) to ``None`` if you wish to map *all* distributions, not just those compatible with the running platform or Python version. N)Ú_distmapr…rÚscan)rÕrr…rs rKrŒzEnvironment.__init__vs1€ð,8:ˆŒ Ø ˆŒ ؈Œ Ø � Š �+ÑÔÐÐÐrJrÛr/r7có~—|jdup|jdup|j|jk}|ot|j|j¦«S)zåIs distribution `dist` acceptable for this environment? The distribution must match the platform and python version requirements specified when this environment was created, or False is returned. N)rÚ py_versionr²r…)rÕrÛÚ py_compats rKÚcan_addzEnvironment.can_add‘sO€ð ŒK˜4Ð ð .ØŒ $Ð&ð .àŒ $¤+Ò-ð ð ÐOÕ1°$´-ÀÄÑOÔOÐOrJcóP—|j|j |¦«dS)z"Remove `dist` from the environmentN)rrqÚremoverŸs rKr#zEnvironment.removeŸs%€à Œ �d”hÔ×&Ò& tÑ,Ô,Ð,Ð,Ð,rJcóz—|€ tj}|D])}t|¦«D]}| |¦«ŒŒ*dS)adScan `search_path` for distributions usable in this environment Any distributions found are added to the environment. `search_path` should be a sequence of ``sys.path`` items. If not supplied, ``sys.path`` is used. Only distributions conforming to the platform/python version defined at initialization are added. N)r„rr r—)rÕrr¶rÛs rKrzEnvironment.scan£sW€ð Ð Ýœ(ˆKàð ð ˆDÝ*¨4Ñ0Ô0ð ð �Ø—’˜‘”��ð ð ð rJrßrRrÒcó`—| ¦«}|j |g¦«S)aReturn a newest-to-oldest list of distributions for `project_name` Uses case-insensitive `project_name` comparison, assuming all the project's distributions use their project's name converted to all lowercase as their key. )Úlowerrr))rÕrßÚdistribution_keys rKÚ __getitem__zEnvironment.__getitem__²s/€ð(×-Ò-Ñ/Ô/ÐØŒ}× Ò Ð!1°2Ñ6Ô6Ð6rJcó(—| |¦«rx| ¦«rf|j |jg¦«}||vrD| |¦«| tjd¦«d¬¦«dSdSdSdS)zCAdd `dist` if we ``can_add()`` it and it has not already been addedÚhashcmpT)rqÚreverseN) r!Ú has_versionrrœrqr�rõÚoperatorÚ attrgetter)rÕrÛršs rKr—zEnvironment.add½s¦€à �<Š<˜Ñ Ô ð M $×"2Ò"2Ñ"4Ô"4ð MØ”M×,Ò,¨T¬X°rÑ:Ô:ˆEؘ5Ð Ð Ø— ’ ˜TÑ"Ô"Ð"Ø— ’ �xÔ2°9Ñ=Ô=Àt� ÑLÔLÐLÐLÐLð  Mð Mð Mð Mà Ð rJFràr2ržr¥rÈrÉrÊr.có—dSrWrI©rÕràržrÈrÊs rKrçzEnvironment.best_matchÅs €ð˜rJrÑr¡có—dSrWrIr0s rKrçzEnvironment.best_matchÍs €ð"˜crJrÔcó¾— | |¦«}n#t$r|s‚d}YnwxYw|�|S||jD] }||vr|cSŒ | ||¦«S)a¸Find distribution best matching `req` and usable on `working_set` This calls the ``find(req)`` method of the `working_set` to see if a suitable distribution is already active. (This may raise ``VersionConflict`` if an unsuitable version of the project is already active in the specified `working_set`.) If a suitable distribution isn't active, this method returns the newest distribution in the environment that meets the ``Requirement`` in `req`. If no suitable distribution is found, and `installer` is supplied, then the result of calling the environment's ``obtain(req, installer)`` method will be returned. N)rr©rqÚobtain)rÕràržrÈrÊrÛs rKrçzEnvironment.best_matchÕsš€ð& Ø×#Ò# CÑ(Ô(ˆDˆDøÝð ð ð Ø&ð ØØˆDˆDˆDð øøøð Р؈Kؘœ”Mð ð ˆDØ�sˆ{ˆ{Ø� � � ðð�{Š{˜3  Ñ*Ô*Ð*s ‚˜*©*Ú requirementcó—dSrWrI©rÕr4rÈs rKr3zEnvironment.obtainös €ð ˜rJú$Callable[[Requirement], None] | Nonecó—dSrWrIr6s rKr3zEnvironment.obtainüs €ð ˆsrJcó—dSrWrIr6s rKr3zEnvironment.obtains €ð "˜crJú\Callable[[Requirement], None] | _InstallerType | None | _StrictInstallerType[_DistributionT]có —|r ||¦«ndS)aÞObtain a distribution matching `requirement` (e.g. via download) Obtain a distro that matches requirement (e.g. via download). In the base ``Environment`` class, this routine just returns ``installer(requirement)``, unless `installer` is None, in which case None is returned instead. This method is a hook that allows subclasses to attempt other ways of obtaining a distribution before falling back to the `installer` argument.NrIr6s rKr3zEnvironment.obtains€ð *3Ð<ˆyˆy˜Ñ%Ô%Ð%¸ÐÚprojectrÛs rKÚ__iadd__zEnvironment.__iadd__ s—€å �e�\Ñ *Ô *ð CØ �HŠH�U‰OŒOˆOˆOÝ ˜�{Ñ +Ô +ð CØ ð #ð #�Ø! 'œNð#ð#�DØ—H’H˜T‘N”N�N�Nð#ð #õÐA¨ÐAÐAÐAÑBÔBÐ B؈ rJcóN—| gdd¬¦«}||fD]}||z }Œ|S)z4Add an environment or distribution to an environmentN)r…r©rÒ)rÕr>ÚnewrÆs rKÚ__add__zEnvironment.__add__,s<€à�nŠn˜R¨$°tˆnÑ<Ô<ˆØ˜�;ð ð ˆCØ �3‰JˆCˆC؈ rJ)rr„r…r5rr5rUrlr )rÛr/rUrlrW)rr„rUrl)rßrRrUrÒ©F) ràr2ržr¥rÈrÉrÊr7rUr.©NF) ràr2ržr¥rÈrÑrÊr7rUr¡) ràr2ržr¥rÈrÔrÊr7rUr¡)r4r2rÈrÉrUr.)r4r2rÈr7rUrl)r4r2rÈrÑrUr¡)r4r2rÈr:rUr¡)rUr])r>r?rUr()rErFrGrOrŽÚPY_MAJORrŒr!r#rr(r—rrçr3r·rBrFrIrJrKr¤r¤ss€€€€€Ø?Ð?ð-1Ø5Ð5Ñ7Ô7Ø%ð ððððð6 Pð Pð Pð Pð-ð-ð-ð-ð ð ð ð ð ð 7ð 7ð 7ð 7ðMðMðMðMðð %*ð ðððñ„Xððð ,0Ø$)ð "ð"ð"ð"ñ„Xð"ðSWØ$)ð +ð+ð+ð+ð+ðBðððñ„Xðð ð;?ððððñ„Xðð ð,0ð"ð"ð"ð"ñ„Xð"ð26ð =ð=ð=ð=ð=ð$ðððð ð ð ð ððððððrJr¤có2—eZdZUdZded<ded<ded<dS) r¬aTAn error occurred extracting a resource The following attributes are available from instances of this exception: manager The resource manager that raised this exception cache_path The base directory for resource extraction original_error The exception instance that caused extraction to fail r¦rnrRÚ cache_pathzBaseException | NoneÚoriginal_errorN)rErFrGrOrHrIrJrKr¬r¬8s?€€€€€€ð ð ðÐÐÑØ€O€O�OØ(Ð(Ð(Ñ(Ð(Ð(rJr¬cóž—eZdZUdZdZded<d'd„Zd(d „Zd(d„Zd)d„Z d*d„Z d+d„Z d,d„Z d-d„Z d.d/d„Zed'd„¦«Zd0d!„Zd1d#„Zd2d3d&„ZdS)4r¦z'Manage resource extraction and packagesNr5Úextraction_pathrUrlcó—i|_dSrW)Ú cached_filesrÔs rKrŒzResourceManager.__init__Qs€à68ˆÔÐÐrJÚpackage_or_requirementr5rorRr7cóF—t|¦« |¦«S)zDoes the named resource exist?)r‘r{©rÕrQros rKr›zResourceManager.resource_existsUs!€õÐ2Ñ3Ô3×@Ò@ÀÑOÔOÐOrJcóF—t|¦« |¦«S)z,Is the named resource an existing directory?)r‘rœrSs rKrœzResourceManager.resource_isdir[s!€õÐ2Ñ3Ô3×BÒBÀ=ÑQÔQÐQrJcóH—t|¦« ||¦«S)z4Return a true filesystem path for specified resource)r‘rrrSs rKr™z!ResourceManager.resource_filenameas*€õÐ2Ñ3Ô3×IÒIØ �-ñ ô ð rJr:cóH—t|¦« ||¦«S)z9Return a readable file-like object for specified resource)r‘rurSs rKr˜zResourceManager.resource_streamió*€õÐ2Ñ3Ô3×GÒGØ �-ñ ô ð rJrvcóH—t|¦« ||¦«S)z)Return specified resource as :obj:`bytes`)r‘rxrSs rKr—zResourceManager.resource_stringqrWrJrbcóF—t|¦« |¦«S)z1List the contents of the named resource directory)r‘ršrSs rKršz ResourceManager.resource_listdirys!€õÐ2Ñ3Ô3×DÒDÀ]ÑSÔSÐSrJrcó$—tj¦«d}|jp t¦«}t jd¦« ¦«}t|jdit¦«¤Ž¦«}||_ ||_ ||_ |‚)z5Give an error message for problems extracting file(s)rßa Can't extract file(s) to egg cache The following error occurred while trying to extract file(s) to the Python egg cache: {old_exc} The Python egg cache directory is currently set to: {cache_path} Perhaps your account does not have write access to this directory? You can change the cache directory by setting the PYTHON_EGG_CACHE environment variable to point to an accessible directory. NrI) r„Úexc_inforNr£ÚtextwrapÚdedentÚlstripr¬rårærnrKrL)rÕÚold_excrKÚtmplÚerrs rKÚextraction_errorz ResourceManager.extraction_errorsŒ€õ”,‘.”. Ô#ˆØÔ)Ð@Õ->Ñ-@Ô-@ˆ åŒð ñ ô ÷" Š&‰(Œ(ð# õ$˜k˜dœkÐ5Ð5­F©H¬HÐ5Ð5Ñ6Ô6ˆØˆŒ Ø#ˆŒØ$ˆÔ؈ rJrIÚ archive_nameÚnamesúIterable[StrPath]có—|jp t¦«}tjj||dzg|¢RŽ} t |¦«n$#t $r| ¦«YnwxYw| |¦«d|j |<|S)a®Return absolute location in cache for `archive_name` and `names` The parent directory of the resulting path will be created if it does not already exist. `archive_name` should be the base filename of the enclosing egg (which may not be the name of the enclosing zipfile!), including its ".egg" extension. `names`, if provided, should be a sequence of path name parts "under" the egg's extraction location. This method should only be called by resource providers that need to obtain an extraction location, and only for names they intend to extract, as it tracks the generated names for possible cleanup later. z-tmpT) rNr£rrr†Ú_bypass_ensure_directoryÚ ExceptionrbÚ_warn_unsafe_extraction_pathrP)rÕrcrdÚ extract_pathÚ target_paths rKÚget_cache_pathzResourceManager.get_cache_path�sª€ðÔ+ÐBÕ/@Ñ/BÔ/Bˆ Ý”g”l <°ÀÑ1FÐOÈÐOÐOÐOˆ ð $Ý $ [Ñ 1Ô 1Ð 1Ð 1øÝð $ð $ð $Ø × !Ò !Ñ #Ô #Ð #Ð #Ð #ð $øøøð ×)Ò)¨,Ñ7Ô7Ð7à)-ˆÔ˜+Ñ&ØÐs²AÁA#Á"A#cóL—tjdkr'| tjd¦«sdStj|¦«j}|tjzs|tjzr5djdit¦«¤Ž}tj |t¦«dSdS)aN If the default extraction path is overridden and set to an insecure location, such as /tmp, it opens up an opportunity for an attacker to replace an extracted file with an unauthorized payload. Warn the user if a known insecure location is used. See Distribute #375 for more details. ÚntÚwindirNzáExtraction path is writable by group/others and vulnerable to attack when used with get_resource_filename ({path}). Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).rI) rrIr1ÚenvironÚstatÚst_modeÚS_IWOTHÚS_IWGRPråræÚwarningsÚwarnÚ UserWarning)rÚmodeÚmsgs rKriz,ResourceManager._warn_unsafe_extraction_path¶s¬€õ Œ7�dŠ?ˆ? 4§?¢?µ2´:¸hÔ3GÑ#HÔ#Hˆ?ð ˆFÝŒw�t‰}Œ}Ô$ˆØ •$”,Ñ ð , $­¬Ñ"5ð ,ðð:ô ð!ð!õ‘x”xð!ð!ˆCõ ŒM˜#�{Ñ +Ô +Ð +Ð +Ð +ð ,ð ,rJÚtempnamer%Úfilenamecó’—tjdkr6tj|¦«jdzdz}tj||¦«dSdS)a4Perform any platform-specific postprocessing of `tempname` This is where Mac header rewrites should be done; other platforms don't have anything special they should do. Resource providers should call this method ONLY after successfully extracting a compressed resource. They must NOT call it on resources that are already in the filesystem. `tempname` is the current (temporary) name of the file, and `filename` is the name it will be renamed to by the caller after this routine returns. ÚposiximiÿN)rrIrqrrÚchmod)rÕrzr{rxs rKÚ postprocesszResourceManager.postprocessÑsM€õ Œ7�gÒ Ð å”W˜XÑ&Ô&Ô.°%Ñ7¸6ÑAˆDÝ ŒH�X˜tÑ $Ô $Ð $Ð $Ð $ð Ð rJrcó@—|jrtd¦«‚||_dS)aÒSet the base path where resources will be extracted to, if needed. If you do not call this routine before any extractions take place, the path defaults to the return value of ``get_default_cache()``. (Which is based on the ``PYTHON_EGG_CACHE`` environment variable, with various platform-specific fallbacks. See that routine's documentation for more details.) Resources are extracted to subdirectories of this path based upon information given by the ``IResourceProvider``. You may set this to a temporary directory, but then you must call ``cleanup_resources()`` to delete the extracted files when done. There is no guarantee that ``cleanup_resources()`` will be able to remove all extracted files. (Note: you may not change the extraction path for a given resource manager once resources have been extracted, unless you first call ``cleanup_resources()``.) z5Can't change extraction path, files already extractedN)rPr‰rN©rÕrs rKr¡z#ResourceManager.set_extraction_pathås-€ð& Ô ð VÝÐTÑUÔUÐ Uà#ˆÔÐÐrJFÚforcecó—gS)aB Delete all extracted resource files and directories, returning a list of the file and directory names that could not be successfully removed. This function does not have any concurrency protection, so it should generally only be called when the extraction path is a temporary directory exclusive to a single process. This method is not automatically called; you must call it explicitly or register it as an ``atexit`` function if you wish to ensure cleanup of a temporary directory used for extractions. rI)rÕr‚s rKr¢z!ResourceManager.cleanup_resourcesýs €ðˆ rJr)rQr5rorRrUr7)rQr5rorRrUrR)rQr5rorRrUr:)rQr5rorRrUrv)rQr5rorRrUrb)rUr©rI)rcrRrdrerUrR)rzr%r{r%rUrl©rrRrUrlrG)r‚r7rUrb)rErFrGrOrNrHrŒr›rœr™r˜r—ršrbrlÚ staticmethodrirr¡r¢rIrJrKr¦r¦LsS€€€€€€Ø1Ð1à"&€OÐ&Ð&Ð&Ñ&ð9ð9ð9ð9ðPðPðPðPð RðRðRðRð  ð ð ð ð ð ð ð ð ð ð ð ðTðTðTðTð ðððð<ððððð2ð,ð,ð,ñ„\ð,ð4%ð%ð%ð%ð($ð$ð$ð$ð0 ð ð ð ð ð ð rJr¦có`—tj d¦«ptd¬¦«S)zŒ Return the ``PYTHON_EGG_CACHE`` environment variable or a platform-relevant user cache dir for an app named "Python-Eggs". ÚPYTHON_EGG_CACHEz Python-Eggs)Úappname)rrpr)Ú_user_cache_dirrIrJrKr£r£ s)€õ Œ:�>Š>Ð,Ñ -Ô -Ð WµÈÐ1WÑ1WÔ1WÐWrJcó.—tjdd|¦«S)z�Convert an arbitrary string to a standard distribution name Any runs of non-alphanumeric/. characters are replaced with a single '-'. ú[^A-Za-z0-9.]+r€)ÚreÚsub©rIs rKr¯r¯s€õ Œ6Ð" C¨Ñ .Ô .Ð.rJr!cóè— ttj |¦«¦«S#tjj$r/| dd¦«}t jdd|¦«cYSwxYw)zB Convert an arbitrary string to a standard version string r.r~rŒr€)rRr½r!ÚVersionÚInvalidVersionr3r�rŽ)r!s rKr°r°su€ð6å•9Ô$×,Ò,¨WÑ5Ô5Ñ6Ô6Ð6øÝ Ô Ô +ð6ð6ð6Ø—/’/ # sÑ+Ô+ˆÝŒvÐ&¨¨WÑ5Ô5Ð5Ð5Ð5ð6øøøs‚+.®AA1Á0A1có—| dd¦«}t |¦«}|r |d}|t|¦«d…}nd}|}dt |¦«›� d¦«}|›d|›�S)aFallback when ``safe_version`` is not safe enough >>> parse_version(_forgiving_version('0.23ubuntu1')) >>> parse_version(_forgiving_version('0.23-')) >>> parse_version(_forgiving_version('0.-_')) >>> parse_version(_forgiving_version('42.+?1')) >>> parse_version(_forgiving_version('hello world')) r.r~ÚsafeNÚ0z sanitized.z.dev0+)r3Ú_PEP440_FALLBACKÚsearchÚlenÚ _safe_segmentÚstrip)r!rƒr”ÚrestÚlocals rKÚ_forgiving_versionr�)s’€ð�oŠo˜c 3Ñ'Ô'€GÝ × #Ò # GÑ ,Ô ,€EØ ðØ�VŒ}ˆØ•s˜4‘y”y�{�{Ô#ˆˆàˆØˆØ .� tÑ,Ô,Ð .Ð .× 4Ò 4°SÑ 9Ô 9€EØÐ !Ð !˜%Ð !Ð !Ð!rJcó¬—tjdd|¦«}tjdd|¦«}tjdd|¦« d¦«S)z/Convert an arbitrary string into a safe segmentrŒr€z-[^A-Za-z0-9]+z\.[^A-Za-z0-9]+r~z.-)r�rŽrš)Úsegments rKr™r™BsM€åŒfÐ% s¨GÑ4Ô4€GÝŒfÐ% s¨GÑ4Ô4€GÝ Œ6Ð$ c¨7Ñ 3Ô 3× 9Ò 9¸$Ñ ?Ô ?Ð?rJrcóR—tjdd|¦« ¦«S)z±Convert an arbitrary string to a standard 'extra' name Any runs of non-alphanumeric characters are replaced with a single '_', and the result is always lowercased. z[^A-Za-z0-9.-]+r/)r�rŽr&)rs rKr´r´Is%€õ Œ6Ð# S¨%Ñ 0Ô 0× 6Ò 6Ñ 8Ô 8Ð8rJcó.—| dd¦«S)z|Convert a project or version name to its filename-escaped form Any '-' characters are currently replaced with '_'. r€r/rºr�s rKrµrµRs€ð �<Š<˜˜SÑ !Ô !Ð!rJÚtextúSyntaxError | Literal[False]cóv— t|¦«n'#t$r}d|_d|_|cYd}~Sd}~wwxYwdS)zo Validate text as a PEP 508 environment marker; return an exception if invalid or False otherwise. NF)r·Ú SyntaxErrorr{Úlineno)r¢Úes rKr¶r¶Zs[€ð ݘÑÔÐÐøÝ ðððØˆŒ ؈ŒØˆˆˆˆˆˆøøøøðøøøð ˆ5s‚’ 6œ1«6±6có— tj |¦«}| ¦«S#tjj$r}t |¦«|‚d}~wwxYw)zÙ Evaluate a PEP 508 environment marker. Return a boolean indicating the marker result in this environment. Raise SyntaxError if marker is invalid. This implementation uses the 'pyparsing' module. N)r½ÚmarkersÚMarkerrÚ InvalidMarkerr¥)r¢rrr§s rKr·r·hs`€ð$ÝÔ"×)Ò)¨$Ñ/Ô/ˆØ�ŠÑ Ô Ð øÝ Ô Ô *ð$ð$ð$ݘ!‰nŒn !Ð#øøøøð$øøøs‚25µAÁ AÁAcóì—eZdZUdZdZded<dZded<dZded<d.d „Zd/d„Z d0d„Z d1d„Z d2d„Z d„Z d3d„Zd4d„Zd5d„Zd2d„Zd3d„Zd6d!„Zd7d"„Zd8d&„Zd9d'„Zd9d(„Zd:d)„Zd;d+„ZedrÅzETry to implement resources and metadata for arbitrary PEP 302 loadersNr5Úegg_nameÚegg_infozLoaderProtocol | Nonerrr;rUrlcó˜—t|dd¦«|_tj t|dd¦«¦«|_dS)NrCÚ__file__r)rrrrÚdirnameÚ module_path)rÕrs rKrŒzNullProvider.__init__~s=€Ý˜f l°DÑ9Ô9ˆŒ Ýœ7Ÿ?š?­7°6¸:ÀrÑ+JÔ+JÑKÔKˆÔÐÐrJrnr¦rorRcó8—| |j|¦«SrW)Ú_fnr²rqs rKrrz"NullProvider.get_resource_filename‚s€ð�xŠx˜Ô(¨-Ñ8Ô8Ð8rJr cóR—tj| ||¦«¦«SrW)ÚioÚBytesIOrxrqs rKruz NullProvider.get_resource_stream‡s$€õŒz˜$×2Ò2°7¸MÑJÔJÑKÔKÐKrJrvcó^—| | |j|¦«¦«SrW)Ú_getr´r²rqs rKrxz NullProvider.get_resource_stringŒs'€ð�yŠy˜Ÿš $Ô"2°MÑBÔBÑCÔCÐCrJr7có^—| | |j|¦«¦«SrW)Ú_hasr´r²rzs rKr{zNullProvider.has_resource‘s%€Ø�yŠy˜Ÿš $Ô"2°MÑBÔBÑCÔCÐCrJcó8—| |j|¦«SrW)r´r®rXs rKÚ_get_metadata_pathzNullProvider._get_metadata_path”s€Ø�xŠx˜œ  tÑ,Ô,Ð,rJrIcóh—|jsdS| |¦«}| |¦«SrH)r®r½r»©rÕrIrs rKrYzNullProvider.has_metadata—s4€ØŒ}ð Ø�5à×&Ò& tÑ,Ô,ˆØ�yŠy˜‰ŒÐrJcóæ—|jsdS| |¦«}| |¦«} | d¦«S#t$r}|xjd|›d|›�z c_‚d}~wwxYw)Nrúutf-8z in ú file at path: )r®r½r¹ÚdecodeÚUnicodeDecodeErrorÚreason)rÕrIrÚvalueÚexcs rKr\zNullProvider.get_metadatažs�€ØŒ}ð Ø�2Ø×&Ò& tÑ,Ô,ˆØ— ’ ˜$‘”ˆð Ø—<’< Ñ(Ô(Ð (øÝ!ð ð ð ð ˆJŒJÐ< Ð<Ð<°dÐ<Ð<Ñ <ˆJŒJØ øøøøð  øøøsµA Á A0ÁA+Á+A0r]cóF—t| |¦«¦«SrW©r"r\rXs rKr_zNullProvider.get_metadata_lines«ó€Ý˜4×,Ò,¨TÑ2Ô2Ñ3Ô3Ð3rJcó^—| | |j|¦«¦«SrW)Ú_isdirr´r²rzs rKrœzNullProvider.resource_isdir®s%€Ø�{Š{˜4Ÿ8š8 DÔ$4°mÑDÔDÑEÔEÐErJcó†—t|jo-| | |j|¦«¦«¦«SrW)r7r®rÌr´rXs rKrazNullProvider.metadata_isdir±s3€Ý�D”MÐP d§k¢k°$·(²(¸4¼=È$Ñ2OÔ2OÑ&PÔ&PÑQÔQÐQrJrbcó^—| | |j|¦«¦«SrW)Ú_listdirr´r²rzs rKršzNullProvider.resource_listdir´s%€Ø�}Š}˜TŸXšX dÔ&6¸ ÑFÔFÑGÔGÐGrJcóp—|jr.| | |j|¦«¦«SgSrW)r®rÏr´rXs rKrdzNullProvider.metadata_listdir·s4€Ø Œ=ð @Ø—=’= §¢¨$¬-¸Ñ!>Ô!>Ñ?Ô?Ð ?؈ rJrerfrYcóŠ—d|z}| |¦«s&tdjd it¦«¤Ž¦«‚| |¦« dd¦«}| dd¦«}| |j|¦«}||d<tj   |¦«r3t|¦«}t||d¦«}t|||¦«dSdd lm}t!|¦«d| d¦«|f||<t||d¦«} t| ||¦«dS) Nzscripts/z