§
    Á³g&Ÿ ã                   óD  — d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ 	 ddlZn# e$ r ddlZY nw xY w	 e n# e$ r e ZY nw xY wddlm!Z! 	 ddlm"Z"m#Z#m$Z$ dZ%n# e$ r dZ%Y nw xY wddlm&Z' dd	l(m)Z)m*Z* 	 ddl+m,Z- e-j.         n# e$ r dZ-Y nw xY wdd
l/m0Z0m1Z1m2Z2 ddl3m4Z4 ddl3m5Z5  e6d¦  «          e6d¦  «          e6d¦  «          e6d¦  «          e6d¦  «         ej7        dk     r e8d¦  «        ‚dZ9dZ:dZ;dZ<dZ=dZ>dZ?dZ@dZAdZBdZCdZDdZEdZFdZGdZHdZI G d„ deJ¦  «        ZKe5jL        jM        ZNi ZOd„ ZPd„ ZQd„ ZRd„ ZSd„ ZTd„ ZUd„ ZVd„ xZWZXd„ ZYg d¢ZZ G d „ d!e[¦  «        Z\ G d"„ d#e\¦  «        Z] G d$„ d%e]¦  «        Z^ G d&„ d'e\¦  «        Z_ G d(„ d)e\¦  «        Z`i Za d*jb        ej7        Ž Zcd+Zdd,Zed-ZfdZgd.Zhd/„ Zid0„ Zjg fd1„Zkd2„ Zld3„ Zm ejn        d4¦  «        Zo ejn        d5¦  «        ZpemZqd6„ Zrd7„ ZsesZtd8„ Zud9„ Zvd¤d:„Zwd;„ Zx G d<„ d=¦  «        Zy G d>„ d?ey¦  «        Zz G d@„ dA¦  «        Z{ G dB„ dCe|¦  «        Z} G dD„ dE¦  «        Z~e~Z G dF„ dGe8¦  «        Z€ G dH„ dI¦  «        Z�dJ„ Z‚dK„ ZƒdL„ Z„dM„ Z…dN„ Z†dO„ Z‡d¤dP„Zˆ G dQ„ dR¦  «        Z‰ eieŠe‰¦  «         dS„ Z‹ G dT„ dUe‰¦  «        ZŒ G dV„ dWeŒ¦  «        Z�e� Ž                    ¦   «           G dX„ dYe‰¦  «        Z� e�¦   «         Z� G dZ„ d[e|¦  «        Z‘ G d\„ d]e‘¦  «        Z’ G d^„ d_eŒ¦  «        Z“ eiej”        e“¦  «          G d`„ dae�¦  «        Z• G db„ dce�¦  «        Z– G dd„ dee“¦  «        Z— ePdfi ¬g¦  «         dh„ Z˜d¥di„Z™d¥dj„Zš e˜ej”        eš¦  «         d¥dk„Z› e˜eŠe›¦  «         d¥dl„Zœdm„ Z� G dn„ do¦  «        Zždp„ ZŸdq„ Z dr„ Z¡ds„ Z¢ e£edt¦  «        r e˜ej¤        eœ¦  «          e˜e-j¥        eœ¦  «          ePdfi ¬u¦  «          ePdfi ¬v¦  «         dw„ Z¦dx„ Z§dy„ Z¨dz„ Z©d¤d{„Zªd|„ Z« e£edt¦  «        r e¦ej¤        e«¦  «          e¦ej”        e«¦  «          e¦e-j¥        e«¦  «         d}„ Z¬ e¦eŠe¬¦  «         d~„ Z­d„ Z®i fd€„Z¯d�„ Z°d‚„ Z±dƒ„ Z²d„„ Z³ ejn        d…¦  «        j´        Zµ ejn        d†ej¶        ej·        z  ¦  «        j´        Z¸ G d‡„ dˆ¦  «        Z¹d‰„ Zº G dŠ„ d‹¦  «        Z» G dŒ„ d�e»¦  «        Z¼ G dŽ„ d�e»¦  «        Z½e»e¼e½d�œZ¾d‘„ Z¿d’„ ZÀ G d“„ d”e5jÁ        jÂ        ¦  «        ZÃ G d•„ d–e5jÁ        jÄ        ¦  «        ZÄd—„ ZÅd˜„ ZÆd™„ ZÇdš„ ZÈd›„ ZÉdœ„ ZÊ e	jË        d�eKd¬ž¦  «         dŸ„ ZÌeÌ eÍ¦   «         fd „¦   «         ZÎ G d¡„ d¢eÏ¦  «        ZÐeÌd£„ ¦   «         ZÑdS )¦aZ  
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.
é    N)Úget_importer)Úutime)ÚmkdirÚrenameÚunlinkTF)Úopen)ÚisdirÚsplit)Úyield_linesÚdrop_commentÚjoin_continuation)Úplatformdirs)Ú	packagingz&pkg_resources.extern.packaging.versionz)pkg_resources.extern.packaging.specifiersz+pkg_resources.extern.packaging.requirementsz&pkg_resources.extern.packaging.markersz$pkg_resources.extern.packaging.utils)é   é   zPython 3.5 or later is requiredc                   ó   — e Zd ZdZdS )ÚPEP440Warningza
    Used when there is an issue with a version or specifier not complying with
    PEP 440.
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úT/var/www/html/mpstechhub/venv/lib/python3.11/site-packages/pkg_resources/__init__.pyr   r   s   s   € € € € € ðð ð ð r   r   c                 ó®   — t          ¦   «                              |¦  «         t                               t                               || ¦  «        ¦  «         d S ©N)ÚglobalsÚupdateÚ_state_varsÚdictÚfromkeys)ÚvartypeÚkws     r   Ú_declare_stater%   €   sB   € Ý�I„I×Ò�RÑÔÐÝ×Ò•t—}’} R¨Ñ1Ô1Ñ2Ô2Ð2Ð2Ð2r   c                  óž   — i } t          ¦   «         }t                               ¦   «         D ]"\  }} |d|z            ||         ¦  «        | |<   Œ#| S )NÚ_sget_)r   r    Úitems©ÚstateÚgÚkÚvs       r   Ú__getstate__r.   …   sU   € Ø€EÝ‰	Œ	€AÝ×!Ò!Ñ#Ô#ð )ð )‰ˆˆ1Ø"�1�X ‘\”? 1 Q¤4Ñ(Ô(ˆˆa‰ˆØ€Lr   c                 ó¤   — t          ¦   «         }|                      ¦   «         D ],\  }} |dt          |         z            |||         |¦  «         Œ-| S )NÚ_sset_)r   r(   r    r)   s       r   Ú__setstate__r1   �   sT   € Ý‰	Œ	€AØ—’‘”ð 1ð 1‰ˆˆ1Ø$ˆˆ(•[ ”^Ñ
#Ô$ Q¨¨!¬¨aÑ0Ô0Ð0Ð0Ø€Lr   c                 ó*   — |                       ¦   «         S r   )Úcopy©Úvals    r   Ú
_sget_dictr6   ”   s   € Ø�8Š8‰:Œ:Ðr   c                 óX   — |                      ¦   «          |                     |¦  «         d S r   )Úclearr   ©ÚkeyÚobr*   s      r   Ú
_sset_dictr<   ˜   s'   € Ø‡H‚H�J„J€JØ‡I‚IˆeÑÔÐÐÐr   c                 ó*   — |                       ¦   «         S r   )r.   r4   s    r   Ú_sget_objectr>   �   s   € Ø×ÒÑÔÐr   c                 ó0   — |                      |¦  «         d S r   )r1   r9   s      r   Ú_sset_objectr@   ¡   s   € Ø‡O‚O�EÑÔÐÐÐr   c                  ó   — d S r   r   ©Úargss    r   ú<lambda>rD   ¥   s   € ¨€ r   c                  ó   — t          ¦   «         } t                               | ¦  «        }|�ct          j        dk    rSdd                     t          ¦   «         dd…         ¦  «        ›d|                     d¦  «        ›�} n# t          $ r Y nw xY w| S )aQ  Return 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úmacosx-ú.é   ú-r   )	Úget_build_platformÚmacosVersionStringÚmatchÚsysÚplatformÚjoinÚ_macos_versÚgroupÚ
ValueError)ÚplatÚms     r   Úget_supported_platformrV   ¨   s–   € õ ÑÔ€DÝ× Ò  Ñ&Ô&€AØ€}�œ¨Ò1Ð1ð	Ø%(§X¢X­k©m¬m¸B¸Q¸BÔ.?Ñ%@Ô%@Ð%@Ð%@À!Ç'Â'È!Á*Ä*À*ÐMˆDˆDøÝð 	ð 	ð 	àˆDð	øøøð €Ks   »AA> Á>
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ÚResourceManagerÚDistributionÚRequirementÚ
EntryPointÚResolutionErrorÚVersionConflictÚDistributionNotFoundÚUnknownExtraÚExtractionErrorr   Ú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ÚIMetadataProviderÚIResourceProviderÚ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                   ó   — e Zd ZdZd„ ZdS )rr   z.Abstract base for dependency resolution errorsc                 óD   — | j         j        t          | j        ¦  «        z   S r   )Ú	__class__r   ÚreprrC   ©Úselfs    r   Ú__repr__zResolutionError.__repr__  s   € ØŒ~Ô&­¨d¬i©¬Ñ8Ð8r   N)r   r   r   r   r¡   r   r   r   rr   rr     s)   € € € € € Ø8Ð8ð9ð 9ð 9ð 9ð 9r   rr   c                   óN   — e Zd ZdZdZed„ ¦   «         Zed„ ¦   «         Zd„ Zd„ Z	dS )rs   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 requiredc                 ó   — | j         d         S ©Nr   rB   rŸ   s    r   ÚdistzVersionConflict.dist'  ó   € àŒy˜Œ|Ðr   c                 ó   — | j         d         S ©Né   rB   rŸ   s    r   ÚreqzVersionConflict.req+  r¦   r   c                 ó>   —  | j         j        di t          ¦   «         ¤ŽS ©Nr   ©Ú	_templateÚformatÚlocalsrŸ   s    r   ÚreportzVersionConflict.report/  ó!   € Ø$ˆtŒ~Ô$Ð0Ð0¥v¡x¤xÐ0Ð0Ð0r   c                 ó2   — |s| S | j         |fz   }t          |Ž S )zt
        If required_by is non-empty, return a version of self that is a
        ContextualVersionConflict.
        )rC   ÚContextualVersionConflict)r    Úrequired_byrC   s      r   Úwith_contextzVersionConflict.with_context2  s*   € ð
 ð 	ØˆKØŒy˜K˜>Ñ)ˆÝ(¨$Ð/Ð/r   N)
r   r   r   r   r®   Úpropertyr¥   rª   r±   r¶   r   r   r   rs   rs     sx   € € € € € ðð ð F€Iàðð ñ „Xðð ðð ñ „Xðð1ð 1ð 1ð0ð 0ð 0ð 0ð 0r   rs   c                   ó<   — e Zd ZdZej        dz   Zed„ ¦   «         ZdS )r´   z…
    A VersionConflict that accepts a third parameter, the set of the
    requirements that required the installed Distribution.
    z by {self.required_by}c                 ó   — | j         d         S )NrI   rB   rŸ   s    r   rµ   z%ContextualVersionConflict.required_byE  r¦   r   N)r   r   r   r   rs   r®   r·   rµ   r   r   r   r´   r´   =  sG   € € € € € ðð ð
  Ô)Ð,DÑD€Iàðð ñ „Xðð ð r   r´   c                   ód   — e Zd ZdZdZed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Zd„ Z	d„ Z
dS )	rt   z&A requested distribution was not foundzSThe '{self.req}' distribution was not found and is required by {self.requirers_str}c                 ó   — | j         d         S r¤   rB   rŸ   s    r   rª   zDistributionNotFound.reqR  r¦   r   c                 ó   — | j         d         S r¨   rB   rŸ   s    r   Ú	requirerszDistributionNotFound.requirersV  r¦   r   c                 óH   — | j         sdS d                     | j         ¦  «        S )Nzthe applicationz, )r½   rP   rŸ   s    r   Úrequirers_strz"DistributionNotFound.requirers_strZ  s&   € àŒ~ð 	%Ø$Ð$Ø�yŠy˜œÑ(Ô(Ð(r   c                 ó>   —  | j         j        di t          ¦   «         ¤ŽS r¬   r­   rŸ   s    r   r±   zDistributionNotFound.report`  r²   r   c                 ó*   — |                       ¦   «         S r   )r±   rŸ   s    r   Ú__str__zDistributionNotFound.__str__c  s   € Ø�{Š{‰}Œ}Ðr   N)r   r   r   r   r®   r·   rª   r½   r¿   r±   rÂ   r   r   r   rt   rt   J  s“   € € € € € Ø0Ð0ð	2ð ð
 ðð ñ „Xðð ðð ñ „Xðð ð)ð )ñ „Xð)ð
1ð 1ð 1ðð ð ð ð r   rt   c                   ó   — e Zd ZdZdS )ru   z>Distribution doesn't have an "extra feature" of the given nameNr   r   r   r   ru   ru   g  s   € € € € € ØHÐHÐHÐHr   ru   z{}.{}r   rI   r©   éÿÿÿÿc                 ó   — |t           | <   dS )a  Register `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)Ú_provider_factories)Úloader_typeÚprovider_factorys     r   r–   r–   u  s   € ð (8Õ˜Ñ$Ð$Ð$r   c                 óŒ  — t          | t          ¦  «        r<t                               | ¦  «        p!t	          t          | ¦  «        ¦  «        d         S 	 t          j        |          }n1# t          $ r$ t          | ¦  «         t          j        |          }Y nw xY wt          |dd¦  «        } t          t          |¦  «        |¦  «        S )z?Return an IResourceProvider for the named module or requirementr   Ú
__loader__N)Ú
isinstancerp   rf   ÚfindrW   ÚstrrN   ÚmodulesÚKeyErrorÚ
__import__ÚgetattrÚ_find_adapterrÆ   )ÚmoduleOrReqÚmoduleÚloaders      r   rY   rY     s½   € å�+�{Ñ+Ô+ð MÝ×Ò Ñ,Ô,ÐLµ½¸KÑ8HÔ8HÑ0IÔ0IÈ!Ô0LÐLð*Ý”˜[Ô)ˆˆøÝð *ð *ð *Ý�;ÑÔÐÝ”˜[Ô)ˆˆˆð*øøøõ �V˜\¨4Ñ0Ô0€FØ5�=Õ,¨fÑ5Ô5°fÑ=Ô=Ð=s   ÁA& Á&+BÂBc                 óP  — | s�t          j        ¦   «         d         }|dk    rVd}t          j                             |¦  «        r5t          t          d¦  «        r t          j        |¦  «        }d|v r|d         }|                      | 	                    d¦  «        ¦  «         | d         S )Nr   Ú z0/System/Library/CoreServices/SystemVersion.plistÚ	readPlistÚProductVersionrH   )
rO   Úmac_verÚosÚpathÚexistsÚhasattrÚplistlibrØ   Úappendr
   )Ú_cacheÚversionÚplistÚplist_contents       r   rQ   rQ   Œ  s£   € Øð *ÝÔ"Ñ$Ô$ QÔ'ˆà�bŠ=ˆ=ØFˆEÝŒw�~Š~˜eÑ$Ô$ð BÝ�8 [Ñ1Ô1ð BÝ$,Ô$6°uÑ$=Ô$=�MØ'¨=Ð8Ð8Ø"/Ð0@Ô"A˜à�Š�g—m’m CÑ(Ô(Ñ)Ô)Ð)Ø�!Œ9Ðr   c                 ó4   — dddœ                      | | ¦  «        S )NÚppc)ÚPowerPCÚPower_Macintosh)Úget)Úmachines    r   Ú_macos_archrë   œ  s    € Ø°Ð7Ð7×;Ò;¸GÀWÑMÔMÐMr   c                  ó~  — ddl m}   | ¦   «         }t          j        dk    rœ|                     d¦  «        s‡	 t          ¦   «         }t          j        ¦   «         d                              dd¦  «        }dt          |d         ¦  «        t          |d	         ¦  «        t          |¦  «        fz  S # t          $ r Y nw xY w|S )
zÁReturn this platform's string for platform-specific distributions

    XXX Currently this is the same as ``distutils.util.get_platform()``, but it
    needs some hacks for Linux and macOS.
    r   )r{   rF   rG   é   ú Ú_zmacosx-%d.%d-%sr©   )Ú	sysconfigr{   rN   rO   Ú
startswithrQ   rÛ   ÚunameÚreplaceÚintrë   rS   )r{   rT   râ   rê   s       r   rK   rK      sÎ   € ð 'Ð&Ð&Ð&Ð&Ð&àˆ<‰>Œ>€DÝ
„|�xÒÐ¨¯ª¸	Ñ(BÔ(BÐð	Ý!‘m”mˆGÝ”h‘j”j ”m×+Ò+¨C°Ñ5Ô5ˆGØ$Ý�G˜A”J‘”Ý�G˜A”J‘”Ý˜GÑ$Ô$ð(ñ ð øõ
 ð 	ð 	ð 	ð ˆDð	øøøð €Ks   ·A5B- Â-
B:Â9B:zmacosx-(\d+)\.(\d+)-(.*)zdarwin-(\d+)\.(\d+)\.(\d+)-(.*)c                 óæ  — | �|�| |k    rdS t                                |¦  «        }|�rGt                                | ¦  «        }|s‡t                               | ¦  «        }|rit          |                     d¦  «        ¦  «        }|                     d¦  «        ›d|                     d¦  «        ›�}|dk    r|dk    s|dk    r|d	k    rdS d
S |                     d¦  «        |                     d¦  «        k    s,|                     d¦  «        |                     d¦  «        k    rd
S t          |                     d¦  «        ¦  «        t          |                     d¦  «        ¦  «        k    rd
S dS d
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©   rH   rI   é   z10.3é   z10.4Fr   )rL   rM   ÚdarwinVersionStringrô   rR   )ÚprovidedÚrequiredÚreqMacÚprovMacÚ
provDarwinÚdversionÚmacosversions          r   r|   r|   ¿  ss  € ð Ð˜8Ð+¨x¸8Ò/CÐ/Càˆtõ  ×%Ò% hÑ/Ô/€FØñ Ý$×*Ò*¨8Ñ4Ô4ˆð ð 	õ -×2Ò2°8Ñ<Ô<ˆJØð 	 Ý˜z×/Ò/°Ñ2Ô2Ñ3Ô3�Ø*0¯,ª,°q©/¬/¨/¨/¸6¿<º<È¹?¼?¸?ÐK�à ’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ð ˆ5r   c                 óÌ   — t          j        d¦  «        j        }|d         }|                     ¦   «          ||d<   t	          | ¦  «        d                              ||¦  «         dS )z@Locate distribution `dist_spec` and run its `script_name` scriptr©   r   r   N©rN   Ú	_getframeÚ	f_globalsr8   rW   rX   )Ú	dist_specÚscript_nameÚnsÚnames       r   rX   rX   ð  s\   € å	Œ�qÑ	Ô	Ô	#€BØˆjŒ>€DØ‡H‚H�J„J€JØ€B€z�NÝˆIÑÔ�qÔ×$Ò$ [°"Ñ5Ô5Ð5Ð5Ð5r   c                 óö   — t          | t          ¦  «        rt                               | ¦  «        } t          | t          ¦  «        rt	          | ¦  «        } t          | t
          ¦  «        st          d| ¦  «        ‚| S )z@Return a current distribution object for a Requirement or stringz-Expected string, Requirement, or Distribution)rË   rÍ   rp   ÚparserY   ro   Ú	TypeError©r¥   s    r   rZ   rZ   ý  so   € å�$�ÑÔð 'Ý× Ò  Ñ&Ô&ˆÝ�$�Ñ$Ô$ð "Ý˜DÑ!Ô!ˆÝ�d�LÑ)Ô)ð OÝÐGÈÑNÔNÐNØ€Kr   c                 óH   — t          | ¦  «                             ||¦  «        S )zDReturn `name` entry point of `group` for `dist` or raise ImportError)rZ   r[   ©r¥   rR   r  s      r   r[   r[     s    € å˜DÑ!Ô!×2Ò2°5¸$Ñ?Ô?Ð?r   c                 óF   — t          | ¦  «                             |¦  «        S )ú=Return the entry point map for `group`, or the full entry map)rZ   r\   )r¥   rR   s     r   r\   r\     s   € å˜DÑ!Ô!×/Ò/°Ñ6Ô6Ð6r   c                 óH   — t          | ¦  «                             ||¦  «        S ©z<Return the EntryPoint object for `group`+`name`, or ``None``)rZ   r]   r  s      r   r]   r]     s    € å˜DÑ!Ô!×0Ò0°¸Ñ=Ô=Ð=r   c                   ó2   — e Zd Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ ZdS )r‰   c                 ó   — dS )z;Does the package's distribution contain the named metadata?Nr   ©r  s    r   Úhas_metadatazIMetadataProvider.has_metadata  ó   € € € r   c                 ó   — dS )z'The named metadata resource as a stringNr   r  s    r   Úget_metadatazIMetadataProvider.get_metadata  r  r   c                 ó   — dS )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.Nr   r  s    r   Úget_metadata_linesz$IMetadataProvider.get_metadata_lines  r  r   c                 ó   — dS )z>Is the named metadata a directory?  (like ``os.path.isdir()``)Nr   r  s    r   Úmetadata_isdirz IMetadataProvider.metadata_isdir$  r  r   c                 ó   — dS )z?List of metadata names in the directory (like ``os.listdir()``)Nr   r  s    r   Úmetadata_listdirz"IMetadataProvider.metadata_listdir'  r  r   c                 ó   — dS )z=Execute the named script in the supplied namespace dictionaryNr   )r  Ú	namespaces     r   rX   zIMetadataProvider.run_script*  r  r   N)	r   r   r   r  r  r  r  r  rX   r   r   r   r‰   r‰     s   € € € € € ðJð Jð Jð6ð 6ð 6ðDð Dð DðMð Mð MðNð Nð NðLð Lð Lð Lð Lr   r‰   c                   ó6   — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd„ Zd„ Z	dS )	rŠ   z3An object that provides access to package resourcesc                 ó   — dS )zdReturn a true filesystem path for `resource_name`

        `manager` must be an ``IResourceManager``Nr   ©ÚmanagerÚresource_names     r   Úget_resource_filenamez'IResourceProvider.get_resource_filename1  r  r   c                 ó   — dS )ziReturn a readable file-like object for `resource_name`

        `manager` must be an ``IResourceManager``Nr   r#  s     r   Úget_resource_streamz%IResourceProvider.get_resource_stream6  r  r   c                 ó   — dS )zmReturn a string containing the contents of `resource_name`

        `manager` must be an ``IResourceManager``Nr   r#  s     r   Úget_resource_stringz%IResourceProvider.get_resource_string;  r  r   c                 ó   — dS )z,Does the package contain the named resource?Nr   ©r%  s    r   Úhas_resourcezIResourceProvider.has_resource@  r  r   c                 ó   — dS )z>Is the named resource a directory?  (like ``os.path.isdir()``)Nr   r,  s    r   rd   z IResourceProvider.resource_isdirC  r  r   c                 ó   — dS )z?List of resource names in the directory (like ``os.listdir()``)Nr   r,  s    r   rb   z"IResourceProvider.resource_listdirF  r  r   N)
r   r   r   r   r&  r(  r*  r-  rd   rb   r   r   r   rŠ   rŠ   .  s|   € € € € € Ø=Ð=ð5ð 5ð 5ð
5ð 5ð 5ð
5ð 5ð 5ð
;ð ;ð ;ðMð Mð MðNð Nð Nð Nð Nr   rŠ   c                   ó²   — e Zd ZdZdd„Zed„ ¦   «         Zed„ ¦   «         Zd„ Zd„ Z	d„ Z
dd	„Zd
„ Zd„ Zdd„Z	 	 	 	 dd„Zd„ Zdd„Zd„ Zdd„Zd„ Zd„ Zd„ ZdS )rm   zDA collection of active distributions on sys.path (or a similar list)Nc                 óœ   — g | _         i | _        i | _        i | _        g | _        |€t
          j        }|D ]}|                      |¦  «         ŒdS )z?Create working set from list of path entries (default=sys.path)N)ÚentriesÚ
entry_keysÚby_keyÚnormalized_to_canonical_keysÚ	callbacksrN   rÜ   Ú	add_entry)r    r2  Úentrys      r   Ú__init__zWorkingSet.__init__M  s`   € àˆŒØˆŒØˆŒØ,.ˆÔ)ØˆŒàˆ?Ý”hˆGàð 	"ð 	"ˆEØ�NŠN˜5Ñ!Ô!Ð!Ð!ð	"ð 	"r   c                 óÆ   —  | ¦   «         }	 ddl m} n# t          $ r |cY S w xY w	 |                     |¦  «         n%# t          $ r |                      |¦  «        cY S w xY w|S )z1
        Prepare the master working set.
        r   )Ú__requires__)Ú__main__r;  ÚImportErrorrW   rs   Ú_build_from_requirements)ÚclsÚwsr;  s      r   Ú_build_masterzWorkingSet._build_master[  s£   € ð
 ˆS‰UŒUˆð	Ø-Ð-Ð-Ð-Ð-Ð-Ð-øÝð 	ð 	ð 	àˆIˆIˆIð	øøøð
	>Ø�JŠJ�|Ñ$Ô$Ð$Ð$øÝð 	>ð 	>ð 	>Ø×/Ò/°Ñ=Ô=Ð=Ð=Ð=ð	>øøøð ˆ	s   Œ “"¡"¦< ¼AÁAc                 ó8  —  | g ¦  «        }t          |¦  «        }|                     |t          ¦   «         ¦  «        }|D ]}|                     |¦  «         Œt          j        D ] }||j        vr|                     |¦  «         Œ!|j        t          j        dd…<   |S )zQ
        Build a working set from a requirement spec. Rewrites sys.path.
        N)rw   Úresolverl   ÚaddrN   rÜ   r2  r7  )r?  Úreq_specr@  ÚreqsÚdistsr¥   r8  s          r   r>  z#WorkingSet._build_from_requirementso  s    € ð ˆS�‰WŒWˆÝ! (Ñ+Ô+ˆØ—
’
˜4¥¡¤Ñ/Ô/ˆØð 	ð 	ˆDØ�FŠF�4‰LŒLˆLˆLõ ”Xð 	$ð 	$ˆEØ˜BœJÐ&Ð&Ø—’˜UÑ#Ô#Ð#øð ”j�Œ���‰Øˆ	r   c                 óÄ   — | j                              |g ¦  «         | j                             |¦  «         t	          |d¦  «        D ]}|                      ||d¦  «         ŒdS )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)r3  Ú
setdefaultr2  rà   rh   rD  )r    r8  r¥   s      r   r7  zWorkingSet.add_entry…  sn   € ð 	Œ×"Ò" 5¨"Ñ-Ô-Ð-ØŒ×Ò˜EÑ"Ô"Ð"Ý& u¨dÑ3Ô3ð 	)ð 	)ˆDØ�HŠH�T˜5 %Ñ(Ô(Ð(Ð(ð	)ð 	)r   c                 óH   — | j                              |j        ¦  «        |k    S )z9True if `dist` is the active distribution for its project)r4  ré   r:   ©r    r¥   s     r   Ú__contains__zWorkingSet.__contains__”  s   € àŒ{�Š˜tœxÑ(Ô(¨DÒ0Ð0r   c                 óø   — | j                              |j        ¦  «        }|€B| j                             |j        ¦  «        }|�!||_        | j                              |¦  «        }|�||vrt	          ||¦  «        ‚|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.
        )r4  ré   r:   r5  rs   )r    rª   r¥   Úcanonical_keys       r   rÌ   zWorkingSet.find˜  sy   € ð Œ{�Š˜sœwÑ'Ô'ˆàˆ<Ø Ô=×AÒAÀ#Ä'ÑJÔJˆMàÐ(Ø'�”Ø”{—’ }Ñ5Ô5�àÐ ¨C  å! $¨Ñ,Ô,Ð,Øˆr   c                 ó$   ‡‡— ˆˆfd„| D ¦   «         S )a  Yield 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).
        c              3   óŠ   •K  — | ]=}|                      ‰¦  «                             ¦   «         D ]}‰�‰|j        k    ¯|V — ŒŒ>d S r   )r\   Úvaluesr  )Ú.0r¥   r8  rR   r  s      €€r   ú	<genexpr>z/WorkingSet.iter_entry_points.<locals>.<genexpr>·  sq   øè è € ð 
ð 
àØ×+Ò+¨EÑ2Ô2×9Ò9Ñ;Ô;ð
ð 
ð Øˆ|˜t u¤zÒ1Ð1ð ð  2Ð1Ð1Ð1Ð1ð	
ð 
r   r   ©r    rR   r  s    ``r   r^   zWorkingSet.iter_entry_points°  s4   øø€ ð
ð 
ð 
ð 
ð 
àð
ñ 
ô 
ð 	
r   c                 óØ   — t          j        d¦  «        j        }|d         }|                     ¦   «          ||d<   |                      |¦  «        d                              ||¦  «         dS )z?Locate distribution for `requires` and run `script_name` scriptr©   r   r   Nr  )r    Úrequiresr  r  r  s        r   rX   zWorkingSet.run_script¾  s`   € åŒ]˜1ÑÔÔ'ˆØ�*Œ~ˆØ
�Š‰
Œ
ˆ
Øˆˆ:‰Ø�Š�XÑÔ˜qÔ!×,Ò,¨[¸"Ñ=Ô=Ð=Ð=Ð=r   c              #   ó†   K  — i }| j         D ]4}|| j        vrŒ| j        |         D ]}||vrd||<   | j        |         V — ŒŒ5dS )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.
        r©   N)r2  r3  r4  )r    ÚseenÚitemr:   s       r   Ú__iter__zWorkingSet.__iter__Æ  sy   è è € ð ˆØ”Lð 	+ð 	+ˆDØ˜4œ?Ð*Ð*àà” tÔ,ð +ð +�Ø˜d�?�?Ø !�D˜‘IØœ+ cÔ*Ð*Ð*Ð*øð+ð	+ð 	+r   TFc                 ó*  — |r|                      | j        ||¬¦  «         |€|j        }| j                             |g ¦  «        }| j                             |j        g ¦  «        }|s|j        | j        v rdS || j        |j        <   t          j         	                    |j        ¦  «        }|j        | j
        |<   |j        |vr|                     |j        ¦  «         |j        |vr|                     |j        ¦  «         |                      |¦  «         dS )a  Add `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.
        ©ró   N)Ú	insert_onr2  Úlocationr3  rI  r:   r4  r   ÚutilsÚcanonicalize_namer5  rà   Ú
_added_new)r    r¥   r8  Úinsertró   ÚkeysÚkeys2Únormalized_names           r   rD  zWorkingSet.add×  s  € ð ð 	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˜œÑ"Ô"Ð"Ø�Š˜ÑÔÐÐÐr   c           	      ó  — t          |¦  «        ddd…         }i }i }g }t          ¦   «         }	t          j        t          ¦  «        }
|rº|                     d¦  «        }||v rŒ|	                     ||¦  «        sŒ3|                      ||||||
|¦  «        }|                     |j	        ¦  «        ddd…         }| 
                    |¦  «         |D ],}|
|                              |j        ¦  «         |j	        |	|<   Œ-d||<   |°º|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.
        NrÄ   r   T)ÚlistÚ
_ReqExtrasÚcollectionsÚdefaultdictÚsetÚpopÚmarkers_passÚ_resolve_distrV  ÚextrasÚextendrD  Úproject_name)r    ÚrequirementsÚenvÚ	installerÚreplace_conflictingro  Ú	processedÚbestÚto_activateÚ
req_extrasrµ   rª   r¥   Únew_requirementsÚnew_requirements                  r   rC  zWorkingSet.resolve÷  s=  € õB ˜LÑ)Ô)¨$¨$¨B¨$Ô/ˆàˆ	àˆØˆå‘\”\ˆ
õ "Ô-­cÑ2Ô2ˆàð 	"à×"Ò" 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�
˜?Ñ+Ð+à!ˆI�c‰Nð/ ð 	"ð4 Ðr   c                 ó  — |                      |j        ¦  «        }|€À| j                              |j        ¦  «        }|�||vr†|r„| }	|€5|€t          | j        ¦  «        }nt          g ¦  «        }t          g ¦  «        }	|                     ||	||¬¦  «        x}||j        <   |€&|                      |d ¦  «        }
t          ||
¦  «        ‚|                     |¦  «         ||vr+||         }t          ||¦  «         
                    |¦  «        ‚|S )N)ru  )ré   r:   r4  rl   r2  rm   Ú
best_matchrt   rà   rs   r¶   )r    rª   rw  ru  rs  rt  rµ   rx  r¥   r@  r½   Údependent_reqs               r   rn  zWorkingSet._resolve_distA  s  € ð �xŠx˜œÑ Ô ˆØˆ<à”;—?’? 3¤7Ñ+Ô+ˆDØˆ| ¨C  Ð4G Ø�Ø�;Ø�|Ý)¨$¬,Ñ7Ô7˜˜õ
 *¨"™oœo˜Ý'¨™^œ^˜Ø'*§~¢~Ø˜˜YÐ<Oð (6ñ (ô (ð ��t˜CœG‘}ð �<Ø +§¢°°TÑ :Ô :�IÝ.¨s°IÑ>Ô>Ð>Ø×Ò˜tÑ$Ô$Ð$Ø�sˆ?ˆ?à'¨Ô,ˆMÝ! $¨Ñ,Ô,×9Ò9¸-ÑHÔHÐHØˆr   c                 ó°  — t          |¦  «        }|                     ¦   «          i }i }|€t          | j        ¦  «        }||z  }n||z   }|                      g ¦  «        }	t          t          |	j        | ¦  «        ¦  «         |D ]®}
||
         D ]£}|                     ¦   «         g}	 |	                     |||¦  «        }t          t          |	j        |¦  «        ¦  «         | 	                    t                               |¦  «        ¦  «          n$# t          $ r}|||<   |rY d}~Œ–Y d}~ nd}~ww xY wŒ¯t          |¦  «        }|                     ¦   «          ||fS )as  Find 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)rg  Úsortrl   r2  r�   ÚmaprD  Úas_requirementrC  r   r!   r"   rr   )r    Ú
plugin_envÚfull_envrt  ÚfallbackÚplugin_projectsÚ
error_infoÚdistributionsrs  Ú
shadow_setrq  r¥   rª   Ú	resolveesr-   s                  r   Úfind_pluginszWorkingSet.find_plugins`  s”  € õF ˜zÑ*Ô*ˆà×ÒÑÔÐàˆ
ØˆàÐÝ˜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Ñ$Øð à ˜˜˜˜ð ˜˜˜˜˜øøøøðøøøøõ" ˜]Ñ+Ô+ˆØ×ÒÑÔÐà˜jÐ(Ð(s   Â$DÄ
D-ÄD(Ä(D-c                 ó~   — |                       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.
        )rC  rw   rD  )r    rr  Úneededr¥   s       r   rW   zWorkingSet.require³  sC   € ð —’Õ0°Ñ>Ô>Ñ?Ô?ˆàð 	ð 	ˆDØ�HŠH�T‰NŒNˆNˆNàˆr   c                 óx   — || j         v rdS | j                              |¦  «         |sdS | D ]} ||¦  «         ŒdS )zƒInvoke `callback` for all distributions

        If `existing=True` (default),
        call on all existing ones, as well.
        N)r6  rà   )r    ÚcallbackÚexistingr¥   s       r   Ú	subscribezWorkingSet.subscribeÃ  sa   € ð �t”~Ð%Ð%ØˆFØŒ×Ò˜hÑ'Ô'Ð'Øð 	ØˆFØð 	ð 	ˆDØˆH�T‰NŒNˆNˆNð	ð 	r   c                 ó0   — | j         D ]} ||¦  «         Œd S r   )r6  )r    r¥   r�  s      r   ra  zWorkingSet._added_newÑ  s,   € Øœð 	ð 	ˆHØˆH�T‰NŒNˆNˆNð	ð 	r   c                 óÎ   — | j         d d …         | j                             ¦   «         | j                             ¦   «         | j                             ¦   «         | j        d d …         fS r   )r2  r3  r3   r4  r5  r6  rŸ   s    r   r.   zWorkingSet.__getstate__Õ  s[   € àŒL˜˜˜ŒOØŒO× Ò Ñ"Ô"ØŒK×ÒÑÔØÔ-×2Ò2Ñ4Ô4ØŒN˜1˜1˜1Ôð
ð 	
r   c                 óè   — |\  }}}}}|d d …         | _         |                     ¦   «         | _        |                     ¦   «         | _        |                     ¦   «         | _        |d d …         | _        d S r   )r2  r3   r3  r4  r5  r6  )r    Ú	e_k_b_n_cr2  rc  r4  r5  r6  s          r   r1   zWorkingSet.__setstate__Þ  sg   € ØIRÑFˆ��vÐ;¸YØ˜q˜q˜q”zˆŒØŸ)š)™+œ+ˆŒØ—k’k‘m”mˆŒØ,H×,MÒ,MÑ,OÔ,OˆÔ)Ø" 1 1 1œˆŒˆˆr   r   )NTF)NNFN)NNT©T)r   r   r   r   r9  ÚclassmethodrA  r>  r7  rL  rÌ   r^   rX   rZ  rD  rC  rn  r‹  rW   r‘  ra  r.   r1   r   r   r   rm   rm   J  sw  € € € € € ØNÐNð"ð "ð "ð "ð ðð ñ „[ðð& ðð ñ „[ðð*)ð )ð )ð1ð 1ð 1ðð ð ð0
ð 
ð 
ð 
ð>ð >ð >ð+ð +ð +ð"ð ð ð ðF ØØ!ØðHð Hð Hð HðTð ð ð>Q)ð Q)ð Q)ð Q)ðfð ð ð ð ð ð ðð ð ð
ð 
ð 
ð&ð &ð &ð &ð &r   rm   c                   ó   — e Zd ZdZdd„ZdS )rh  z>
    Map each requirement to the extras that demanded it.
    Nc                 ó€   ‡— ˆfd„|                       ‰d¦  «        |pdz   D ¦   «         }‰j         pt          |¦  «        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.
        c              3   óP   •K  — | ] }‰j                              d |i¦  «        V — Œ!dS )ÚextraN©ÚmarkerÚevaluate)rR  r›  rª   s     €r   rS  z*_ReqExtras.markers_pass.<locals>.<genexpr>ô  sL   øè è € ð 
ð 
àð ŒJ×Ò ¨%Ð 0Ñ1Ô1ð
ð 
ð 
ð 
ð 
ð 
r   r   r   )ré   r�  Úany)r    rª   ro  Úextra_evalss    `  r   rm  z_ReqExtras.markers_passì  s\   ø€ ð
ð 
ð 
ð 
àŸš # rÑ*Ô*¨fÐ.?¸Ñ@ð
ñ 
ô 
ˆð ”:ˆ~Ð1¥ [Ñ!1Ô!1Ð1r   r   )r   r   r   r   rm  r   r   r   rh  rh  ç  s2   € € € € € ðð ð2ð 2ð 2ð 2ð 2ð 2r   rh  c                   ór   — e Zd ZdZd e¦   «         efd„Zd„ Zd„ Zdd„Z	d„ Z
d„ Zdd
„Zdd„Zd„ Zd„ Zd„ ZdS )rl   z5Searchable snapshot of distributions on a search pathNc                 óZ   — i | _         || _        || _        |                      |¦  «         dS )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)Ú_distmaprO   ÚpythonÚscan)r    Úsearch_pathrO   r¤  s       r   r9  zEnvironment.__init__þ  s1   € ð& ˆŒØ ˆŒØˆŒØ�	Š	�+ÑÔÐÐÐr   c                 ó~   — | j         du p|j        du p|j        | j         k    }|ot          |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|   rO   )r    r¥   Ú	py_compats      r   Úcan_addzEnvironment.can_add  sO   € ð ŒK˜4Ðð .ØŒ $Ð&ð.àŒ $¤+Ò-ð 	ð
 ÐOÕ1°$´-ÀÄÑOÔOÐOr   c                 óP   — | j         |j                                      |¦  «         dS )z"Remove `dist` from the environmentN)r£  r:   ÚremoverK  s     r   r¬  zEnvironment.remove$  s%   € àŒ�d”hÔ×&Ò& tÑ,Ô,Ð,Ð,Ð,r   c                 óz   — |€t           j        }|D ])}t          |¦  «        D ]}|                      |¦  «         ŒŒ*dS )ad  Scan `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)rN   rÜ   rh   rD  )r    r¦  rY  r¥   s       r   r¥  zEnvironment.scan(  sW   € ð ÐÝœ(ˆKàð 	ð 	ˆDÝ*¨4Ñ0Ô0ð ð �Ø—’˜‘”��ðð	ð 	r   c                 ó`   — |                      ¦   «         }| j                             |g ¦  «        S )a  Return 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.

        )Úlowerr£  ré   )r    rq  Údistribution_keys      r   Ú__getitem__zEnvironment.__getitem__7  s/   € ð (×-Ò-Ñ/Ô/ÐØŒ}× Ò Ð!1°2Ñ6Ô6Ð6r   c                 ó(  — |                       |¦  «        rx|                     ¦   «         rf| j                             |j        g ¦  «        }||vrD|                     |¦  «         |                     t          j        d¦  «        d¬¦  «         dS dS dS dS )zCAdd `dist` if we ``can_add()`` it and it has not already been addedÚhashcmpT)r:   ÚreverseN)	rª  Úhas_versionr£  rI  r:   rà   r€  ÚoperatorÚ
attrgetter)r    r¥   rG  s      r   rD  zEnvironment.addB  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à Ð r   Fc                 ó¾   — 	 |                      |¦  «        }n# t          $ r |s‚ d}Y nw xY w|�|S | |j                 D ]
}||v r|c S Œ|                      ||¦  «        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)rÌ   rs   r:   Úobtain)r    rª   rf   rt  ru  r¥   s         r   r}  zEnvironment.best_matchJ  sš   € ð	Ø×#Ò# CÑ(Ô(ˆDˆDøÝð 	ð 	ð 	Ø&ð ØØˆDˆDˆDð	øøøð ÐØˆKØ˜œ”Mð 	ð 	ˆDØ�sˆ{ˆ{Ø���ð ð �{Š{˜3 	Ñ*Ô*Ð*s   ‚ ˜*©*c                 ó    — |� ||¦  «        S dS )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.Nr   )r    Úrequirementrt  s      r   r¹  zEnvironment.obtaine  s"   € ð Ð Ø�9˜[Ñ)Ô)Ð)ð !Ð r   c              #   óZ   K  — | j                              ¦   «         D ]}| |         r|V — ŒdS )z=Yield the unique project names of the available distributionsN)r£  rc  ©r    r:   s     r   rZ  zEnvironment.__iter__q  sC   è è € à”=×%Ò%Ñ'Ô'ð 	ð 	ˆCØ�CŒyð Ø�	�	�	øð	ð 	r   c                 óø   — t          |t          ¦  «        r|                      |¦  «         nNt          |t          ¦  «        r&|D ]"}||         D ]}|                      |¦  «         ŒŒ#nt	          d|›d�¦  «        ‚| S )z2In-place addition of a distribution or environmentz
Can't add z to environment)rË   ro   rD  rl   r
  )r    ÚotherÚprojectr¥   s       r   Ú__iadd__zEnvironment.__iadd__w  s”   € å�e�\Ñ*Ô*ð 	FØ�HŠH�U‰OŒOˆOˆOÝ˜�{Ñ+Ô+ð 	FØ ð #ð #�Ø! 'œNð #ð #�DØ—H’H˜T‘N”N�N�Nð#ð#õ �)¸U¸U¸UÐDÑEÔEÐEØˆr   c                 óN   — |                       g dd¬¦  «        }| |fD ]}||z  }Œ|S )z4Add an environment or distribution to an environmentN)rO   r¤  ©r�   )r    r¿  Únewrs  s       r   Ú__add__zEnvironment.__add__ƒ  s<   € à�nŠn˜R¨$°tˆnÑ<Ô<ˆØ˜�;ð 	ð 	ˆCØ�3‰JˆCˆCØˆ
r   r   ©NF)r   r   r   r   rV   ÚPY_MAJORr9  rª  r¬  r¥  r±  rD  r}  r¹  rZ  rÁ  rÅ  r   r   r   rl   rl   û  sì   € € € € € Ø?Ð?ð Ð)?Ð)?Ñ)AÔ)AÈ(ðð ð ð ð0Pð Pð Pð-ð -ð -ðð ð ð ð	7ð 	7ð 	7ðMð Mð Mð+ð +ð +ð +ð6
*ð 
*ð 
*ð 
*ðð ð ð
ð 
ð 
ðð ð ð ð r   rl   c                   ó   — e Zd ZdZdS )rv   aT  An 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
    Nr   r   r   r   rv   rv   �  s   € € € € € ðð ð ð r   rv   c                   óx   — e Zd ZdZdZd„ Zd„ Zd„ Zd„ Zd„ Z	d„ Z
d	„ Zd
„ Zdd„Zed„ ¦   «         Zd„ Zd„ Zdd„ZdS )rn   z'Manage resource extraction and packagesNc                 ó   — i | _         d S r   )Úcached_filesrŸ   s    r   r9  zResourceManager.__init__¤  s   € ØˆÔÐÐr   c                 óF   — t          |¦  «                             |¦  «        S )zDoes the named resource exist?)rY   r-  ©r    Úpackage_or_requirementr%  s      r   rc   zResourceManager.resource_exists§  s   € åÐ2Ñ3Ô3×@Ò@ÀÑOÔOÐOr   c                 óF   — t          |¦  «                             |¦  «        S )z,Is the named resource an existing directory?)rY   rd   rÍ  s      r   rd   zResourceManager.resource_isdir«  s   € åÐ2Ñ3Ô3×BÒBÀ=ÑQÔQÐQr   c                 óH   — t          |¦  «                             | |¦  «        S )z4Return a true filesystem path for specified resource)rY   r&  rÍ  s      r   ra   z!ResourceManager.resource_filename¯  s(   € åÐ2Ñ3Ô3×IÒIØ�-ñ
ô 
ð 	
r   c                 óH   — t          |¦  «                             | |¦  «        S )z9Return a readable file-like object for specified resource)rY   r(  rÍ  s      r   r`   zResourceManager.resource_streamµ  ó(   € åÐ2Ñ3Ô3×GÒGØ�-ñ
ô 
ð 	
r   c                 óH   — t          |¦  «                             | |¦  «        S )z%Return specified resource as a string)rY   r*  rÍ  s      r   r_   zResourceManager.resource_string»  rÒ  r   c                 óF   — t          |¦  «                             |¦  «        S )z1List the contents of the named resource directory)rY   rb   rÍ  s      r   rb   z ResourceManager.resource_listdirÁ  s   € åÐ2Ñ3Ô3×DÒDÀ]ÑSÔSÐSr   c                 ó$  — t          j        ¦   «         d         }| j        pt          ¦   «         }t	          j        d¦  «                             ¦   «         }t           |j        di t          ¦   «         ¤Ž¦  «        }| |_
        ||_        ||_        |‚)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.
            Nr   )rN   Úexc_infoÚextraction_pathrk   ÚtextwrapÚdedentÚlstriprv   r¯   r°   r$  Ú
cache_pathÚoriginal_error)r    Úold_excrÛ  ÚtmplÚerrs        r   Úextraction_errorz ResourceManager.extraction_errorÅ  sŒ   € õ ”,‘.”. Ô#ˆØÔ)Ð@Õ->Ñ-@Ô-@ˆ
åŒðñ
ô 
÷" Š&‰(Œ(ð# 	õ$ ˜k˜dœkÐ5Ð5­F©H¬HÐ5Ð5Ñ6Ô6ˆØˆŒØ#ˆŒØ$ˆÔØˆ	r   r   c                 ó  — | j         pt          ¦   «         }t          j        j        ||dz   g|¢R Ž }	 t          |¦  «         n$# t          $ r |                      ¦   «          Y nw xY w|                      |¦  «         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-tmpr©   )
r×  rk   rÛ   rÜ   rP   Ú_bypass_ensure_directoryÚ	Exceptionrà  Ú_warn_unsafe_extraction_pathrË  )r    Úarchive_nameÚnamesÚextract_pathÚtarget_paths        r   Úget_cache_pathzResourceManager.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  — t           j        dk    r'|                      t           j        d         ¦  «        sdS t          j        | ¦  «        j        }|t          j        z  s|t          j        z  r5 dj        di t          ¦   «         ¤Ž}t          j        |t          ¦  «         dS dS )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).r   )rÛ   r  rñ   ÚenvironÚstatÚst_modeÚS_IWOTHÚS_IWGRPr¯   r°   ÚwarningsÚwarnÚUserWarning)rÜ   ÚmodeÚmsgs      r   rä  z,ResourceManager._warn_unsafe_extraction_pathü  s¬   € õ Œ7�dŠ?ˆ? 4§?¢?µ2´:¸hÔ3GÑ#HÔ#Hˆ?ð ˆFÝŒw�t‰}Œ}Ô$ˆØ•$”,Ñð 		, $­¬Ñ"5ð 		,ðð:ô ð!ð !õ ‘x”xð!ð !ˆCõ ŒM˜#�{Ñ+Ô+Ð+Ð+Ð+ð		,ð 		,r   c                 ó’   — t           j        dk    r6t          j        |¦  «        j        dz  dz  }t          j        ||¦  «         dS dS )a4  Perform 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.
        Úposixim  iÿ  N)rÛ   r  rî  rï  Úchmod)r    ÚtempnameÚfilenamerõ  s       r   ÚpostprocesszResourceManager.postprocess  sM   € õ Œ7�gÒÐå”W˜XÑ&Ô&Ô.°%Ñ7¸6ÑAˆDÝŒH�X˜tÑ$Ô$Ð$Ð$Ð$ð Ðr   c                 ó@   — | j         rt          d¦  «        ‚|| _        dS )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)rË  rS   r×  ©r    rÜ   s     r   ri   z#ResourceManager.set_extraction_path+  s-   € ð& Ôð 	VÝÐTÑUÔUÐUà#ˆÔÐÐr   Fc                 ó   — dS )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.
        Nr   )r    Úforces     r   rj   z!ResourceManager.cleanup_resourcesC  r  r   ©r   ©F)r   r   r   r   r×  r9  rc   rd   ra   r`   r_   rb   rà  ré  Ústaticmethodrä  rü  ri   rj   r   r   r   rn   rn   Ÿ  s  € € € € € Ø1Ð1à€Oðð ð ðPð Pð PðRð Rð Rð
ð 
ð 
ð
ð 
ð 
ð
ð 
ð 
ðTð Tð Tðð ð ð<ð ð ð ð2 ð,ð ,ñ „\ð,ð4%ð %ð %ð($ð $ð $ð0
ð 
ð 
ð 
ð 
ð 
r   rn   c                  ój   — t           j                             d¦  «        pt          j        d¬¦  «        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)rÛ   rí  ré   r   Úuser_cache_dirr   r   r   rk   rk   Q  s7   € õ Œ:�>Š>Ð,Ñ-Ô-ð µÔ1LØð2ñ 2ô 2ð r   c                 ó.   — t          j        dd| ¦  «        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.]+rJ   )ÚreÚsubr  s    r   ry   ry   \  s   € õ
 Œ6Ð" C¨Ñ.Ô.Ð.r   c                 óè   — 	 t          t          j                             | ¦  «        ¦  «        S # t          j        j        $ r/ |                      dd¦  «        } t          j        dd| ¦  «        cY S w xY w)zB
    Convert an arbitrary string to a standard version string
    rî   rH   r	  rJ   )rÍ   r   râ   ÚVersionÚInvalidVersionró   r
  r  )râ   s    r   rz   rz   d  su   € ð6å•9Ô$×,Ò,¨WÑ5Ô5Ñ6Ô6Ð6øÝÔÔ+ð 6ð 6ð 6Ø—/’/ # sÑ+Ô+ˆÝŒvÐ&¨¨WÑ5Ô5Ð5Ð5Ð5ð6øøøs   ‚+. ®A A1Á0A1c                 óR   — t          j        dd| ¦  «                             ¦   «         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¯  )r›  s    r   r~   r~   p  s%   € õ Œ6Ð# S¨%Ñ0Ô0×6Ò6Ñ8Ô8Ð8r   c                 ó.   — |                       dd¦  «        S )z|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    rJ   rï   r\  r  s    r   r   r   y  s   € ð
 �<Š<˜˜SÑ!Ô!Ð!r   c                 óv   — 	 t          | ¦  «         n'# t          $ r}d|_        d|_        |cY d}~S d}~ww xY wdS )zo
    Validate text as a PEP 508 environment marker; return an exception
    if invalid or False otherwise.
    NF)r�   ÚSyntaxErrorrû  Úlineno)ÚtextÚes     r   r€   r€   �  s[   € ð
Ý˜ÑÔÐÐøÝð ð ð ØˆŒ
ØˆŒØˆˆˆˆˆˆøøøøðøøøð ˆ5s   ‚ ’
6œ1«6±6c                 óÂ   — 	 t           j                             | ¦  «        }|                     ¦   «         S # t           j        j        $ r}t          |¦  «        |‚d}~ww xY w)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  r›  r�  r  s       r   r�   r�   �  s`   € ð$ÝÔ"×)Ò)¨$Ñ/Ô/ˆØ�ŠÑ Ô Ð øÝÔÔ*ð $ð $ð $Ý˜!‰nŒn !Ð#øøøøð$øøøs   ‚25 µAÁ	AÁAc                   ó¦   — e Zd ZdZdZdZdZd„ Zd„ Zd„ Z	d„ Z
d„ Zd„ Zd	„ Zd
„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zed„ ¦   «         Zd„ ZdS )r�   zETry to implement resources and metadata for arbitrary PEP 302 loadersNc                 ó˜   — t          |dd ¦  «        | _        t          j                             t          |dd¦  «        ¦  «        | _        d S )NrÊ   Ú__file__r×   )rÑ   rÕ   rÛ   rÜ   ÚdirnameÚmodule_path)r    rÔ   s     r   r9  zNullProvider.__init__¥  s=   € Ý˜f l°DÑ9Ô9ˆŒÝœ7Ÿ?š?­7°6¸:ÀrÑ+JÔ+JÑKÔKˆÔÐÐr   c                 ó8   — |                       | j        |¦  «        S r   )Ú_fnr  ©r    r$  r%  s      r   r&  z"NullProvider.get_resource_filename©  s   € Ø�xŠx˜Ô(¨-Ñ8Ô8Ð8r   c                 óR   — t          j        |                      ||¦  «        ¦  «        S r   )ÚioÚBytesIOr*  r!  s      r   r(  z NullProvider.get_resource_stream¬  s"   € ÝŒz˜$×2Ò2°7¸MÑJÔJÑKÔKÐKr   c                 ó^   — |                       |                      | j        |¦  «        ¦  «        S r   )Ú_getr   r  r!  s      r   r*  z NullProvider.get_resource_string¯  ó%   € Ø�yŠy˜Ÿš $Ô"2°MÑBÔBÑCÔCÐCr   c                 ó^   — |                       |                      | j        |¦  «        ¦  «        S r   )Ú_hasr   r  ©r    r%  s     r   r-  zNullProvider.has_resource²  r'  r   c                 ó8   — |                       | j        |¦  «        S r   )r   Úegg_info©r    r  s     r   Ú_get_metadata_pathzNullProvider._get_metadata_pathµ  s   € Ø�xŠx˜œ tÑ,Ô,Ð,r   c                 ór   — | j         s| j         S |                      |¦  «        }|                      |¦  «        S r   )r,  r.  r)  ©r    r  rÜ   s      r   r  zNullProvider.has_metadata¸  s7   € ØŒ}ð 	!Ø”=Ð à×&Ò& tÑ,Ô,ˆØ�yŠy˜‰ŒÐr   c                 ó  — | j         sdS |                      |¦  «        }|                      |¦  «        }	 |                     d¦  «        S # t          $ r*}|xj        d                     ||¦  «        z  c_        ‚ d }~ww xY w)Nr×   úutf-8z in {} file at path: {})r,  r.  r&  ÚdecodeÚUnicodeDecodeErrorÚreasonr¯   )r    r  rÜ   ÚvalueÚexcs        r   r  zNullProvider.get_metadata¿  s�   € ØŒ}ð 	Ø�2Ø×&Ò& tÑ,Ô,ˆØ—	’	˜$‘”ˆð	Ø—<’< Ñ(Ô(Ð(øÝ!ð 	ð 	ð 	ð ˆJŒJÐ3×:Ò:¸4ÀÑFÔFÑFˆJŒJØøøøøð		øøøs   µA
 Á

A>Á%A9Á9A>c                 óF   — t          |                      |¦  «        ¦  «        S r   ©r   r  r-  s     r   r  zNullProvider.get_metadata_linesÌ  ó   € Ý˜4×,Ò,¨TÑ2Ô2Ñ3Ô3Ð3r   c                 ó^   — |                       |                      | j        |¦  «        ¦  «        S r   )Ú_isdirr   r  r*  s     r   rd   zNullProvider.resource_isdirÏ  s%   € Ø�{Š{˜4Ÿ8š8 DÔ$4°mÑDÔDÑEÔEÐEr   c                 ól   — | j         o-|                      |                      | j         |¦  «        ¦  «        S r   )r,  r<  r   r-  s     r   r  zNullProvider.metadata_isdirÒ  s+   € ØŒ}ÐK §¢¨T¯XªX°d´mÀTÑ-JÔ-JÑ!KÔ!KÐKr   c                 ó^   — |                       |                      | j        |¦  «        ¦  «        S r   )Ú_listdirr   r  r*  s     r   rb   zNullProvider.resource_listdirÕ  s%   € Ø�}Š}˜TŸXšX dÔ&6¸ÑFÔFÑGÔGÐGr   c                 óp   — | j         r.|                      |                      | j         |¦  «        ¦  «        S g S r   )r,  r?  r   r-  s     r   r  zNullProvider.metadata_listdirØ  s4   € ØŒ=ð 	@Ø—=’= §¢¨$¬-¸Ñ!>Ô!>Ñ?Ô?Ð?Øˆ	r   c                 óâ  — d|z   }|                       |¦  «        s&t           dj        d
i t          ¦   «         ¤Ž¦  «        ‚|                      |¦  «                             dd¦  «        }|                     dd¦  «        }|                      | j        |¦  «        }||d<   t          j	         
                    |¦  «        r_t          |¦  «        5 }|                     ¦   «         }d d d ¦  «         n# 1 swxY w Y   t          ||d¦  «        }t          |||¦  «         d S dd	lm}	 t#          |¦  «        d|                     d¦  «        |f|	|<   t          ||d¦  «        }
t          |
||¦  «         d S )Nzscripts/z<Script {script!r} not found in metadata at {self.egg_info!r}z
ú
úr  Úexecr   )Úcacher   )r  rr   r¯   r°   r  ró   r   r,  rÛ   rÜ   rÝ   r   ÚreadÚcompilerD  Ú	linecacherE  Úlenr
   )r    r  r   ÚscriptÚscript_textÚscript_filenameÚfidÚsourceÚcoderE  Úscript_codes              r   rX   zNullProvider.run_scriptÝ  sÊ  € Ø˜kÑ)ˆØ× Ò  Ñ(Ô(ð 	Ý!ØUÐNÔUð ð Ý‘h”hðð ñô ð ð
 ×'Ò'¨Ñ/Ô/×7Ò7¸ÀÑEÔEˆØ!×)Ò)¨$°Ñ5Ô5ˆØŸ(š( 4¤=°&Ñ9Ô9ˆØ /ˆ	�*ÑÝŒ7�>Š>˜/Ñ*Ô*ð 	4Ý�oÑ&Ô&ð $¨#ØŸš™œ�ð$ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $øøøð $ð $ð $ð $å˜6 ?°FÑ;Ô;ˆDÝ��y )Ñ,Ô,Ð,Ð,Ð,à'Ð'Ð'Ð'Ð'Ð'õ �KÑ Ô ØØ×!Ò! $Ñ'Ô'Øð	&ˆE�/Ñ"õ " +¨ÀÑGÔGˆKÝ�˜i¨Ñ3Ô3Ð3Ð3Ð3s   ÃC/Ã/C3Ã6C3c                 ó    — t          d¦  «        ‚©Nz9Can't perform this operation for unregistered loader type©ÚNotImplementedErrorrþ  s     r   r)  zNullProvider._hasú  ó   € Ý!ØGñ
ô 
ð 	
r   c                 ó    — t          d¦  «        ‚rR  rS  rþ  s     r   r<  zNullProvider._isdirÿ  rU  r   c                 ó    — t          d¦  «        ‚rR  rS  rþ  s     r   r?  zNullProvider._listdir  rU  r   c                 óˆ   — |                       |¦  «         |r*t          j        j        |g|                     d¦  «        ¢R Ž S |S )Nú/)Ú_validate_resource_pathrÛ   rÜ   rP   r
   )r    Úbaser%  s      r   r   zNullProvider._fn	  sL   € Ø×$Ò$ ]Ñ3Ô3Ð3Øð 	AÝ”7”< Ð@ }×':Ò':¸3Ñ'?Ô'?Ð@Ð@Ð@Ð@Øˆr   c                 ó~  — t           j        j        |                      t          j        ¦  «        v p't	          j        | ¦  «        pt          j        | ¦  «        }|sdS d}t          j        | ¦  «        r#t	          j        | ¦  «        st          |¦  «        ‚t          j
        |dd…         dz   t          d¬¦  «         dS )aH  
        Validate the resource paths according to the docs.
        https://setuptools.pypa.io/en/latest/pkg_resources.html#basic-resource-access

        >>> warned = getfixture('recwarn')
        >>> warnings.simplefilter('always')
        >>> vrp = NullProvider._validate_resource_path
        >>> vrp('foo/bar.txt')
        >>> bool(warned)
        False
        >>> vrp('../foo/bar.txt')
        >>> bool(warned)
        True
        >>> warned.clear()
        >>> vrp('/foo/bar.txt')
        >>> bool(warned)
        True
        >>> vrp('foo/../../bar.txt')
        >>> bool(warned)
        True
        >>> warned.clear()
        >>> vrp('foo/f../bar.txt')
        >>> bool(warned)
        False

        Windows path separators are straight-up disallowed.
        >>> vrp(r'\foo/bar.txt')
        Traceback (most recent call last):
        ...
        ValueError: Use of .. or absolute path in a resource path is not allowed.

        >>> vrp(r'C:\foo/bar.txt')
        Traceback (most recent call last):
        ...
        ValueError: Use of .. or absolute path in a resource path is not allowed.

        Blank values are allowed

        >>> vrp('')
        >>> bool(warned)
        False

        Non-string values are not.

        >>> vrp(None)
        Traceback (most recent call last):
        ...
        AttributeError: ...
        Nz=Use of .. or absolute path in a resource path is not allowed.rÄ   z/ and will raise exceptions in a future release.rí   ©Ú
stacklevel)rÛ   rÜ   Úpardirr
   Ú	posixpathÚsepÚisabsÚntpathrS   rò  ró  ÚDeprecationWarning)rÜ   Úinvalidrö  s      r   rZ  z$NullProvider._validate_resource_path  sÉ   € õl ŒGŒN˜dŸjšj­¬Ñ7Ô7Ð7ð "ÝŒ˜tÑ$Ô$ð"åŒ|˜DÑ!Ô!ð 	ð
 ð 	ØˆFàMˆõ Œ<˜ÑÔð 	"¥i¤o°dÑ&;Ô&;ð 	"Ý˜S‘/”/Ð!õ 	ŒØ���ŒHÐHÑHÝØð	
ñ 	
ô 	
ð 	
ð 	
ð 	
r   c                 ó~   — t          | j        d¦  «        r| j                             |¦  «        S t          d¦  «        ‚)NÚget_dataz=Can't perform this operation for loaders without 'get_data()')rÞ   rÕ   rg  rT  rþ  s     r   r&  zNullProvider._getZ  sA   € Ý�4”; 
Ñ+Ô+ð 	.Ø”;×'Ò'¨Ñ-Ô-Ð-Ý!ØKñ
ô 
ð 	
r   )r   r   r   r   Úegg_namer,  rÕ   r9  r&  r(  r*  r-  r.  r  r  r  rd   r  rb   r  rX   r)  r<  r?  r   r  rZ  r&  r   r   r   r�   r�   ž  sz  € € € € € ØOÐOà€HØ€HØ€FðLð Lð Lð9ð 9ð 9ðLð Lð LðDð Dð DðDð Dð Dð-ð -ð -ðð ð ðð ð ð4ð 4ð 4ðFð Fð FðLð Lð LðHð Hð Hðð ð ð
4ð 4ð 4ð:
ð 
ð 
ð

ð 
ð 
ð

ð 
ð 
ð
ð ð ð ðH
ð H
ñ „\ðH
ðT
ð 
ð 
ð 
ð 
r   r�   c              #   óz   K  — d}| |k    r0| V — | }t           j                             | ¦  «        \  } }| |k    °.dS dS )z2
    yield all parents of path including path
    N)rÛ   rÜ   r
   )rÜ   Úlastrï   s      r   Ú_parentsrk  e  sN   è è € ð €DØ
�$Š,ˆ,Øˆ
ˆ
ˆ
ØˆÝ”'—-’- Ñ%Ô%‰ˆˆað �$Š,ˆ,ˆ,ˆ,ˆ,ˆ,r   c                   ó.   ‡ — e Zd ZdZˆ fd„Zd„ Zd„ Zˆ xZS )r‘   z&Provider based on a virtual filesystemc                 ór   •— t          ¦   «                              |¦  «         |                      ¦   «          d S r   )Úsuperr9  Ú_setup_prefix©r    rÔ   r�   s     €r   r9  zEggProvider.__init__s  s3   ø€ Ý‰Œ×Ò˜Ñ Ô Ð Ø×ÒÑÔÐÐÐr   c                 ó¨   — t          t          t          | j        ¦  «        ¦  «        }t	          |d ¦  «        }|o|                      |¦  «         d S  d S r   )ÚfilterÚ_is_egg_pathrk  r  ÚnextÚ_set_egg)r    ÚeggsÚeggs      r   ro  zEggProvider._setup_prefixw  sS   € õ •l¥H¨TÔ-=Ñ$>Ô$>Ñ?Ô?ˆÝ�4˜ÑÔˆØÐ"�—’˜cÑ"Ô"Ð"Ð"Ð"Ð"Ð"Ð"r   c                 ó¦   — t           j                             |¦  «        | _        t           j                             |d¦  «        | _        || _        d S )NúEGG-INFO)rÛ   rÜ   Úbasenamerh  rP   r,  Úegg_rootrþ  s     r   ru  zEggProvider._set_egg~  s;   € Ýœ×(Ò(¨Ñ.Ô.ˆŒÝœŸš T¨:Ñ6Ô6ˆŒØˆŒˆˆr   )r   r   r   r   r9  ro  ru  Ú__classcell__rÃ  s   @r   r‘   r‘   p  s\   ø€ € € € € Ø0Ð0ðð ð ð ð ð#ð #ð #ðð ð ð ð ð ð r   r‘   c                   óF   — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd„ Ze	d„ ¦   «         Z
dS )	r’   z6Provides access to package resources in the filesystemc                 ó@   — t           j                             |¦  «        S r   )rÛ   rÜ   rÝ   rþ  s     r   r)  zDefaultProvider._has‡  s   € ÝŒw�~Š~˜dÑ#Ô#Ð#r   c                 ó@   — t           j                             |¦  «        S r   )rÛ   rÜ   r	   rþ  s     r   r<  zDefaultProvider._isdirŠ  s   € ÝŒw�}Š}˜TÑ"Ô"Ð"r   c                 ó*   — t          j        |¦  «        S r   )rÛ   Úlistdirrþ  s     r   r?  zDefaultProvider._listdir�  s   € ÝŒz˜$ÑÔÐr   c                 óT   — t          |                      | j        |¦  «        d¦  «        S ©NÚrb)r   r   r  r!  s      r   r(  z#DefaultProvider.get_resource_stream�  s#   € Ý�D—H’H˜TÔ-¨}Ñ=Ô=¸tÑDÔDÐDr   c                 ó~   — t          |d¦  «        5 }|                     ¦   «         cd d d ¦  «         S # 1 swxY w Y   d S rƒ  )r   rF  )r    rÜ   Ústreams      r   r&  zDefaultProvider._get“  s~   € Ý�$˜ÑÔð 	! Ø—;’;‘=”=ð	!ð 	!ð 	!ð 	!ñ 	!ô 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!øøøð 	!ð 	!ð 	!ð 	!ð 	!ð 	!s   ‘2²6¹6c                 óz   — d}|D ]5}t          t          |t          d ¦  «        ¦  «        }t          || ¦  «         Œ6d S )N)ÚSourceFileLoaderÚSourcelessFileLoader)rÑ   Úimportlib_machineryÚtyper–   )r?  Úloader_namesr  Ú
loader_clss       r   Ú	_registerzDefaultProvider._register—  sO   € ð
ˆð !ð 	2ð 	2ˆDÝ Õ!4°d½DÀ¹J¼JÑGÔGˆJÝ  ¨SÑ1Ô1Ð1Ð1ð	2ð 	2r   N)r   r   r   r   r)  r<  r?  r(  r&  r—  rŽ  r   r   r   r’   r’   „  sƒ   € € € € € Ø@Ð@ð$ð $ð $ð#ð #ð #ð ð  ð  ðEð Eð Eð!ð !ð !ð ð2ð 2ñ „[ð2ð 2ð 2r   r’   c                   ó2   — e Zd ZdZdZd„ xZZd„ Zd„ Zd„ Z	dS )rŽ   z.Provider that returns nothing for all requestsNc                 ó   — dS rÆ  r   rþ  s     r   rD   zEmptyProvider.<lambda>ª  s   €  u€ r   c                 ó   — dS ©Nr×   r   rþ  s     r   r&  zEmptyProvider._get¬  s   € Øˆrr   c                 ó   — g S r   r   rþ  s     r   r?  zEmptyProvider._listdir¯  s   € Øˆ	r   c                 ó   — d S r   r   rŸ   s    r   r9  zEmptyProvider.__init__²  s   € Øˆr   )
r   r   r   r   r  r<  r)  r&  r?  r9  r   r   r   rŽ   rŽ   ¥  sY   € € € € € Ø8Ð8à€Kà,Ð,Ð,€FˆTðð ð ðð ð ðð ð ð ð r   rŽ   c                   ó,   — e Zd ZdZed„ ¦   «         ZeZdS )ÚZipManifestsz
    zip manifest builder
    c                 ó¾   ‡— t          j        |¦  «        5 Šˆfd„‰                     ¦   «         D ¦   «         }t          |¦  «        cddd¦  «         S # 1 swxY w Y   dS )a  
        Build a dictionary similar to the zipimport directory
        caches, except instead of tuples, store ZipInfo objects.

        Use a platform-specific path separator (os.sep) for the path keys
        for compatibility with pypy on Windows.
        c              3   ó‚   •K  — | ]9}|                      d t          j        ¦  «        ‰                     |¦  «        fV — Œ:dS )rY  N)ró   rÛ   ra  Úgetinfo)rR  r  Úzfiles     €r   rS  z%ZipManifests.build.<locals>.<genexpr>È  s]   øè è € ð ð ð
 ð —L’L ¥b¤fÑ-Ô-Ø—M’M $Ñ'Ô'ððð ð ð ð ð r   N)ÚzipfileÚZipFileÚnamelistr!   )r?  rÜ   r(   rš  s      @r   ÚbuildzZipManifests.build¾  sµ   ø€ õ Œ_˜TÑ"Ô"ð 	 eðð ð ð ð
 "ŸNšNÑ,Ô,ðñ ô ˆEõ ˜‘;”;ð	ð 	ð 	ð 	ñ 	ô 	ð 	ð 	ð 	ð 	ð 	ð 	øøøð 	ð 	ð 	ð 	ð 	ð 	s   –/AÁAÁAN)r   r   r   r   r—  rž  Úloadr   r   r   r–  r–  ¹  s:   € € € € € ðð ð ðð ñ „[ðð$ €D€D€Dr   r–  c                   ó:   — e Zd ZdZ ej        dd¦  «        Zd„ ZdS )ÚMemoizedZipManifestsz%
    Memoized zipfile manifests.
    Úmanifest_modzmanifest mtimec                 ó  — t           j                             |¦  «        }t          j        |¦  «        j        }|| vs| |         j        |k    r.|                      |¦  «        }|                      ||¦  «        | |<   | |         j        S )zW
        Load a manifest at path or return a suitable manifest already loaded.
        )	rÛ   rÜ   Únormpathrî  Úst_mtimeÚmtimerž  r¢  Úmanifest)r    rÜ   r¦  r§  s       r   rŸ  zMemoizedZipManifests.loadÛ  s|   € õ Œw×Ò Ñ%Ô%ˆÝ”˜‘”Ô&ˆà�tÐÐ˜t DœzÔ/°5Ò8Ð8Ø—z’z $Ñ'Ô'ˆHØ×*Ò*¨8°UÑ;Ô;ˆD�‰Jà�DŒzÔ"Ð"r   N)r   r   r   r   ri  Ú
namedtupler¢  rŸ  r   r   r   r¡  r¡  Ô  sD   € € € € € ðð ð *�;Ô)¨.Ð:JÑKÔK€Lð#ð #ð #ð #ð #r   r¡  c                   ó®   ‡ — e Zd ZdZdZ e¦   «         Zˆ fd„Zd„ Zd„ Z	e
d„ ¦   «         Zd„ Zed„ ¦   «         Zd	„ Zd
„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zˆ xZS )r“   z"Resource support for zips and eggsNc                 ó†   •— t          ¦   «                              |¦  «         | j        j        t          j        z   | _        d S r   )rn  r9  rÕ   ÚarchiverÛ   ra  Úzip_prerp  s     €r   r9  zZipProvider.__init__ï  s2   ø€ Ý‰Œ×Ò˜Ñ Ô Ð Ø”{Ô*­R¬VÑ3ˆŒˆˆr   c                 ó  — |                      t          j        ¦  «        }|| j        j        k    rdS |                     | j        ¦  «        r|t          | j        ¦  «        d …         S t          |›d| j        ›�¦  «        ‚)Nr×   ú is not a subpath of )	ÚrstriprÛ   ra  rÕ   r«  rñ   r¬  rI  ÚAssertionError©r    Úfspaths     r   Ú_zipinfo_namezZipProvider._zipinfo_nameó  sz   € ð —’�rœvÑ&Ô&ˆØ�T”[Ô(Ò(Ð(Ø�2Ø×Ò˜Tœ\Ñ*Ô*ð 	/Ø�#˜dœlÑ+Ô+Ð-Ð-Ô.Ð.Ý¸F¸F¸FÀDÄLÀLÐQÑRÔRÐRr   c                 ó  — | j         |z   }|                     | j        t          j        z   ¦  «        r<|t          | j        ¦  «        dz   d …                              t          j        ¦  «        S t          |›d| j        ›�¦  «        ‚)Nr©   r®  )r¬  rñ   r{  rÛ   ra  rI  r
   r°  )r    Úzip_pathr²  s      r   Ú_partszZipProvider._partsý  s{   € ð ” Ñ(ˆØ×Ò˜Tœ]­R¬VÑ3Ñ4Ô4ð 	BØ�#˜dœmÑ,Ô,¨qÑ0Ð2Ð2Ô3×9Ò9½"¼&ÑAÔAÐAÝ¸F¸F¸FÀDÄMÀMÐRÑSÔSÐSr   c                 óJ   — | j                              | j        j        ¦  «        S r   )Ú_zip_manifestsrŸ  rÕ   r«  rŸ   s    r   ÚzipinfozZipProvider.zipinfo  s   € àÔ"×'Ò'¨¬Ô(;Ñ<Ô<Ð<r   c                 ó\  — | j         st          d¦  «        ‚|                      |¦  «        }|                      ¦   «         }d                     |                      |¦  «        ¦  «        |v r.|D ]+}|                      ||                      |¦  «        ¦  «         Œ,|                      ||¦  «        S )Nz5resource_filename() only supported for .egg, not .ziprY  )rh  rT  Ú_resource_to_zipÚ_get_eager_resourcesrP   r¶  Ú_extract_resourceÚ_eager_to_zip)r    r$  r%  rµ  Úeagersr  s         r   r&  z!ZipProvider.get_resource_filename	  s¸   € ØŒ}ð 	Ý%ØGñô ð ð ×(Ò(¨Ñ7Ô7ˆØ×*Ò*Ñ,Ô,ˆØ�8Š8�D—K’K Ñ)Ô)Ñ*Ô*¨fÐ4Ð4Øð Jð J�Ø×&Ò& w°×0BÒ0BÀ4Ñ0HÔ0HÑIÔIÐIÐIØ×%Ò% g¨xÑ8Ô8Ð8r   c                 óT   — | j         }| j        dz   }t          j        |¦  «        }||fS )N)r   r   rÄ   )Ú	file_sizeÚ	date_timeÚtimeÚmktime)Úzip_statÚsizerÂ  Ú	timestamps       r   Ú_get_date_and_sizezZipProvider._get_date_and_size  s0   € àÔ!ˆàÔ&¨Ñ3ˆ	å”K 	Ñ*Ô*ˆ	Ø˜$ˆÐr   c                 ó¾  — ||                       ¦   «         v rp|                       ¦   «         |         D ]6}|                      |t          j                             ||¦  «        ¦  «        }Œ7t          j                             |¦  «        S |                      | j        |         ¦  «        \  }}t          st          d¦  «        ‚	 | 
                    | j        |                      |¦  «        ¦  «        }|                      ||¦  «        r|S t          dt          j                             |¦  «        ¬¦  «        \  }}	t          j        || j                             |¦  «        ¦  «         t          j        |¦  «         t'          |	||f¦  «         |                     |	|¦  «         	 t+          |	|¦  «         n€# t          j        $ rn t          j                             |¦  «        rM|                      ||¦  «        r|cY S t          j        dk    r#t3          |¦  «         t+          |	|¦  «         |cY S ‚ w xY wn)# t          j        $ r |                     ¦   «          Y nw xY w|S )Nz>"os.rename" and "os.unlink" are not supported on this platformz	.$extract)Údirrë  )Ú_indexr½  rÛ   rÜ   rP   r  rÈ  r¹  ÚWRITE_SUPPORTÚIOErrorré  rh  r¶  Ú_is_currentÚ_mkstempÚwriterÕ   rg  Úcloser   rü  r   ÚerrorÚisfiler  r   rà  )
r    r$  rµ  r  rj  rÇ  rÆ  Ú	real_pathÚoutfÚtmpnams
             r   r½  zZipProvider._extract_resource   sd  € à�t—{’{‘}”}Ð$Ð$ØŸš™œ hÔ/ð Uð U�Ø×-Ò-¨gµr´w·|²|ÀHÈdÑ7SÔ7SÑTÔT��å”7—?’? 4Ñ(Ô(Ð(à×1Ò1°$´,¸xÔ2HÑIÔI‰ˆ	�4åð 	ÝØSñô ð ð"	'à×.Ò.¨t¬}¸d¿kºkÈ(Ñ>SÔ>SÑTÔTˆIà×Ò 	¨8Ñ4Ô4ð !Ø Ð å#ØÝ”G—O’O IÑ.Ô.ðñ ô ‰LˆD�&õ ŒH�T˜4œ;×/Ò/°Ñ9Ô9Ñ:Ô:Ð:ÝŒH�T‰NŒNˆNÝ�&˜9 iÐ0Ñ1Ô1Ð1Ø×Ò ¨	Ñ2Ô2Ð2ðÝ�v˜yÑ)Ô)Ð)Ð)øå”8ð ð ð Ý”7—>’> )Ñ,Ô,ð 	)Ø×'Ò'¨	°8Ñ<Ô<ð )ð  )Ð(Ð(Ð(åœ Dš˜Ý˜yÑ)Ô)Ð)Ý˜v yÑ1Ô1Ð1Ø(Ð(Ð(Ð(Øðøøøð *øõ Œxð 	'ð 	'ð 	'à×$Ò$Ñ&Ô&Ð&Ð&Ð&ð	'øøøð ÐsK   ÃAH4 ÄBH4 Æ"F3 Æ2H4 Æ3AH0Ç9H4 Ç;1H0È,H4 È.H0È0H4 È4#IÉIc                 óš  — |                       | j        |         ¦  «        \  }}t          j                             |¦  «        sdS t          j        |¦  «        }|j        |k    s|j        |k    rdS | j         	                    |¦  «        }t          |d¦  «        5 }|                     ¦   «         }ddd¦  «         n# 1 swxY w Y   ||k    S )zK
        Return True if the file_path is current for this zip_path
        Fr„  N)rÈ  r¹  rÛ   rÜ   rÓ  rî  Úst_sizer¥  rÕ   rg  r   rF  )	r    Ú	file_pathrµ  rÇ  rÆ  rî  Úzip_contentsÚfÚfile_contentss	            r   rÎ  zZipProvider._is_currentT  sù   € ð ×1Ò1°$´,¸xÔ2HÑIÔI‰ˆ	�4ÝŒw�~Š~˜iÑ(Ô(ð 	Ø�5ÝŒw�yÑ!Ô!ˆØŒ<˜4ÒÐ 4¤=°IÒ#=Ð#=Ø�5à”{×+Ò+¨HÑ5Ô5ˆÝ�)˜TÑ"Ô"ð 	% aØŸFšF™HœHˆMð	%ð 	%ð 	%ñ 	%ô 	%ð 	%ð 	%ð 	%ð 	%ð 	%ð 	%øøøð 	%ð 	%ð 	%ð 	%à˜}Ò,Ð,s   ÂB<Â<C ÃC c                 ó´   — | j         €Kg }dD ]?}|                      |¦  «        r(|                     |                      |¦  «        ¦  «         Œ@|| _         | j         S )N)znative_libs.txtzeager_resources.txt)r¿  r  rp  r  )r    r¿  r  s      r   r¼  z ZipProvider._get_eager_resourcesd  sg   € ØŒ;ÐØˆFØBð Að A�Ø×$Ò$ TÑ*Ô*ð AØ—M’M $×"9Ò"9¸$Ñ"?Ô"?Ñ@Ô@Ð@øØ ˆDŒKØŒ{Ðr   c                 ól  — 	 | j         S # t          $ r  i }| j        D ]Š}|                     t          j        ¦  «        }|rgt          j                             |d d…         ¦  «        }||v r"||                              |d         ¦  «         n|                     ¦   «         g||<   |°gŒ‹|| _         |cY S w xY w)NrÄ   )	Ú	_dirindexÚAttributeErrorr¹  r
   rÛ   ra  rP   rà   rl  )r    ÚindrÜ   ÚpartsÚparents        r   rË  zZipProvider._indexm  sÎ   € ð	Ø”>Ð!øÝð 	ð 	ð 	ØˆCØœð 4ð 4�ØŸ
š
¥2¤6Ñ*Ô*�Øð 4ÝœVŸ[š[¨¨s°¨s¬Ñ4Ô4�FØ �}�}Ø˜Fœ×*Ò*¨5°¬9Ñ5Ô5Ð5Øà',§y¢y¡{¤{ m˜˜F™ð ð 4øð !ˆDŒNØˆJˆJˆJð	øøøs   ‚	 ‰B'B3Â2B3c                 ój   — |                       |¦  «        }|| j        v p||                      ¦   «         v S r   )r³  r¹  rË  )r    r²  rµ  s      r   r)  zZipProvider._has~  s4   € Ø×%Ò% fÑ-Ô-ˆØ˜4œ<Ð'ÐD¨8°t·{²{±}´}Ð+DÐDr   c                 óT   — |                       |¦  «        |                      ¦   «         v S r   )r³  rË  r±  s     r   r<  zZipProvider._isdir‚  s#   € Ø×!Ò! &Ñ)Ô)¨T¯[ª[©]¬]Ð:Ð:r   c                 ó’   — t          |                      ¦   «                              |                      |¦  «        d¦  «        ¦  «        S r¬   )rg  rË  ré   r³  r±  s     r   r?  zZipProvider._listdir…  s6   € Ý�D—K’K‘M”M×%Ò% d×&8Ò&8¸Ñ&@Ô&@À"ÑEÔEÑFÔFÐFr   c                 ó^   — |                       |                      | j        |¦  «        ¦  «        S r   )r³  r   r{  r*  s     r   r¾  zZipProvider._eager_to_zipˆ  s&   € Ø×!Ò! $§(¢(¨4¬=¸-Ñ"HÔ"HÑIÔIÐIr   c                 ó^   — |                       |                      | j        |¦  «        ¦  «        S r   )r³  r   r  r*  s     r   r»  zZipProvider._resource_to_zip‹  s'   € Ø×!Ò! $§(¢(¨4Ô+;¸]Ñ"KÔ"KÑLÔLÐLr   )r   r   r   r   r¿  r¡  r¸  r9  r³  r¶  r·   r¹  r&  r  rÈ  r½  rÎ  r¼  rË  r)  r<  r?  r¾  r»  r|  rÃ  s   @r   r“   r“   é  sR  ø€ € € € € Ø,Ð,à€FØ)Ð)Ñ+Ô+€Nð4ð 4ð 4ð 4ð 4ðSð Sð SðTð Tð Tð ð=ð =ñ „Xð=ð9ð 9ð 9ð ðð ñ „\ðð2ð 2ð 2ðh-ð -ð -ð ð ð ðð ð ð"Eð Eð Eð;ð ;ð ;ðGð Gð GðJð Jð JðMð Mð Mð Mð Mð Mð Mr   r“   c                   ó6   — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd„ Zd„ Z	dS )	r‹   a*  Metadata handler for standalone PKG-INFO files

    Usage::

        metadata = FileMetadata("/path/to/PKG-INFO")

    This provider rejects all data and metadata requests except for PKG-INFO,
    which is treated as existing, and will be the contents of the file at
    the provided location.
    c                 ó   — || _         d S r   ©rÜ   rþ  s     r   r9  zFileMetadata.__init__ž  s   € ØˆŒ	ˆ	ˆ	r   c                 ó   — | j         S r   rë  r-  s     r   r.  zFileMetadata._get_metadata_path¡  s
   € ØŒyÐr   c                 óV   — |dk    o#t           j                             | j        ¦  «        S )NúPKG-INFO)rÛ   rÜ   rÓ  r-  s     r   r  zFileMetadata.has_metadata¤  s"   € Ø�zÒ!Ð?¥b¤g§n¢n°T´YÑ&?Ô&?Ð?r   c                 óê   — |dk    rt          d¦  «        ‚t          j        | j        dd¬¦  «        5 }|                     ¦   «         }d d d ¦  «         n# 1 swxY w Y   |                      |¦  «         |S )Nrî  z(No metadata except PKG-INFO is availabler2  ró   )ÚencodingÚerrors)rÏ   r#  r   rÜ   rF  Ú_warn_on_replacement)r    r  rÛ  Úmetadatas       r   r  zFileMetadata.get_metadata§  s­   € Ø�:ÒÐÝÐEÑFÔFÐFåŒW�T”Y¨¸ÐCÑCÔCð 	 ÀqØ—v’v‘x”xˆHð	 ð 	 ð 	 ñ 	 ô 	 ð 	 ð 	 ð 	 ð 	 ð 	 ð 	 øøøð 	 ð 	 ð 	 ð 	 à×!Ò! (Ñ+Ô+Ð+Øˆs   ²AÁAÁAc                 ót   — d}||v r1d} |j         di t          ¦   «         ¤Ž}t          j        |¦  «         d S d S )Nu   ï¿½z2{self.path} could not be properly decoded in UTF-8r   )r¯   r°   rò  ró  )r    ró  Úreplacement_charrÞ  rö  s        r   rò  z!FileMetadata._warn_on_replacement°  sQ   € Ø ÐØ˜xÐ'Ð'ØGˆDØ�$”+Ð)Ð)¥¡¤Ð)Ð)ˆCÝŒM˜#ÑÔÐÐÐð (Ð'r   c                 óF   — t          |                      |¦  «        ¦  «        S r   r9  r-  s     r   r  zFileMetadata.get_metadata_lines·  r:  r   N)
r   r   r   r   r9  r.  r  r  rò  r  r   r   r   r‹   r‹   ’  s{   € € € € € ð	ð 	ðð ð ðð ð ð@ð @ð @ðð ð ðð ð ð4ð 4ð 4ð 4ð 4r   r‹   c                   ó   — e Zd ZdZd„ ZdS )rŒ   as  Metadata provider for egg directories

    Usage::

        # Development eggs:

        egg_info = "/path/to/PackageName.egg-info"
        base_dir = os.path.dirname(egg_info)
        metadata = PathMetadata(base_dir, egg_info)
        dist_name = os.path.splitext(os.path.basename(egg_info))[0]
        dist = Distribution(basedir, project_name=dist_name, metadata=metadata)

        # Unpacked egg directories:

        egg_path = "/path/to/PackageName-ver-pyver-etc.egg"
        metadata = PathMetadata(egg_path, os.path.join(egg_path,'EGG-INFO'))
        dist = Distribution.from_filename(egg_path, metadata=metadata)
    c                 ó"   — || _         || _        d S r   )r  r,  )r    rÜ   r,  s      r   r9  zPathMetadata.__init__Ï  s   € ØˆÔØ ˆŒˆˆr   N©r   r   r   r   r9  r   r   r   rŒ   rŒ   »  s-   € € € € € ðð ð&!ð !ð !ð !ð !r   rŒ   c                   ó   — e Zd ZdZd„ ZdS )r�   z Metadata provider for .egg filesc                 óô   — |j         t          j        z   | _        || _        |j        r0t          j                             |j         |j        ¦  «        | _        n|j         | _        |  	                    ¦   «          dS )z-Create a metadata provider from a zipimporterN)
r«  rÛ   ra  r¬  rÕ   ÚprefixrÜ   rP   r  ro  )r    Úimporters     r   r9  zEggMetadata.__init__×  si   € ð  Ô'­"¬&Ñ0ˆŒØˆŒØŒ?ð 	0Ý!œwŸ|š|¨HÔ,<¸h¼oÑNÔNˆDÔÐà'Ô/ˆDÔØ×ÒÑÔÐÐÐr   Nrù  r   r   r   r�   r�   Ô  s)   € € € € € Ø*Ð*ð	ð 	ð 	ð 	ð 	r   r�   r!   ©Ú_distribution_findersc                 ó   — |t           | <   dS )ax  Register `distribution_finder` to find distributions in sys.path items

    `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
    handler), and `distribution_finder` is a callable that, passed a path
    item and the importer instance, yields ``Distribution`` instances found on
    that path item.  See ``pkg_resources.find_on_path`` for an example.Nrþ  )Úimporter_typeÚdistribution_finders     r   r”   r”   æ  s   € ð ,?Õ˜-Ñ(Ð(Ð(r   c                 ód   — t          | ¦  «        }t          t          |¦  «        } ||| |¦  «        S )z.Yield distributions accessible via `path_item`)r   rÒ   rÿ  )Ú	path_itemÚonlyrý  Úfinders       r   rh   rh   ð  s3   € å˜IÑ&Ô&€HÝÕ0°(Ñ;Ô;€FØˆ6�(˜I tÑ,Ô,Ð,r   c              #   óÎ  K  — | j                              d¦  «        rdS t          | ¦  «        }|                     d¦  «        rt                               ||¬¦  «        V — |rdS |                     d¦  «        D ]ê}t          |¦  «        rLt          j	         
                    ||¦  «        }t          t          j        |¦  «        |¦  «        }|D ]}|V — ŒŒ]|                     ¦   «                              d¦  «        rft          j	         
                    ||¦  «        }t          t          j        |¦  «        ¦  «        }||_        t                               |||¦  «        V — ŒëdS )z@
    Find eggs in zip files; possibly multiple nested eggs.
    z.whlNrî  ©ró  r×   )ú
.dist-infoú	.egg-info)r«  Úendswithr�   r  ro   Úfrom_filenamerb   rs  rÛ   rÜ   rP   Úfind_eggs_in_zipÚ	zipimportÚzipimporterr¯  r,  Úfrom_location)	rý  r  r  ró  ÚsubitemÚsubpathrG  r¥   Úsubmetas	            r   r  r  ÷  sv  è è € ð Ô× Ò  Ñ(Ô(ð ð 	ˆÝ˜8Ñ$Ô$€HØ×Ò˜ZÑ(Ô(ð GÝ×(Ò(¨¸XÐ(ÑFÔFÐFÐFÐFØð àˆØ×,Ò,¨RÑ0Ô0ð 
Jð 
JˆÝ˜Ñ Ô ð 		JÝ”g—l’l 9¨gÑ6Ô6ˆGÝ$¥YÔ%:¸7Ñ%CÔ%CÀWÑMÔMˆEØð ð �Ø�
�
�
�
ðà�]Š]‰_Œ_×%Ò%Ð&AÑBÔBð 	JÝ”g—l’l 9¨gÑ6Ô6ˆGÝ!¥)Ô"7¸Ñ"@Ô"@ÑAÔAˆGØ&ˆGÔÝ×,Ò,¨Y¸ÀÑIÔIÐIÐIÐIøð
Jð 
Jr   c                 ó   — dS r¬   r   )rý  r  r  s      r   Úfind_nothingr    s   € Øˆ2r   c           
   #   óÀ  ‡K  — t          ‰¦  «        Št          ‰¦  «        rLt                               ‰t	          ‰t
          j                             ‰d¦  «        ¦  «        ¬¦  «        V — dS ˆfd„t          ‰¦  «        D ¦   «         }t          |¦  «        D ]E}t
          j                             ‰|¦  «        }t          ‰||¦  «        } ||¦  «        D ]}|V — ŒŒFdS )z6Yield distributions accessible on a sys.path directoryry  r  Nc              3   óX   •K  — | ]$}t           j                             ‰|¦  «        V — Œ%d S r   )rÛ   rÜ   rP   )rR  Úchildr  s     €r   rS  zfind_on_path.<locals>.<genexpr>'  s3   øè è € ÐSÐS°%�rŒw�|Š|˜I uÑ-Ô-ÐSÐSÐSÐSÐSÐSr   )Ú_normalize_cachedÚ_is_unpacked_eggro   r  rŒ   rÛ   rÜ   rP   Úsafe_listdirÚsortedÚdist_factory)rý  r  r  r2  r8  ÚfullpathÚfactoryr¥   s    `      r   Úfind_on_pathr     s  øè è € å! )Ñ,Ô,€Iå˜	Ñ"Ô"ð Ý×(Ò(ØÝ! )­R¬W¯\ª\¸)ÀZÑ-PÔ-PÑQÔQð )ñ 
ô 
ð 	
ð 	
ð 	
ð 	ˆàSÐSÐSÐS½<È	Ñ;RÔ;RÐSÑSÔS€Gõ ˜‘”ð ð ˆÝ”7—<’< 	¨5Ñ1Ô1ˆÝ˜y¨%°Ñ6Ô6ˆØ�G˜HÑ%Ô%ð 	ð 	ˆDØˆJˆJˆJˆJð	ðð r   c                 óš  — |                      ¦   «         }|                     d¦  «        }|                     d¦  «        o<t          j                             t          j                             | |¦  «        ¦  «        }|p|}|rt          nC|st          |¦  «        rt          n+|s|                     d¦  «        rt          nt          ¦   «         S )z*Return a dist_factory for the given entry.r
  r	  z	.egg-link)r¯  r  rÛ   rÜ   r	   rP   Údistributions_from_metadatars  rh   Úresolve_egg_linkÚNoDists)r  r8  r  r¯  Úis_egg_infoÚis_dist_infoÚis_metas          r   r  r  1  sÇ   € à�KŠK‰MŒM€EØ—.’. Ñ-Ô-€KØ—>’> ,Ñ/Ô/ð µB´G·M²MÝ
Œ�Š�Y Ñ&Ô&ñ5ô 5€Lð Ð)˜\€Gð ð	Õ#Ð#ð ðÝ$ UÑ+Ô+ðÕÐð ðØŸš {Ñ3Ô3ðÕÐå‰YŒYðr   c                   ó   — e Zd ZdZd„ Zd„ ZdS )r$  zS
    >>> bool(NoDists())
    False

    >>> list(NoDists()('anything'))
    []
    c                 ó   — dS rÆ  r   rŸ   s    r   Ú__bool__zNoDists.__bool__M  s   € Øˆur   c                 ó    — t          d¦  «        S r¬   )Úiter)r    r  s     r   Ú__call__zNoDists.__call__P  s   € Ý�B‰xŒxˆr   N)r   r   r   r   r*  r-  r   r   r   r$  r$  D  s<   € € € € € ðð ðð ð ðð ð ð ð r   r$  c                 óØ   — 	 t          j        | ¦  «        S # t          t          f$ r Y nAt          $ r5}|j        t
          j        t
          j        t
          j        fvr‚ Y d}~nd}~ww xY wdS )zI
    Attempt to list contents of path, but suppress some exceptions.
    Nr   )	rÛ   r�  ÚPermissionErrorÚNotADirectoryErrorÚOSErrorÚerrnoÚENOTDIRÚEACCESÚENOENT)rÜ   r  s     r   r  r  T  s‹   € ðÝŒz˜$ÑÔÐøÝÕ/Ð0ð ð ð ØˆÝð ð ð ð Œ7�5œ=­%¬,½¼ÐEÐEÐEØð FÐEÐEÐEÐEøøøøðøøøð
 ˆ2s   ‚ –A'©	A'²+A"Á"A'c              #   óœ  K  — t           j                             | ¦  «        }t           j                             | ¦  «        r8t	          t          j        | ¦  «        ¦  «        dk    rd S t          || ¦  «        }nt          | ¦  «        }t           j                             | ¦  «        }t           
                    |||t          ¬¦  «        V — d S )Nr   )Ú
precedence)rÛ   rÜ   r  r	   rI  r�  rŒ   r‹   rz  ro   r  rˆ   )rÜ   Úrootró  r8  s       r   r"  r"  d  sÁ   è è € ÝŒ7�?Š?˜4Ñ Ô €DÝ	„w‡}‚}�TÑÔð &Ý�rŒz˜$ÑÔÑ Ô  AÒ%Ð%àˆFÝ  dÑ+Ô+ˆˆå Ñ%Ô%ˆÝŒG×Ò˜TÑ"Ô"€EÝ
×
$Ò
$ØØØÝð	 %ñ ô ð ð ð ð ð r   c              #   óš   K  — t          | ¦  «        5 }|D ]}|                     ¦   «         }|r|V — Œ	 ddd¦  «         dS # 1 swxY w Y   dS )z1
    Yield non-empty lines from file at path
    N)r   Ústrip)rÜ   rÛ  Úlines      r   Únon_empty_linesr<  v  s¨   è è € õ 
ˆd‰Œð �qØð 	ð 	ˆDØ—:’:‘<”<ˆDØð Ø�
�
�
øð	ðð ð ñ ô ð ð ð ð ð ð ð øøøð ð ð ð ð ð s   ’ A Á AÁAc                 óˆ   ‡ — t          ‰ ¦  «        }ˆ fd„|D ¦   «         }t          t          |¦  «        }t          |d¦  «        S )za
    Given a path to an .egg-link, resolve distributions
    present in the referenced path.
    c              3   ó’   •K  — | ]A}t           j                             t           j                             ‰¦  «        |¦  «        V — ŒBd S r   )rÛ   rÜ   rP   r  )rR  ÚrefrÜ   s     €r   rS  z#resolve_egg_link.<locals>.<genexpr>‡  sR   øè è € ð ð Ø58�Œ�Š•R”W—_’_ TÑ*Ô*¨CÑ0Ô0ðð ð ð ð ð r   r   )r<  r�  rh   rt  )rÜ   Úreferenced_pathsÚresolved_pathsÚdist_groupss   `   r   r#  r#  �  s]   ø€ õ
 ' tÑ,Ô,Ððð ð ð Ø<Lðñ ô €Nõ Õ(¨.Ñ9Ô9€KÝ�˜RÑ Ô Ð r   ÚImpImporter©Ú_namespace_handlers)Ú_namespace_packagesc                 ó   — |t           | <   dS )aš  Register `namespace_handler` to declare namespace packages

    `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
    handler), and `namespace_handler` is a callable like this::

        def namespace_handler(importer, path_entry, moduleName, module):
            # return a path_entry to use for child packages

    Namespace handlers are only called if the importer object has already
    agreed that it can handle the relevant path item, and they should only
    return a subpath if the module __path__ does not already contain an
    equivalent subpath.  For an example namespace handler, see
    ``pkg_resources.file_ns_handler``.
    NrD  )r  Únamespace_handlers     r   r•   r•   —  s   € ð *;Õ˜Ñ&Ð&Ð&r   c                 ó  — t          |¦  «        }|€dS 	 |                     | ¦  «        }|r|j        nd}nd# t          $ rW t	          j        ¦   «         5  t	          j        d¦  «         |                     | ¦  «        }ddd¦  «         n# 1 swxY w Y   Y nw xY w|€dS t          j	         
                    | ¦  «        }|€:t          j        | ¦  «        x}t          j	        | <   g |_        t          | ¦  «         n t          |d¦  «        st!          d| ¦  «        ‚t#          t$          |¦  «        } |||| |¦  «        }|�A|j        }|                     |¦  «         t)          j        | ¦  «         t-          || |¦  «         |S )zEEnsure that named package includes a subpath of path_item (if needed)NÚignoreÚ__path__úNot a package:)r   Ú	find_specrÕ   rà  rò  Úcatch_warningsÚsimplefilterÚfind_modulerN   rÎ   ré   ÚtypesÚ
ModuleTyperK  Ú_set_parent_nsrÞ   r
  rÒ   rE  rà   Ú	importlibÚimport_moduleÚ_rebuild_mod_path)	ÚpackageNamer  rý  ÚspecrÕ   rÔ   Úhandlerr  rÜ   s	            r   Ú
_handle_nsrZ  ©  sÖ  € õ ˜IÑ&Ô&€HØÐØˆtð/Ø×!Ò! +Ñ.Ô.ˆð !%Ð.�”�¨$ˆˆøõ ð 7ð 7ð 7åÔ$Ñ&Ô&ð 	7ð 	7ÝÔ! (Ñ+Ô+Ð+Ø×)Ò)¨+Ñ6Ô6ˆFð	7ð 	7ð 	7ñ 	7ô 	7ð 	7ð 	7ð 	7ð 	7ð 	7ð 	7øøøð 	7ð 	7ð 	7ð 	7øøð7øøøð €~ØˆtÝŒ[�_Š_˜[Ñ)Ô)€FØ€~Ý,1Ô,<¸[Ñ,IÔ,IÐIˆ•”˜[Ñ)ØˆŒÝ�{Ñ#Ô#Ð#Ð#Ý�V˜ZÑ(Ô(ð 7ÝÐ(¨+Ñ6Ô6Ð6ÝÕ/°Ñ:Ô:€GØˆg�h 	¨;¸Ñ?Ô?€GØÐØŒˆØ�Š�GÑÔÐÝÔ Ñ,Ô,Ð,Ý˜$ ¨VÑ4Ô4Ð4Ø€Ns3   •6 ¶BÁ*B	Á=BÂ	B	ÂBÂB	ÂBÂBc                 óæ   ‡‡‡— d„ t           j        D ¦   «         Šˆfd„Šˆˆfd„}t          | |¬¦  «        }d„ |D ¦   «         }t          |j        t
          ¦  «        r||j        dd…<   dS ||_        dS )zq
    Rebuild module.__path__ ensuring that all entries are ordered
    corresponding to their sys.path order
    c                 ó,   — g | ]}t          |¦  «        ‘ŒS r   ©r  ©rR  Úps     r   ú
<listcomp>z%_rebuild_mod_path.<locals>.<listcomp>Ó  ó!   € Ð7Ð7Ð7¨Õ! !Ñ$Ô$Ð7Ð7Ð7r   c                 ón   •— 	 ‰                      | ¦  «        S # t          $ r t          d¦  «        cY S w xY w)z/
        Workaround for #520 and #513.
        Úinf)ÚindexrS   Úfloat)r8  Úsys_paths    €r   Úsafe_sys_path_indexz._rebuild_mod_path.<locals>.safe_sys_path_indexÕ  sG   ø€ ð	 Ø—>’> %Ñ(Ô(Ð(øÝð 	 ð 	 ð 	 Ý˜‘<”<ÐÐÐð	 øøøs   ƒ ˜4³4c                 óò   •— |                       t          j        ¦  «        }‰                     d¦  «        dz   }|d| …         } ‰t	          t          j                             |¦  «        ¦  «        ¦  «        S )zR
        Return the ordinal of the path based on its position in sys.path
        rH   r©   N)r
   rÛ   ra  Úcountr  rP   )rÜ   Ú
path_partsÚmodule_partsrâ  Úpackage_namerg  s       €€r   Úposition_in_sys_pathz/_rebuild_mod_path.<locals>.position_in_sys_pathÞ  sh   ø€ ð —Z’Z¥¤Ñ'Ô'ˆ
Ø#×)Ò)¨#Ñ.Ô.°Ñ2ˆØ˜>˜\˜M˜>Ô*ˆØ"Ð"Õ#4µR´V·[²[ÀÑ5GÔ5GÑ#HÔ#HÑIÔIÐIr   )r:   c                 ó,   — g | ]}t          |¦  «        ‘ŒS r   r]  r^  s     r   r`  z%_rebuild_mod_path.<locals>.<listcomp>è  ra  r   N)rN   rÜ   r  rË   rK  rg  )Ú	orig_pathrl  rÔ   rm  Únew_pathrg  rf  s    `   @@r   rV  rV  Î  s¶   øøø€ ð
 8Ð7­c¬hÐ7Ñ7Ô7€Hð ð  ð  ð  ð  ðJð Jð Jð Jð Jð Jõ �iÐ%9Ð:Ñ:Ô:€HØ7Ð7¨hÐ7Ñ7Ô7€Hå�&”/¥4Ñ(Ô(ð #Ø%ˆŒ˜˜˜ÑÐÐà"ˆŒˆˆr   c                 ó˜  — t          j        ¦   «          	 | t          v r	 t          j        ¦   «          dS t          j        }|                      d¦  «        \  }}}|rct          |¦  «         |t          vrt          |¦  «         	 t          j	        |         j
        }n## t          $ r}t          d|¦  «        |‚d}~ww xY wt                               |pdg ¦  «                             | ¦  «         t                               | g ¦  «         |D ]}t          | |¦  «         Œ	 t          j        ¦   «          dS # t          j        ¦   «          w xY w)z9Declare that package 'packageName' is a namespace packageNrH   rL  )Ú_impÚacquire_lockrF  Úrelease_lockrN   rÜ   Ú
rpartitionre   rÐ   rÎ   rK  rà  r
  rI  rà   rZ  )rW  rÜ   rã  rï   r  r  s         r   re   re   ð  ss  € õ 	ÔÑÔÐðØÕ-Ð-Ð-Øõ2 	ÔÑÔÐÐÐõ/ ŒxˆØ"×-Ò-¨cÑ2Ô2‰ˆ��1àð 	AÝ˜fÑ%Ô%Ð%ØÕ0Ð0Ð0Ý˜6Ñ"Ô"Ð"ðAÝ”{ 6Ô*Ô3��øÝ!ð Að Að AÝÐ 0°&Ñ9Ô9¸qÐ@øøøøðAøøøõ
 	×&Ò& v ~°°rÑ:Ô:×AÒAÀ+ÑNÔNÐNÝ×&Ò& {°BÑ7Ô7Ð7àð 	/ð 	/ˆIõ �{ IÑ.Ô.Ð.Ð.ð	/õ 	ÔÑÔÐÐÐø�ÔÑÔÐÐøøøs6   •	D4 ´AD4 ÂB ÂD4 Â
B;Â%B6Â6B;Â;A#D4 Ä4E	c                 ó  — t          j        ¦   «          	 t                               |d¦  «        D ]$}t	          || ¦  «        }|rt          ||¦  «         Œ%	 t          j        ¦   «          dS # t          j        ¦   «          w xY w)zDEnsure that previously-declared namespace packages include path_itemr   N)rr  rs  rF  ré   rZ  r—   rt  )r  rã  Úpackager  s       r   r—   r—   	  sŽ   € åÔÑÔÐðÝ*×.Ò.¨v°rÑ:Ô:ð 	;ð 	;ˆGÝ  ¨)Ñ4Ô4ˆGØð ;Ý(¨°'Ñ:Ô:Ð:øð	;õ
 	ÔÑÔÐÐÐø�ÔÑÔÐÐøøøs   •A A+ Á+B c                 óÖ   — t           j                             ||                     d¦  «        d         ¦  «        }t	          |¦  «        }|j        D ]}t	          |¦  «        |k    r dS Œ|S )zBCompute an ns-package subpath for a filesystem or zipfile importerrH   rÄ   N)rÛ   rÜ   rP   r
   r  rK  )rý  r  rW  rÔ   r  Ú
normalizedrY  s          r   Úfile_ns_handlerrz  	  sp   € õ Œg�lŠl˜9 k×&7Ò&7¸Ñ&<Ô&<¸RÔ&@ÑAÔA€GÝ" 7Ñ+Ô+€JØ”ð ð ˆÝ˜TÑ"Ô" jÒ0Ð0ØˆEˆEð 1ð ˆr   c                 ó   — d S r   r   )rý  r  rW  rÔ   s       r   Únull_ns_handlerr|  2	  s   € Øˆ4r   c           	      óÎ   — t           j                             t           j                             t           j                             t          | ¦  «        ¦  «        ¦  «        ¦  «        S )z1Normalize a file/dir name for comparison purposes)rÛ   rÜ   ÚnormcaseÚrealpathr¤  Ú_cygwin_patch©rû  s    r   rƒ   rƒ   9	  s@   € åŒ7×Ò�BœG×,Ò,­R¬W×-=Ò-=½mÈHÑ>UÔ>UÑ-VÔ-VÑWÔWÑXÔXÐXr   c                 ód   — t           j        dk    rt          j                             | ¦  «        n| S )a  
    Contrary to POSIX 2008, on Cygwin, getcwd (3) contains
    symlink components. Using
    os.path.abspath() works around this limitation. A fix in os.getcwd()
    would probably better, in Cygwin even more so, except
    that this seems to be by design...
    Úcygwin)rN   rO   rÛ   rÜ   Úabspathr�  s    r   r€  r€  >	  s)   € õ ),¬¸Ò(@Ð(@�2Œ7�?Š?˜8Ñ$Ô$Ð$ÀhÐNr   c                 ó`   — 	 ||          S # t           $ r t          | ¦  «        x|| <   }|cY S w xY wr   )rÏ   rƒ   )rû  rá   Úresults      r   r  r  I	  sM   € ðØ�hÔÐøÝð ð ð Ý$2°8Ñ$<Ô$<Ð<ˆˆxÑ˜6Øˆˆˆðøøøs   ‚
 Š -¬-c                 ó>   — t          | ¦  «        pt          | ¦  «        S )z7
    Determine if given path appears to be an egg.
    )Ú_is_zip_eggr  rë  s    r   rs  rs  Q	  s    € õ �tÑÔÐ6Õ 0°Ñ 6Ô 6Ð6r   c                 ó¶   — |                       ¦   «                              d¦  «        o2t          j                             | ¦  «        ot          j        | ¦  «        S )Nú.egg)r¯  r  rÛ   rÜ   rÓ  r›  Ú
is_zipfilerë  s    r   rˆ  rˆ  X	  sI   € à�
Š
‰Œ×Ò˜fÑ%Ô%ð 	%ÝŒG�NŠN˜4Ñ Ô ð	%åÔ˜tÑ$Ô$ðr   c                 óÌ   — |                       ¦   «                              d¦  «        o=t          j                             t          j                             | dd¦  «        ¦  «        S )z@
    Determine if given path appears to be an unpacked egg.
    rŠ  ry  rî  )r¯  r  rÛ   rÜ   rÓ  rP   rë  s    r   r  r  `	  sN   € ð �:Š:‰<Œ<× Ò  Ñ(Ô(ð ­R¬W¯^ª^Ý
Œ�Š�T˜: zÑ2Ô2ñ.ô .ð r   c                 óì   — |                       d¦  «        }|                     ¦   «         }|rHd                     |¦  «        }t          t          j        |         |t          j        |          ¦  «         d S d S )NrH   )r
   rl  rP   ÚsetattrrN   rÎ   )rW  râ  r  rã  s       r   rS  rS  i	  sl   € Ø×Ò˜cÑ"Ô"€EØ�9Š9‰;Œ;€DØð EØ—’˜%‘”ˆÝ•”˜FÔ# T­3¬;°{Ô+CÑDÔDÐDÐDÐDðEð Er   z\w+(\.\w+)*$z–
    (?P<name>[^-]+) (
        -(?P<ver>[^-]+) (
            -py(?P<pyver>[^-]+) (
                -(?P<plat>.+)
            )?
        )?
    )?
    c                   óº   — e Zd ZdZdd„Zd„ Zd„ Zdd„Zd	„ Zdd
„Z	 e
j        d¦  «        Zedd„¦   «         Zed„ ¦   «         Zedd„¦   «         Zedd„¦   «         ZdS )rq   z3Object representing an advertised importable objectr   Nc                 ó¾   — t          |¦  «        st          d|¦  «        ‚|| _        || _        t	          |¦  «        | _        t	          |¦  «        | _        || _        d S )NzInvalid module name)ÚMODULErS   r  Úmodule_nameÚtupleÚattrsro  r¥   )r    r  r’  r”  ro  r¥   s         r   r9  zEntryPoint.__init__ƒ	  sX   € Ý�kÑ"Ô"ð 	AÝÐ2°KÑ@Ô@Ð@ØˆŒ	Ø&ˆÔÝ˜5‘\”\ˆŒ
Ý˜F‘m”mˆŒØˆŒ	ˆ	ˆ	r   c                 óÄ   — | j         ›d| j        ›�}| j        r |dd                     | j        ¦  «        z   z  }| j        r |dd                     | j        ¦  «        z  z  }|S )Nz = ú:rH   z [%s]ú,)r  r’  r”  rP   ro  )r    Úss     r   rÂ   zEntryPoint.__str__Œ	  sk   € Øœ˜˜ DÔ$4Ð$4Ð5ˆØŒ:ð 	,Ø��s—x’x ¤
Ñ+Ô+Ñ+Ñ+ˆAØŒ;ð 	1Ø�˜3Ÿ8š8 D¤KÑ0Ô0Ñ0Ñ0ˆAØˆr   c                 ó&   — dt          | ¦  «        z  S )NzEntryPoint.parse(%r)©rÍ   rŸ   s    r   r¡   zEntryPoint.__repr__”	  s   € Ø%­¨D©	¬	Ñ1Ð1r   Tc                 óŒ   — |r|s|rt          j        dt          d¬¦  «         |r | j        |i |¤Ž |                      ¦   «         S )zH
        Require packages for this EntryPoint, then resolve it.
        zJParameters to load are deprecated.  Call .resolve and .require separately.rI   r]  )rò  ró  r˜   rW   rC  )r    rW   rC   Úkwargss       r   rŸ  zEntryPoint.load—	  sm   € ð ð 	˜$ð 	 &ð 	ÝŒMð'å.Øð	ñ ô ð ð ð 	*ØˆDŒL˜$Ð) &Ð)Ð)Ð)Ø�|Š|‰~Œ~Ðr   c                 óÒ   — t          | j        dgd¬¦  «        }	 t          j        t          | j        |¦  «        S # t          $ r"}t          t          |¦  «        ¦  «        |‚d}~ww xY w)zD
        Resolve the entry point from its module and attrs.
        r   r   )ÚfromlistÚlevelN)	rÐ   r’  Ú	functoolsÚreducerÑ   r”  rà  r=  rÍ   )r    rÔ   r7  s      r   rC  zEntryPoint.resolve¦	  sn   € õ ˜DÔ,¸
°|È1ÐMÑMÔMˆð	1ÝÔ#¥G¨T¬Z¸Ñ@Ô@Ð@øÝð 	1ð 	1ð 	1Ý�c #™hœhÑ'Ô'¨SÐ0øøøøð	1øøøs   š: º
A&ÁA!Á!A&c                 ó  — | j         r| j        st          d| ¦  «        ‚| j                             | j         ¦  «        }t                               |||| j         ¬¦  «        }t          t          t          j        |¦  «        ¦  «         d S )Nz&Can't require() without a distribution)ro  )	ro  r¥   ru   rV  rf   rC  rg  r�  rD  )r    rs  rt  rF  r(   s        r   rW   zEntryPoint.require°	  s   € ØŒ;ð 	O˜tœyð 	OÝÐGÈÑNÔNÐNð Œy×!Ò! $¤+Ñ.Ô.ˆÝ×#Ò# D¨#¨yÀÄÐ#ÑMÔMˆÝ�S•” %Ñ(Ô(Ñ)Ô)Ð)Ð)Ð)r   z]\s*(?P<name>.+?)\s*=\s*(?P<module>[\w.]+)\s*(:\s*(?P<attr>[\w.]+))?\s*(?P<extras>\[.*\])?\s*$c                 ó<  — | j                              |¦  «        }|sd}t          ||¦  «        ‚|                     ¦   «         }|                      |d         ¦  «        }|d         r|d                              d¦  «        nd} | |d         |d         |||¦  «        S )a  Parse a single entry point from string `src`

        Entry point syntax follows the form::

            name = some.module:some.attr [extra1, extra2]

        The entry name and module name are required, but the ``:attrs`` and
        ``[extras]`` parts are optional
        z9EntryPoint must be in 'name=module:attrs [extras]' formatro  ÚattrrH   r   r  rÔ   )ÚpatternrM   rS   Ú	groupdictÚ_parse_extrasr
   )r?  Úsrcr¥   rU   rö  Úresro  r”  s           r   r	  zEntryPoint.parseÆ	  sŸ   € ð ŒK×Ò˜cÑ"Ô"ˆØð 	'ØMˆCÝ˜S #Ñ&Ô&Ð&Ø�kŠk‰mŒmˆØ×"Ò" 3 x¤=Ñ1Ô1ˆØ*-¨f¬+Ð=��F”×!Ò! #Ñ&Ô&Ð&¸2ˆØˆs�3�v”;  H¤¨u°f¸dÑCÔCÐCr   c                 ó|   — |sdS t                                d|z   ¦  «        }|j        rt          ¦   «         ‚|j        S )Nr   Úx)rp   r	  ÚspecsrS   ro  )r?  Úextras_specrª   s      r   r§  zEntryPoint._parse_extrasÚ	  sC   € àð 	Ø�2Ý×Ò  kÑ 1Ñ2Ô2ˆØŒ9ð 	Ý‘,”,ÐØŒzÐr   c                 óê   — t          |¦  «        st          d|¦  «        ‚i }t          |¦  «        D ]A}|                      ||¦  «        }|j        |v rt          d||j        ¦  «        ‚|||j        <   ŒB|S )zParse an entry point groupzInvalid group namezDuplicate entry point)r‘  rS   r   r	  r  )r?  rR   Úlinesr¥   Úthisr;  Úeps          r   Úparse_groupzEntryPoint.parse_groupã	  s„   € õ �e‰}Œ}ð 	:ÝÐ1°5Ñ9Ô9Ð9ØˆÝ Ñ&Ô&ð 	ð 	ˆDØ—’˜4 Ñ&Ô&ˆBØŒw˜$ˆˆÝ Ð!8¸%ÀÄÑIÔIÐIØˆD�”‰MˆMØˆr   c                 ó8  — t          |t          ¦  «        r|                     ¦   «         }nt          |¦  «        }i }|D ][\  }}|€|sŒ
t	          d¦  «        ‚|                     ¦   «         }||v rt	          d|¦  «        ‚|                      |||¦  «        ||<   Œ\|S )z!Parse a map of entry point groupsNz%Entry points must be listed in groupszDuplicate group name)rË   r!   r(   r}   rS   r:  r²  )r?  Údatar¥   ÚmapsrR   r¯  s         r   Ú	parse_mapzEntryPoint.parse_mapð	  s°   € õ �d�DÑ!Ô!ð 	(Ø—:’:‘<”<ˆDˆDå! $Ñ'Ô'ˆDØˆØ ð 	>ð 	>‰LˆE�5Øˆ}Øð ØÝ Ð!HÑIÔIÐIØ—K’K‘M”MˆEØ˜ˆ}ˆ}Ý Ð!7¸Ñ?Ô?Ð?ØŸ/š/¨%°¸Ñ=Ô=ˆD�‰KˆKØˆr   )r   r   Nr–  )NNr   )r   r   r   r   r9  rÂ   r¡   rŸ  rC  rW   r
  rG  r¥  r—  r	  r§  r²  r¶  r   r   r   rq   rq   €	  s  € € € € € Ø=Ð=ðð ð ð ðð ð ð2ð 2ð 2ðð ð ð ð1ð 1ð 1ð*ð *ð *ð *ð ˆbŒjð	#ñô €Gð ðDð Dð Dñ „[ðDð& ðð ñ „[ðð ð
ð 
ð 
ñ „[ð
ð ðð ð ñ „[ðð ð r   rq   c                 óÚ   — d„ }t          || ¦  «        }t          t          |¦  «        d¦  «        }|                     d¦  «        \  }}}t	          |                     ¦   «         ¦  «        pdS )z„
    Given an iterable of lines from a Metadata file, return
    the value of the Version field, if present, or None otherwise.
    c                 óP   — |                       ¦   «                              d¦  «        S )Nzversion:)r¯  rñ   )r;  s    r   Úis_version_linez+_version_from_file.<locals>.is_version_line

  s   € Ø�zŠz‰|Œ|×&Ò& zÑ2Ô2Ð2r   r×   r–  N)rr  rt  r,  Ú	partitionrz   r:  )r¯  r¹  Úversion_linesr;  rï   r6  s         r   Ú_version_from_filer¼  
  sk   € ð3ð 3ð 3õ ˜?¨EÑ2Ô2€MÝ•�]Ñ#Ô# RÑ(Ô(€DØ—.’. Ñ%Ô%�K€A€qˆ%Ý˜Ÿš™œÑ&Ô&Ð.¨$Ð.r   c                   óª  ‡ — e Zd ZdZdZddddedefd„Zed+d„¦   «         Z	d„ Z
ed„ ¦   «         Zd„ Zd	„ Zd
„ Zd„ Zd„ Zd„ Zd„ Zed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Zd„ Zd,d„Zd„ Zd„ Zd„ Zd-d„Zd„ Z d„ Z!d„ Z"d„ Z#ˆ fd „Z$ed+d!„¦   «         Z%d"„ Z&d#„ Z'd+d$„Z(d%„ Z)d-d&„Z*d'„ Z+d(„ Z,d)„ Z-ed*„ ¦   «         Z.ˆ xZ/S ).ro   z5Wrap an actual or potential sys.path entry w/metadatarî  Nc                 ó²   — t          |pd¦  «        | _        |�t          |¦  «        | _        || _        || _        || _        || _        |pt          | _	        d S )NÚUnknown)
ry   rq  rz   Ú_versionr¨  rO   r^  r7  r�   Ú	_provider)r    r^  ró  rq  râ   r¨  rO   r7  s           r   r9  zDistribution.__init__
  sZ   € õ & lÐ&?°iÑ@Ô@ˆÔØÐÝ(¨Ñ1Ô1ˆDŒMØ$ˆŒØ ˆŒØ ˆŒØ$ˆŒØ!Ð3¥^ˆŒˆˆr   c                 ón  — d gdz  \  }}}}t           j                             |¦  «        \  }}	|	                     ¦   «         t          v rMt          |	                     ¦   «                  } t          |¦  «        }
|
r|
                     dddd¦  «        \  }}}} | ||f||||dœ|¤Ž                     ¦   «         S )Nrí   r  ÚverÚpyverrT   )rq  râ   r¨  rO   )rÛ   rÜ   Úsplitextr¯  Ú_distributionImplÚEGG_NAMErR   Ú_reload_version)r?  r^  rz  ró  r$   rq  râ   r¨  rO   ÚextrM   s              r   r  zDistribution.from_location+
  sÚ   € à7;°f¸q±jÑ3ˆ�g˜z¨8Ýœ×(Ò(¨Ñ2Ô2‰ˆ�#Ø�9Š9‰;Œ;Õ+Ð+Ð+Ý# C§I¢I¡K¤KÔ0ˆCå˜XÑ&Ô&ˆEØð Ø>C¿kºkØ˜E 7¨Fñ?ô ?Ñ;�˜g z°8ð ˆsØØð
ð &ØØ!Øð
ð 
ð ð
ð 
÷ Š/Ñ
Ô
ð	r   c                 ó   — | S r   r   rŸ   s    r   rÈ  zDistribution._reload_versionA
  s   € Øˆr   c                 óV   — | j         | j        | j        | j        | j        pd| j        pdfS r’  )Úparsed_versionr7  r:   r^  r¨  rO   rŸ   s    r   r³  zDistribution.hashcmpD
  s7   € ð ÔØŒOØŒHØŒMØŒOÐ!˜rØŒMÐ˜Rð
ð 	
r   c                 ó*   — t          | j        ¦  «        S r   )Úhashr³  rŸ   s    r   Ú__hash__zDistribution.__hash__O
  s   € Ý�D”LÑ!Ô!Ð!r   c                 ó"   — | j         |j         k     S r   ©r³  ©r    r¿  s     r   Ú__lt__zDistribution.__lt__R
  ó   € ØŒ|˜eœmÒ+Ð+r   c                 ó"   — | j         |j         k    S r   rÑ  rÒ  s     r   Ú__le__zDistribution.__le__U
  ó   € ØŒ|˜uœ}Ò,Ð,r   c                 ó"   — | j         |j         k    S r   rÑ  rÒ  s     r   Ú__gt__zDistribution.__gt__X
  rÔ  r   c                 ó"   — | j         |j         k    S r   rÑ  rÒ  s     r   Ú__ge__zDistribution.__ge__[
  r×  r   c                 óP   — t          || j        ¦  «        sdS | j        |j        k    S rÆ  )rË   r�   r³  rÒ  s     r   Ú__eq__zDistribution.__eq__^
  s*   € Ý˜% ¤Ñ0Ô0ð 	à�5ØŒ|˜uœ}Ò,Ð,r   c                 ó   — | |k     S r   r   rÒ  s     r   Ú__ne__zDistribution.__ne__d
  ó   € Ø˜5’=Ð Ð r   c                 óv   — 	 | j         S # t          $ r% | j                             ¦   «         x| _         }|cY S w xY wr   )Ú_keyrà  rq  r¯  r½  s     r   r:   zDistribution.keyk
  sN   € ð	Ø”9ÐøÝð 	ð 	ð 	Ø"Ô/×5Ò5Ñ7Ô7Ð7ˆDŒI˜ØˆJˆJˆJð	øøøs   ‚	 ‰,8·8c                 ód  — t          | d¦  «        sš	 t          | j        ¦  «        | _        n# t          j        j        $ rh}d| j        › d�}t          |d¦  «        r|                     |¦  «         ‚ t          j                             t          |¦  «        › d|› �¦  «        d ‚d }~ww xY w| j        S )NÚ_parsed_versionz
(package: ú)Úadd_noterî   )	rÞ   rx   râ   rä  r   r  rq  ræ  rÍ   )r    ÚexÚinfos      r   rÌ  zDistribution.parsed_versions
  sÍ   € å�tÐ.Ñ/Ô/ð 	VðVÝ'4°T´\Ñ'BÔ'B�Ô$Ð$øÝÔ$Ô3ð Vð Vð VØ8 DÔ$5Ð8Ð8Ð8�Ý˜2˜zÑ*Ô*ð Ø—K’K Ñ%Ô%Ð%ØÝÔ'×6Ò6½#¸b¹'¼'Ð7JÐ7JÀDÐ7JÐ7JÑKÔKÐQUÐUøøøøðVøøøð Ô#Ð#s   ’, ¬B(Á A#B#Â#B(c                 óü   — 	 | j         S # t          $ rh}|                      ¦   «         }|€F|                      | j        ¦  «        }d                     | j        |¦  «        }t          || ¦  «        |‚|cY d }~S d }~ww xY w)Nz4Missing 'Version:' header and/or {} file at path: {})rÀ  rà  Ú_get_versionÚ_get_metadata_path_for_displayÚPKG_INFOr¯   rS   )r    r  râ   rÜ   rö  s        r   râ   zDistribution.version�
  s˜   € ð	Ø”=Ð øÝð 		ð 		ð 		Ø×'Ò'Ñ)Ô)ˆGØˆØ×:Ò:¸4¼=ÑIÔI�ØM×UÒUØ”M 4ñô �õ !  dÑ+Ô+°Ð2àˆNˆNˆNˆNˆNˆNøøøøð		øøøs   ‚	 ‰
A;“AA6Á0A;Á6A;c                 ó˜   — 	 | j         S # t          $ r/ |                      |                      ¦   «         ¦  «        | _         Y nw xY w| j         S )z~
        A map of extra to its list of (direct) requirements
        for this distribution, including the null extra.
        )Ú_Distribution__dep_maprà  Ú_filter_extrasÚ_build_dep_maprŸ   s    r   Ú_dep_mapzDistribution._dep_map�
  s\   € ð	HØ”>Ð!øÝð 	Hð 	Hð 	HØ!×0Ò0°×1DÒ1DÑ1FÔ1FÑGÔGˆDŒNˆNˆNð	HøøøàŒ~Ðs   ‚	 ‰6AÁAc                 ód  — t          t          d| ¦  «        ¦  «        D ]‘}|}|                      |¦  «        }|                     d¦  «        \  }}}|ot	          |¦  «        pt          |¦  «         }|rg }t          |¦  «        pd}|                      |g ¦  «                             |¦  «         Œ’| S )z¤
        Given a mapping of extras to dependencies, strip off
        environment markers and filter out any dependencies
        not matching the markers.
        Nr–  )	rg  rr  rl  rº  r€   r�   r~   rI  rp  )Údmr›  Ú	new_extrarF  rï   r�  Úfails_markers          r   rï  zDistribution._filter_extrasœ
  sÄ   € õ �&  rÑ*Ô*Ñ+Ô+ð 	6ð 	6ˆEØˆIØ—6’6˜%‘=”=ˆDØ#(§?¢?°3Ñ#7Ô#7Ñ ˆI�q˜&Ø!ð Ý˜vÑ&Ô&ÐE­o¸fÑ.EÔ.EÐ*Eð ð ð Ø�Ý" 9Ñ-Ô-Ð5°ˆIà�MŠM˜) RÑ(Ô(×/Ò/°Ñ5Ô5Ð5Ð5Øˆ	r   c                 óÐ   — i }dD ]`}t          |                      |¦  «        ¦  «        D ];\  }}|                     |g ¦  «                             t	          |¦  «        ¦  «         Œ<Œa|S )N)zrequires.txtzdepends.txt)r}   Ú_get_metadatarI  rp  rw   )r    ró  r  r›  rF  s        r   rð  zDistribution._build_dep_map±
  s|   € ØˆØ1ð 	Jð 	JˆDÝ-¨d×.@Ò.@ÀÑ.FÔ.FÑGÔGð Jð J‘��tØ—’˜e RÑ(Ô(×/Ò/Õ0BÀ4Ñ0HÔ0HÑIÔIÐIÐIðJàˆ	r   r   c                 ó  — | j         }g }|                     |                     dd¦  «        ¦  «         |D ]R}	 |                     |t          |¦  «                 ¦  «         Œ,# t          $ r}t          | ›d|›�¦  «        |‚d}~ww xY w|S )z@List of Requirements needed for this distro if `extras` are usedNr   z has no such extra feature )rñ  rp  ré   r~   rÏ   ru   )r    ro  ró  ÚdepsrÉ  r  s         r   rV  zDistribution.requires¸
  s«   € àŒ]ˆØˆØ�Š�B—F’F˜4 Ñ$Ô$Ñ%Ô%Ð%Øð 	ð 	ˆCðØ—’˜B�z¨#™œÔ/Ñ0Ô0Ð0Ð0øÝð ð ð Ý"Ø9=¸¸¸s¸sÐCñô àðøøøøðøøøð ˆs   ¸(A!Á!
BÁ+B Â Bc                 ó`   — 	 | j                              |¦  «        }n# t          $ r Y dS w xY w|S )zK
        Return the path to the given metadata file, if available.
        z[could not detect])rÁ  r.  rã  r0  s      r   rë  z+Distribution._get_metadata_path_for_displayÆ
  sM   € ð		(ð ”>×4Ò4°TÑ:Ô:ˆDˆDøõ ð 	(ð 	(ð 	(Ø'Ð'Ð'ð	(øøøð ˆs   ‚ �
+ª+c              #   óp   K  — |                       |¦  «        r|                      |¦  «        D ]}|V — Œd S d S r   )r  r  )r    r  r;  s      r   r÷  zDistribution._get_metadata×
  sX   è è € Ø×Ò˜TÑ"Ô"ð 	Ø×/Ò/°Ñ5Ô5ð ð �Ø�
�
�
�
ð	ð 	ðð r   c                 óX   — |                       | j        ¦  «        }t          |¦  «        }|S r   )r÷  rì  r¼  )r    r¯  râ   s      r   rê  zDistribution._get_versionÜ
  s)   € Ø×"Ò" 4¤=Ñ1Ô1ˆÝ$ UÑ+Ô+ˆàˆr   Fc                 ó  — |€t           j        }|                      ||¬¦  «         |t           j        u rIt          | j        ¦  «         |                      d¦  «        D ]!}|t           j        v rt          |¦  «         Œ dS dS )z>Ensure distribution is importable on `path` (default=sys.path)Nr\  únamespace_packages.txt)rN   rÜ   r]  r—   r^  r÷  rÎ   re   )r    rÜ   ró   Úpkgs       r   ÚactivatezDistribution.activateâ
  s�   € àˆ<Ý”8ˆDØ�Š�t WˆÑ-Ô-Ð-Ø•3”8ÐÐÝ$ T¤]Ñ3Ô3Ð3Ø×)Ò)Ð*BÑCÔCð +ð +�Ø�#œ+Ð%Ð%Ý% cÑ*Ô*Ð*øð	 Ðð+ð +r   c                 ó¢   — t          | j        ¦  «        ›dt          | j        ¦  «        ›d| j        pt          ›�}| j        r|d| j        z   z  }|S )z@Return what this distribution's standard .egg filename should berJ   z-py)r   rq  râ   r¨  rÇ  rO   )r    rû  s     r   rh  zDistribution.egg_nameí
  sa   € õ ˜Ô)Ñ*Ô*Ð*Ð*Ý˜œÑ%Ô%Ð%Ð%ØŒOÐ'�xÐ'ð
ˆð Œ=ð 	,Ø˜˜dœmÑ+Ñ+ˆHØˆr   c                 óH   — | j         r| ›d| j         ›d�S t          | ¦  «        S )Nz (rå  )r^  rÍ   rŸ   s    r   r¡   zDistribution.__repr__ù
  s-   € ØŒ=ð 	Ø $   d¤m m mÐ4Ð4å�t‘9”9Ðr   c                 ól   — 	 t          | dd ¦  «        }n# t          $ r d }Y nw xY w|pd}| j        ›d|›�S )Nrâ   z[unknown version]rî   )rÑ   rS   rq  )r    râ   s     r   rÂ   zDistribution.__str__ÿ
  s_   € ð	Ý˜d I¨tÑ4Ô4ˆGˆGøÝð 	ð 	ð 	ØˆGˆGˆGð	øøøàÐ0Ð0ˆØÔ+Ð+Ð+¨W¨WÐ5Ð5s   ‚ ”#¢#c                 ót   — |                      d¦  «        rt          |¦  «        ‚t          | j        |¦  «        S )zADelegate all unrecognized public attributes to .metadata providerrï   )rñ   rà  rÑ   rÁ  )r    r¤  s     r   Ú__getattr__zDistribution.__getattr__  s6   € à�?Š?˜3ÑÔð 	'Ý  Ñ&Ô&Ð&Ý�t”~ tÑ,Ô,Ð,r   c                 óè   •— t          t          t          t          | ¦  «                             ¦   «         ¦  «        t          d„ | j                             ¦   «         D ¦   «         ¦  «        z  ¦  «        S )Nc              3   óD   K  — | ]}|                      d ¦  «        °|V — ŒdS ©rï   N)rñ   )rR  r¤  s     r   rS  z'Distribution.__dir__.<locals>.<genexpr>  s4   è è € ÐXÐX˜4À4Ç?Â?ÐSVÑCWÔCWÐX�$ÐXÐXÐXÐXÐXÐXr   )rg  rk  rn  ro   Ú__dir__rÁ  )r    r�   s    €r   r	  zDistribution.__dir__  sd   ø€ ÝÝ••l DÑ)Ô)×1Ò1Ñ3Ô3Ñ4Ô4ÝÐXÐX 4¤>×#9Ò#9Ñ#;Ô#;ÐXÑXÔXÑXÔXñYñ
ô 
ð 	
r   c                 óv   —  | j         t          |¦  «        t          j                             |¦  «        |fi |¤ŽS r   )r  r  rÛ   rÜ   rz  )r?  rû  ró  r$   s       r   r  zDistribution.from_filename  sE   € à ˆsÔ Ý˜hÑ'Ô'­¬×)9Ò)9¸(Ñ)CÔ)CÀXð
ð 
ØQSð
ð 
ð 	
r   c                 óÄ   — t          | j        t          j        j        ¦  «        r| j        ›d| j        ›�}n| j        ›d| j        ›�}t                               |¦  «        S )z?Return a ``Requirement`` that matches this distribution exactlyz==z===)rË   rÌ  r   râ   r  rq  rp   r	  )r    rX  s     r   r‚  zDistribution.as_requirement  sf   € å�dÔ)­9Ô+<Ô+DÑEÔEð 	HØ#Ô0Ð0Ð0°$Ô2EÐ2EÐFˆDˆDà $Ô 1Ð 1Ð 1°4Ô3FÐ3FÐGˆDå× Ò  Ñ&Ô&Ð&r   c                 ó„   — |                       ||¦  «        }|€t          d||f›d�¦  «        ‚|                     ¦   «         S )z=Return the `name` entry point of `group` or raise ImportErrorNzEntry point z
 not found)r]   r=  rŸ  )r    rR   r  r±  s       r   r[   zDistribution.load_entry_point"  sE   € à× Ò  ¨Ñ-Ô-ˆØˆ:Ý�+¸UÀD¸M¸M¸MÐKÑLÔLÐLØ�wŠw‰yŒyÐr   c                 óÒ   — 	 | j         }nE# t          $ r8 t                               |                      d¦  «        | ¦  «        x}| _         Y nw xY w|�|                     |i ¦  «        S |S )r  zentry_points.txt)Ú_ep_maprà  rq   r¶  r÷  ré   )r    rR   Úep_maps      r   r\   zDistribution.get_entry_map)  s‚   € ð	Ø”\ˆFˆFøÝð 	ð 	ð 	Ý$.×$8Ò$8Ø×"Ò"Ð#5Ñ6Ô6¸ñ%ô %ð ˆF�T”\�\�\ð	øøøð ÐØ—:’:˜e RÑ(Ô(Ð(Øˆs   ‚
 Š?AÁAc                 óR   — |                       |¦  «                             |¦  «        S r  )r\   ré   rT  s      r   r]   zDistribution.get_entry_info5  s$   € à×!Ò! %Ñ(Ô(×,Ò,¨TÑ2Ô2Ð2r   c                 óÔ  — |p| j         }|sdS t          |¦  «        }t          j                             |¦  «        }d„ |D ¦   «         }t          |¦  «        D ]‰\  }}||k    r|r nÍ dS ||k    rq| j        t          k    ra|s|||d…         v r dS |t          j        u r|  	                    ¦   «          | 
                    ||¦  «         | 
                    ||¦  «          nSŒŠ|t          j        u r|  	                    ¦   «          |r| 
                    d|¦  «         n|                     |¦  «         dS 	 	 |                     ||dz   ¦  «        }	||	= ||	= |	}n# t          $ r Y nw xY wŒ4dS )aä  Ensure self.location is on path

        If replace=False (default):
            - If location is already in path anywhere, do nothing.
            - Else:
              - If it's an egg and its parent directory is on path,
                insert just ahead of the parent.
              - Else: add to the end of path.
        If replace=True:
            - If location is already on path anywhere (not eggs)
              or higher priority than its parent (eggs)
              do nothing.
            - Else:
              - If it's an egg and its parent directory is on path,
                insert just ahead of the parent,
                removing any lower-priority entries.
              - Else: add it to the front of path.
        Nc                 ó4   — g | ]}|rt          |¦  «        p|‘ŒS r   r]  r^  s     r   r`  z*Distribution.insert_on.<locals>.<listcomp>T  s+   € ÐAÐAÐA°q�!Ð,Õ)¨!Ñ,Ô,Ð1°ÐAÐAÐAr   r   Tr©   )r^  r  rÛ   rÜ   r  Ú	enumerater7  r„   rN   Úcheck_version_conflictrb  rà   rd  rS   )
r    rÜ   Úlocró   ÚnlocÚbdirÚnpathr_  rY  Únps
             r   r]  zDistribution.insert_on:  sÉ  € ð( Ð"�T”]ˆØð 	ØˆFå  Ñ%Ô%ˆÝŒw�Š˜tÑ$Ô$ˆØAÐA¸DÐAÑAÔAˆå  Ñ'Ô'ð 	ð 	‰GˆAˆtØ�tŠ|ˆ|Øð Ø�Eð �F�FØ˜’� $¤/µXÒ"=Ð"=ð  ð  T¨U°1°2°2¬YÐ%6Ð%6Ø�F�FØ�3œ8Ð#Ð#Ø×/Ò/Ñ1Ô1Ð1Ø—’˜A˜sÑ#Ô#Ð#Ø—’˜Q Ñ%Ô%Ð%Ø�øà•s”xÐÐØ×+Ò+Ñ-Ô-Ð-Øð !Ø—’˜A˜sÑ#Ô#Ð#Ð#à—’˜CÑ Ô Ð ØˆFð	ðØ—[’[  q¨1¡uÑ-Ô-�ð ˜"�I˜t B˜xà��øõ ð ð ð Ø�ðøøøð	ð 	ˆs   Ä5E Å
E$Å#E$c           
      ó  — | j         dk    rd S t                               |                      d¦  «        ¦  «        }t	          | j        ¦  «        }|                      d¦  «        D ]¡}|t          j        vs||v s	|t          v rŒ|dv rŒ#t          t          j        |         dd ¦  «        }|r=t	          |¦  «         
                    |¦  «        s| 
                    | j        ¦  «        rŒƒt          d|›d|›d| j        ›d	�¦  «         Œ¢d S )
NÚ
setuptoolsrþ  ztop_level.txt)Úpkg_resourcesr  Úsiter  zModule z was already imported from z, but z is being added to sys.path)r:   r!   r"   r÷  rƒ   r^  rN   rÎ   rF  rÑ   rñ   Úissue_warning)r    Únspr  ÚmodnameÚfns        r   r  z#Distribution.check_version_conflict~  s*  € ØŒ8�|Ò#Ð#àˆFå�mŠm˜D×.Ò.Ð/GÑHÔHÑIÔIˆÝ˜Tœ]Ñ+Ô+ˆØ×)Ò)¨/Ñ:Ô:ð 	ð 	ˆGà�sœ{Ð*Ð*Ø˜c�>�>ØÕ1Ð1Ð1àØÐAÐAÐAØÝ�œ WÔ-¨z¸4Ñ@Ô@ˆBØð Ý˜rÑ"Ô"×-Ò-¨cÑ2Ô2ðØ68·m²mÀDÄMÑ6RÔ6Rðð ÝˆMà") ' '¨2¨2¨2¨t¬}¨}¨}ð>ñô ð ð ð	ð 	r   c                 óx   — 	 | j          n0# t          $ r# t          dt          | ¦  «        z   ¦  «         Y dS w xY wdS )NzUnbuilt egg for FT)râ   rS   r  rž   rŸ   s    r   rµ  zDistribution.has_version˜  sS   € ð	ØŒLˆLˆLøÝð 	ð 	ð 	ÝÐ,­t°D©z¬zÑ9Ñ:Ô:Ð:Ø�5�5ð	øøøð ˆts   ‚
 Š)7¶7c           	      óÎ   — d}|                      ¦   «         D ]'}|                     |t          | |d¦  «        ¦  «         Œ(|                     d| j        ¦  «          | j        di |¤ŽS )z@Copy this distribution, substituting in any changed keyword argsz<project_name version py_version platform location precedenceNró  r   )r
   rI  rÑ   rÁ  r�   )r    r$   ræ  r¤  s       r   ÚclonezDistribution.clone   so   € àNˆØ—K’K‘M”Mð 	;ð 	;ˆDØ�MŠM˜$¥¨¨d°DÑ 9Ô 9Ñ:Ô:Ð:Ð:Ø
�Š�j $¤.Ñ1Ô1Ð1ØˆtŒ~Ð#Ð# Ð#Ð#Ð#r   c                 ó$   — d„ | j         D ¦   «         S )Nc                 ó   — g | ]}|¯|‘ŒS r   r   )rR  Údeps     r   r`  z'Distribution.extras.<locals>.<listcomp>ª  s   € Ð4Ð4Ð4˜°Ð4�Ð4Ð4Ð4r   )rñ  rŸ   s    r   ro  zDistribution.extras¨  s   € à4Ð4˜tœ}Ð4Ñ4Ô4Ð4r   r   r  rÆ  )0r   r   r   r   rì  rÇ  r„   r9  r—  r  rÈ  r·   r³  rÏ  rÓ  rÖ  rÙ  rÛ  rÝ  rß  r:   rÌ  râ   rñ  r  rï  rð  rV  rë  r÷  rê  r   rh  r¡   rÂ   r  r	  r  r‚  r[   r\   r]   r]  r  rµ  r$  ro  r|  rÃ  s   @r   ro   ro   
  s
  ø€ € € € € Ø?Ð?à€Hð ØØØØØØð4ð 4ð 4ð 4ð& ðð ð ñ „[ðð*ð ð ð ð
ð 
ñ „Xð
ð"ð "ð "ð,ð ,ð ,ð-ð -ð -ð,ð ,ð ,ð-ð -ð -ð-ð -ð -ð!ð !ð !ð ðð ñ „Xðð ð$ð $ñ „Xð$ð ðð ñ „Xðð ð	ð 	ñ „Xð	ð ðð ñ „\ðð(ð ð ðð ð ð ðð ð ð"ð ð ð
ð ð ð	+ð 	+ð 	+ð 	+ð
ð 
ð 
ðð ð ð6ð 6ð 6ð-ð -ð -ð
ð 
ð 
ð 
ð 
ð ð
ð 
ð 
ñ „[ð
ð
'ð 'ð 'ðð ð ð
ð 
ð 
ð 
ð3ð 3ð 3ð
Bð Bð Bð BðHð ð ð4ð ð ð$ð $ð $ð ð5ð 5ñ „Xð5ð 5ð 5ð 5ð 5r   ro   c                   ó   — e Zd Zd„ ZdS )ÚEggInfoDistributionc                 ó@   — |                       ¦   «         }|r|| _        | S )añ  
        Packages installed by distutils (e.g. numpy or scipy),
        which uses an old safe_version, and so
        their version numbers can get mangled when
        converted to filenames (e.g., 1.11.0.dev0+2329eae to
        1.11.0.dev0_2329eae). These distributions will not be
        parsed properly
        downstream by Distribution and safe_version, so
        take an extra step and try to get the version number from
        the metadata file itself instead of the filename.
        )rê  rÀ  )r    Ú
md_versions     r   rÈ  z#EggInfoDistribution._reload_version®  s)   € ð ×&Ò&Ñ(Ô(ˆ
Øð 	'Ø&ˆDŒMØˆr   N)r   r   r   rÈ  r   r   r   r)  r)  ­  s#   € € € € € ðð ð ð ð r   r)  c                   óh   — e Zd ZdZdZ ej        d¦  «        Zed„ ¦   «         Z	ed„ ¦   «         Z
d„ ZdS )ÚDistInfoDistributionzV
    Wrap an actual or potential sys.path entry
    w/metadata, .dist-info style.
    ÚMETADATAz([\(,])\s*(\d.*?)\s*([,\)])c                 óà   — 	 | j         S # t          $ rZ |                      | j        ¦  «        }t          j                             ¦   «                              |¦  «        | _         | j         cY S w xY w)zParse and cache metadata)Ú	_pkg_inforà  r  rì  ÚemailÚparserÚParserÚparsestr)r    ró  s     r   Ú_parsed_pkg_infoz%DistInfoDistribution._parsed_pkg_infoÉ  sp   € ð	"Ø”>Ð!øÝð 	"ð 	"ð 	"Ø×(Ò(¨¬Ñ7Ô7ˆHÝ"œ\×0Ò0Ñ2Ô2×;Ò;¸HÑEÔEˆDŒNØ”>Ð!Ð!Ð!ð	"øøøs   ‚	 ‰A!A-Á,A-c                 ór   — 	 | j         S # t          $ r# |                      ¦   «         | _         | j         cY S w xY wr   )Ú_DistInfoDistribution__dep_maprà  Ú_compute_dependenciesrŸ   s    r   rñ  zDistInfoDistribution._dep_mapÓ  sK   € ð	"Ø”>Ð!øÝð 	"ð 	"ð 	"Ø!×7Ò7Ñ9Ô9ˆDŒNØ”>Ð!Ð!Ð!ð	"øøøs   ‚	 ‰*6µ6c                 ó  ‡‡— dg ix}| _         g Š| j                             d¦  «        pg D ]$}‰                     t	          |¦  «        ¦  «         Œ%ˆfd„}t          j        t                                |d¦  «        ¦  «        ¦  «        Š|d                              ‰¦  «         | j                             d¦  «        pg D ]=}t          | 
                    ¦   «         ¦  «        }ˆfd„ ||¦  «        D ¦   «         ||<   Œ>|S )z+Recompute this distribution's dependencies.NzRequires-Distc              3   ód   •K  — ‰D ])}|j         r|j                              d| i¦  «        r|V — Œ*d S )Nr›  rœ  )r›  rª   rF  s     €r   Úreqs_for_extrazBDistInfoDistribution._compute_dependencies.<locals>.reqs_for_extraä  sP   øè è € Øð ð �Ø”zð  S¤Z×%8Ò%8¸'À5Ð9IÑ%JÔ%Jð Ø�I�I�Iøðð r   zProvides-Extrac                 ó   •— g | ]}|‰v¯|‘Œ	S r   r   )rR  ÚrÚcommons     €r   r`  z>DistInfoDistribution._compute_dependencies.<locals>.<listcomp>î  s   ø€ ÐOÐOÐO ¸qÈ¸¸˜1¸¸¸r   )r7  r5  Úget_allrp  rw   rQ  ÚMappingProxyTyper!   r"   r~   r:  )r    ró  rª   r;  r›  Ús_extrar>  rF  s         @@r   r8  z*DistInfoDistribution._compute_dependenciesÛ  s  øø€ à# R˜jÐ(ˆˆTŒ^àˆàÔ(×0Ò0°ÑAÔAÐGÀRð 	1ð 	1ˆCØ�KŠKÕ*¨3Ñ/Ô/Ñ0Ô0Ð0Ð0ð	ð 	ð 	ð 	ð 	õ
 Ô'­¯ª°n°nÀTÑ6JÔ6JÑ(KÔ(KÑLÔLˆØ
ˆ4Œ�Š˜ÑÔÐàÔ*×2Ò2Ð3CÑDÔDÐJÈð 	Pð 	PˆEÝ  §¢¡¤Ñ/Ô/ˆGØOÐOÐOÐO n n°UÑ&;Ô&;ÐOÑOÔOˆBˆw‰KˆKàˆ	r   N)r   r   r   r   rì  r
  rG  ÚEQEQr·   r5  rñ  r8  r   r   r   r-  r-  À  sz   € € € € € ðð ð
 €HØˆ2Œ:Ð4Ñ5Ô5€Dàð"ð "ñ „Xð"ð ð"ð "ñ „Xð"ðð ð ð ð r   r-  )rŠ  r
  r	  c                  óì   — d}t          ¦   «         }	 t          j        |¦  «        j        |u r |dz  }t          j        |¦  «        j        |u ° n# t          $ r Y nw xY wt          j        | d|dz   i|¤Ž d S )Nr©   r^  )r   rN   r  r  rS   rò  ró  )rC   r$   rŸ  r+   s       r   r  r  ú  s—   € Ø€EÝ‰	Œ	€Aðõ Œm˜EÑ"Ô"Ô,°Ð1Ð1Ø�Q‰JˆEõ Œm˜EÑ"Ô"Ô,°Ð1Ð1øøåð ð ð Øˆðøøøå„M¨Ð4˜U Q™YÐ4°Ð4Ð4Ð4Ð4Ð4s   ’;A Á
AÁAc                 ó†   — t          t          t          t          t          t	          | ¦  «        ¦  «        ¦  «        ¦  «        S )z�
    Yield ``Requirement`` objects for each specification in `strs`.

    `strs` must be a string, or a (possibly-nested) iterable thereof.
    )r�  rp   r   r   r   )Ústrss    r   rw   rw     s/   € õ �{Õ-­cµ,ÅÈDÑ@QÔ@QÑ.RÔ.RÑSÔSÑTÔTÐTr   c                   ó   — e Zd ZdZdS )ÚRequirementParseErrorz,Compatibility wrapper for InvalidRequirementNr   r   r   r   rG  rG    s   € € € € € Ø2Ð2Ð2Ð2r   rG  c                   óR   ‡ — e Zd Zˆ fd„Zd„ Zd„ Zd„ Zd„ Zd„ Ze	d„ ¦   «         Z
ˆ xZS )rp   c                 ó   •— t          t          | ¦  «                             |¦  «         | j        | _        t          | j        ¦  «        }||                     ¦   «         c| _        | _        d„ | j	        D ¦   «         | _
        t          t          t          | j        ¦  «        ¦  «        | _        | j        | j        | j	        t!          | j        ¦  «        | j        rt%          | j        ¦  «        ndf| _        t)          | j        ¦  «        | _        dS )z>DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!c                 ó*   — g | ]}|j         |j        f‘ŒS r   )r¶  râ   )rR  rX  s     r   r`  z(Requirement.__init__.<locals>.<listcomp>  s!   € ÐOÐOÐO¸�t”} d¤lÐ3ÐOÐOÐOr   N)rn  rp   r9  r  Úunsafe_namery   r¯  rq  r:   Ú	specifierr¬  r“  r�  r~   ro  ÚurlÚ	frozensetr�  rÍ   ÚhashCmprÎ  Ú_Requirement__hash)r    Úrequirement_stringrq  r�   s      €r   r9  zRequirement.__init__  sß   ø€ å�k˜4Ñ Ô ×)Ò)Ð*<Ñ=Ô=Ð=Øœ9ˆÔÝ  ¤Ñ+Ô+ˆØ&2°L×4FÒ4FÑ4HÔ4HÐ#ˆÔ˜4œ8ØOÐOÀÄÐOÑOÔOˆŒ
Ý�C¥
¨D¬KÑ8Ô8Ñ9Ô9ˆŒàŒHØŒHØŒNÝ�d”kÑ"Ô"Ø $¤Ð5�C�”ÑÔÐ°ð
ˆŒõ ˜4œ<Ñ(Ô(ˆŒˆˆr   c                 óL   — t          |t          ¦  «        o| j        |j        k    S r   )rË   rp   rO  rÒ  s     r   rÝ  zRequirement.__eq__&  s    € Ý˜%¥Ñ-Ô-ÐO°$´,À%Ä-Ò2OÐOr   c                 ó   — | |k     S r   r   rÒ  s     r   rß  zRequirement.__ne__)  rà  r   c                 ó–   — t          |t          ¦  «        r|j        | j        k    rdS |j        }| j                             |d¬¦  «        S )NFT)Úprereleases)rË   ro   r:   râ   rL  Úcontains)r    rY  s     r   rL  zRequirement.__contains__,  sL   € Ý�d�LÑ)Ô)ð 	 ØŒx˜4œ8Ò#Ð#Ø�uà”<ˆDð
 Œ~×&Ò& t¸Ð&Ñ>Ô>Ð>r   c                 ó   — | j         S r   )rP  rŸ   s    r   rÏ  zRequirement.__hash__8  s
   € ØŒ{Ðr   c                 ó&   — dt          | ¦  «        z  S )NzRequirement.parse(%r)rš  rŸ   s    r   r¡   zRequirement.__repr__;  s   € Ø&­¨T©¬Ñ2Ð2r   c                 ó(   — t          | ¦  «        \  }|S r   )rw   )r˜  rª   s     r   r	  zRequirement.parse>  s   € å# AÑ&Ô&‰ˆØˆ
r   )r   r   r   r9  rÝ  rß  rL  rÏ  r¡   r  r	  r|  rÃ  s   @r   rp   rp     s¡   ø€ € € € € ð)ð )ð )ð )ð )ð"Pð Pð Pð!ð !ð !ð
?ð 
?ð 
?ðð ð ð3ð 3ð 3ð ðð ñ „\ðð ð ð ð r   rp   c                 ó.   — t           | vr| t           fz   S | S )zJ
    Ensure object appears in the mro even
    for old-style classes.
    )Úobject)Úclassess    r   Ú_always_objectr]  D  s!   € õ
 �WÐÐØ�&˜Ñ"Ð"Ø€Nr   c                 ó¦   — t          t          j        t          |dt	          |¦  «        ¦  «        ¦  «        ¦  «        }|D ]}|| v r
| |         c S ŒdS )z2Return an adapter factory for `ob` from `registry`r�   N)r]  ÚinspectÚgetmrorÑ   r‹  )Úregistryr;   rQ  Úts       r   rÒ   rÒ   N  sb   € å�7œ>­'°"°kÅ4ÈÁ8Ä8Ñ*LÔ*LÑMÔMÑNÔN€EØð ð ˆØ�ˆ=ˆ=Ø˜A”;ÐÐÐð ðð r   c                 óp   — t           j                             | ¦  «        }t          j        |d¬¦  «         dS )z1Ensure that the parent directory of `path` existsT)Úexist_okN)rÛ   rÜ   r  Úmakedirs)rÜ   r  s     r   r‚   r‚   V  s0   € åŒg�oŠo˜dÑ#Ô#€GÝ„K� $Ð'Ñ'Ô'Ð'Ð'Ð'r   c                 óê   — t           st          d¦  «        ‚t          | ¦  «        \  }}|rD|rDt          |¦  «        s7t	          |¦  «         	 t          |d¦  «         dS # t          $ r Y dS w xY wdS dS dS )z/Sandbox-bypassing version of ensure_directory()z*"os.mkdir" not supported on this platform.ií  N)rÌ  rÍ  r
   r	   râ  r   ÚFileExistsError)rÜ   r  rû  s      r   râ  râ  \  s¯   € åð DÝÐBÑCÔCÐCÝ˜d™œÑ€GˆXØð �8ð ¥E¨'¡N¤Nð Ý  Ñ)Ô)Ð)ð	Ý�'˜5Ñ!Ô!Ð!Ð!Ð!øÝð 	ð 	ð 	ØˆDˆDð	øøøð	ð ð ð ð ð s   ÁA Á
A,Á+A,c              #   ó2  K  — d}g }t          | ¦  «        D ]z}|                     d¦  «        rN|                     d¦  «        r)|s|r||fV — |dd…                              ¦   «         }g }ŒUt	          d|¦  «        ‚|                     |¦  «         Œ{||fV — dS )as  Split a string or iterable thereof into (section, content) pairs

    Each ``section`` is a stripped version of the section header ("[section]")
    and each ``content`` is a list of stripped lines excluding blank lines and
    comment-only lines.  If there are any such lines before the first section
    header, they're returned in a first ``section`` of ``None``.
    Nú[ú]r©   rÄ   zInvalid section heading)r   rñ   r  r:  rS   rà   )r˜  ÚsectionÚcontentr;  s       r   r}   r}   i  sÏ   è è € ð €GØ€GÝ˜A‘”ð 
!ð 
!ˆØ�?Š?˜3ÑÔð 		!Ø�}Š}˜SÑ!Ô!ð BØð +˜gð +Ø! 7Ð*Ð*Ð*Ð*Ø˜q ˜tœ*×*Ò*Ñ,Ô,�Ø��å Ð!:¸DÑAÔAÐAà�NŠN˜4Ñ Ô Ð Ð ð �7Ð
ÐÐÐÐÐr   c                  óš   — t           j        }	 t          t           _        t          j        | i |¤Ž|t           _        S # |t           _        w xY wr   )rÛ   r   Úos_openÚtempfileÚmkstemp)rC   r$   Úold_opens      r   rÏ  rÏ  ƒ  sF   € ÝŒw€Hðå�ŒÝÔ Ð,¨Ð,Ð,ð �Œˆø�(�ŒÐÐÐÐs	   Ž!< ¼A
rJ  )Úcategoryrà   c                 ó   —  | |i |¤Ž | S r   r   )rÛ  rC   rœ  s      r   Ú_call_asidert  –  s   € Ø€A€tÐˆvÐÐÐØ€Hr   c                 óŠ   ‡— t          ¦   «         Š‰| d<   |                      ˆfd„t          ‰¦  «        D ¦   «         ¦  «         dS )z=Set up global resource manager (deliberately not state-saved)Ú_managerc              3   óf   •K  — | ]+}|                      d ¦  «        °|t          ‰|¦  «        fV — Œ,dS r  )rñ   rÑ   )rR  r  r$  s     €r   rS  z_initialize.<locals>.<genexpr>   sX   øè è € ð ð àØ�Š˜sÑ#Ô#ðØ	�w�w Ñ%Ô%Ð&ðð ð ð ð ð r   N)rn   r   rÊ  )r+   r$  s    @r   Ú_initializerx  ›  se   ø€ õ ÑÔ€GØ€A€j�MØ‡H‚Hð ð ð ð å˜‘L”Lðñ ô ñ ô ð ð ð r   c                   ó   — e Zd ZdZdS )r˜   z«
    Base class for warning about deprecations in ``pkg_resources``

    This class is not derived from ``DeprecationWarning``, and as such is
    visible by default.
    Nr   r   r   r   r˜   r˜   §  s   € € € € € ðð ð ð r   r˜   c                  ó¤  — t                                ¦   «         } t          d| ¬¦  «         | j        }| j        }| j        }| j        }|}t          d„ | D ¦   «         ¦  «          |d„ d¬¦  «         g | _        t          t          | j        t          j        ¦  «        ¦  «         t          ¦   «                              t!          ¦   «         ¦  «         dS )aE  
    Prepare the master working set and make the ``require()``
    API available.

    This function has explicit effects on the global state
    of pkg_resources. It is intended to be invoked once at
    the initialization of this module.

    Invocation by other packages is unsupported and done
    at their own risk.
    r[  )rf   c              3   óB   K  — | ]}|                      d ¬¦  «        V — ŒdS )Fr\  N©r   )rR  r¥   s     r   rS  z1_initialize_master_working_set.<locals>.<genexpr>Ê  s0   è è € Ð	?Ð	?¨4ˆ$�-Š- ˆ-Ñ
&Ô
&Ð	?Ð	?Ð	?Ð	?Ð	?Ð	?r   c                 ó.   — |                       d¬¦  «        S )NTr\  r|  r  s    r   rD   z0_initialize_master_working_set.<locals>.<lambda>Ì  s   € �T—]’]¨4�]Ñ0Ô0€ r   F)r�  N)rm   rA  r%   rW   r^   r‘  rX   r“  r2  rg  r�  r7  rN   rÜ   r   r   r°   )rf   rW   r^   rg   rX   r™   s         r   Ú_initialize_master_working_setr~  °  sÚ   € õ ×*Ò*Ñ,Ô,€KÝ�8¨Ð5Ñ5Ô5Ð5àÔ!€GØ#Ô5ÐØ)Ô3ÐØÔ'€Jà€Hõ
 
Ð	?Ð	?°;Ð	?Ñ	?Ô	?Ñ?Ô?Ð?ØÐØ0Ð0Øðñ ô ð ð €KÔå�ˆ[Ô"¥C¤HÑ	-Ô	-Ñ.Ô.Ð.Ý�I„I×Ò•V‘X”XÑÔÐÐÐr   r   r  )Òr   rN   rÛ   r#  rÃ  r
  rQ  r›  r  rò  rî  r   Úpkgutilr¶  rO   ri  rß   Úemail.parserr1  r2  ro  rØ  r_  rc  r`  rT  r   rr  r=  Úimprg  Ú	NameErrorr1  r   r   r   r   rÌ  r   rn  Úos.pathr	   r
   Úimportlib.machineryÚ	machineryrŠ  r   Ú pkg_resources.extern.jaraco.textr   r   r   Úpkg_resources.externr   r   rÐ   Úversion_infoÚRuntimeErrorrW   rf   rg   Úresources_streamrj   Úresource_dirr`   ri   rd   r_   r^   rb   ra   rc   rÿ  rE  rF  ÚRuntimeWarningr   râ   r  rx   r    r%   r.   r1   r6   r<   r>   r@   Ú
_sget_noneÚ
_sset_nonerV   Ú__all__rã  rr   rs   r´   rt   ru   rÆ   r¯   rÇ  r„   r…   r†   r‡   rˆ   r–   rY   rQ   rë   rK   rG  rL   rø   r{   r|   rX   r™   rZ   r[   r\   r]   r‰   rŠ   rm   r!   rh  rl   rš   rv   rn   rk   ry   rz   r~   r   r€   r�   r�   r[  rk  r‘   r’   rŽ  rŽ   r�   r–  r¡  r“   r  r‹   rŒ   r�   r”   rh   r  r  r   r  r$  r  r"  r<  r#  rÞ   rC  Ú
FileFinderr•   rZ  rV  re   r—   rz  r|  rƒ   r€  r  rs  rˆ  r  rS  rM   r‘  ÚVERBOSEÚ
IGNORECASErÇ  rq   r¼  ro   r)  r-  rÆ  r  rw   rr  ÚInvalidRequirementrG  rp   r]  rÒ   r‚   râ  r}   rÏ  Úfilterwarningsrt  r   rx  ÚWarningr˜   r~  r   r   r   ú<module>r–     s²  ððð ð  €
€
€
Ø 	€	€	€	Ø 	€	€	€	Ø €€€Ø 	€	€	€	Ø €€€Ø €€€Ø Ð Ð Ð Ø €€€Ø €€€Ø Ð Ð Ð Ø €€€Ø €€€Ø €€€Ø Ð Ð Ð Ø €€€Ø Ð Ð Ð Ø €€€Ø €€€Ø €€€Ø €€€Ø €€€Ø Ð Ð Ð Ø Ð Ð Ð Ø  Ð  Ð  Ð  Ð  Ð  ðØ€K€K€K€KøØð ð ð àÐÐÐÐÐðøøøðØ€O€OøØð ð ð Ø€O€O€Oðøøøð Ð Ð Ð Ð Ð ðØ(Ð(Ð(Ð(Ð(Ð(Ð(Ð(Ð(Ð(à€M€MøØð ð ð à€M€M€Mðøøøð Ð Ð Ð Ð Ð Ø  Ð  Ð  Ð  Ð  Ð  Ð  Ð  ðØ5Ð5Ð5Ð5Ð5Ð5ð Ô Ð Ð øØð ð ð ØÐÐÐðøøøðð ð ð ð ð ð ð ð ð ð .Ð -Ð -Ð -Ð -Ð -Ø *Ð *Ð *Ð *Ð *Ð *à 
€
Ð3Ñ 4Ô 4Ð 4Ø 
€
Ð6Ñ 7Ô 7Ð 7Ø 
€
Ð8Ñ 9Ô 9Ð 9Ø 
€
Ð3Ñ 4Ô 4Ð 4Ø 
€
Ð1Ñ 2Ô 2Ð 2àÔ�fÒÐØ
ˆ,Ð8Ñ
9Ô
9Ð9ð €Ø€ØÐ ØÐ ØÐ Ø€Ø€ØÐ Ø€Ø€ØÐ ØÐ ØÐ Ø€ØÐ ØÐ ØÐ ðð ð ð ð �Nñ ô ð ð Ô!Ô)€ð €ð3ð 3ð 3ð
ð ð ðð ð ðð ð ðð ð ð
ð ð ðð ð ð -Ð,Ð ,€
ˆZðð ð ð0Sð Sð S€ðl9ð 9ð 9ð 9ð 9�iñ 9ô 9ð 9ð0ð 0ð 0ð 0ð 0�oñ 0ô 0ð 0ð@
ð 
ð 
ð 
ð 
 ñ 
ô 
ð 
ðð ð ð ð ˜?ñ ô ð ð:Ið Ið Ið Ið I�?ñ Iô Ið Ið Ð àˆ7Œ>˜3Ô+Ð,€Ø€Ø€Ø€Ø€Ø€ð8ð 8ð 8ð
>ð 
>ð 
>ð ð ð ð ð ð Nð Nð Nðð ð ð2  �R”ZÐ ;Ñ<Ô<Ð Ø �b”jÐ!CÑDÔDÐ à!€ð.ð .ð .ðb6ð 6ð 6ð €ðð ð ð@ð @ð @ð
7ð 7ð 7ð 7ð
>ð >ð >ð
Lð Lð Lð Lð Lñ Lô Lð Lð.Nð Nð Nð Nð NÐ)ñ Nô Nð Nð8Z&ð Z&ð Z&ð Z&ð Z&ñ Z&ô Z&ð Z&ðz2ð 2ð 2ð 2ð 2�ñ 2ô 2ð 2ð(Mð Mð Mð Mð Mñ Mô Mð Mðb %Ð ðð ð ð ð �lñ ô ð ð nð nð nð nð nñ nô nð nðdð ð ð/ð /ð /ð	6ð 	6ð 	6ð9ð 9ð 9ð"ð "ð "ðð ð ð$ð $ð $ð $ðA
ð A
ð A
ð A
ð A
ñ A
ô A
ð A
ðH Ð �V˜\Ñ *Ô *Ð *ð&ð &ð &ðð ð ð ð �,ñ ô ð ð(2ð 2ð 2ð 2ð 2�kñ 2ô 2ð 2ð< × Ò Ñ Ô Ð ðð ð ð ð �Lñ ô ð ð" �‘”€ðð ð ð ð �4ñ ô ð ð6#ð #ð #ð #ð #˜<ñ #ô #ð #ð*cMð cMð cMð cMð cM�+ñ cMô cMð cMðL Ð �YÔ*¨KÑ 8Ô 8Ð 8ð&4ð &4ð &4ð &4ð &4�=ñ &4ô &4ð &4ðR!ð !ð !ð !ð !�?ñ !ô !ð !ð2ð ð ð ð �+ñ ô ð ð €ˆv¨RÐ 0Ñ 0Ô 0Ð 0ð?ð ?ð ?ð-ð -ð -ð -ðJð Jð Jð Jð6 €�	Ô%Ð'7Ñ 8Ô 8Ð 8ðð ð ð ð €�˜Ñ %Ô %Ð %ðð ð ð ð*ð ð ð&ð ð ð ð ñ ô ð ð ð ð ð ð ð ð$ð ð ð
!ð 
!ð 
!ð €7ˆ7�MÑ"Ô"ð 7Ø€O�GÔ'¨Ñ6Ô6Ð6à €Ð#Ô.°Ñ =Ô =Ð =à €ˆv¨2Ð .Ñ .Ô .Ð .Ø €ˆv¨2Ð .Ñ .Ô .Ð .ð;ð ;ð ;ð$"ð "ð "ðJ#ð #ð #ðDð ð ðD	ð 	ð 	ð 	ð
ð 
ð 
ð €7ˆ7�MÑ"Ô"ð EØÐ˜wÔ2°OÑDÔDÐDà Ð ˜9Ô0°/Ñ BÔ BÐ BØ Ð Ð.Ô9¸?Ñ KÔ KÐ Kðð ð ð Ð ˜6 ?Ñ 3Ô 3Ð 3ðYð Yð Yð
Oð Oð Oð (*ð ð ð ð ð7ð 7ð 7ðð ð ðð ð ðEð Eð Eð 
ˆŒ�OÑ	$Ô	$Ô	*€Øˆ2Œ:ðð „J�”Ññô ô ð 	ðAð Að Að Að Añ Aô Að AðH/ð /ð /ðW5ð W5ð W5ð W5ð W5ñ W5ô W5ð W5ðtð ð ð ð ˜,ñ ô ð ð&0ð 0ð 0ð 0ð 0˜<ñ 0ô 0ð 0ðh Ø$Ø&ðð Ð ð
5ð 
5ð 
5ðUð Uð Uð3ð 3ð 3ð 3ð 3˜IÔ2ÔEñ 3ô 3ð 3ð-ð -ð -ð -ð -�)Ô(Ô4ñ -ô -ð -ð`ð ð ðð ð ð(ð (ð (ð
ð 
ð 
ðð ð ð4ð ð ð €Ô ˜¨=ÀÐ FÑ FÔ FÐ Fðð ð ð
 Ø�'‘)”)ð ð ð ñ „ððð ð ð ð  Wñ ô ð ð ð!ð !ñ „ð!ð !ð !sH   Á*A/ Á/	A;Á:A;Á?B ÂBÂBÂB# Â#B-Â,B-Â?C ÃCÃC