ó
ÚÂŠ]c        
   @@ sY  d  d l  m Z m 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 m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z d  d l m Z d  d l m  Z  e! Z" d d d	 d
 d d d d d d g
 Z# d e f d „  ƒ  YZ$ d e j% d d ƒ f d „  ƒ  YZ& d e j' f d „  ƒ  YZ( d d* d „  ƒ  YZ) d d+ d „  ƒ  YZ* d e f d „  ƒ  YZ+ e d e e+ f d  „  ƒ  Yƒ Z, d! e* f d" „  ƒ  YZ- d# „  Z. d$ „  Z/ d% „  Z0 d& „  Z1 d' „  Z2 d( „  Z3 d) „  Z4 e1 e5 ƒ Z6 d S(,   i    (   t   unicode_literalst   absolute_importNi   (   t   installt
   NullFindert   ConfigParsert   suppresst   mapt   FileNotFoundErrort   IsADirectoryErrort   NotADirectoryErrort   PermissionErrort   pathlibt   PYPY_OPEN_BUGt   ModuleNotFoundErrort   MetaPathFindert   email_message_from_stringt   ensure_is_path(   t   import_module(   t   starmapu   Distributionu   DistributionFinderu   PackageNotFoundErroru   distributionu   distributionsu   entry_pointsu   filesu   metadatau   requiresu   versiont   PackageNotFoundErrorc           B@ s   e  Z d  Z RS(   u   The package was not found.(   t   __name__t
   __module__t   __doc__(    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR   5   s   t
   EntryPointu   EntryPointBaseu   name value groupc           B@ s\   e  Z d  Z e j d ƒ Z d „  Z e d „  ƒ Z e	 d „  ƒ Z
 e	 d „  ƒ Z d „  Z RS(   uÈ   An entry point as defined by Python packaging conventions.

    See `the packaging docs on entry points
    <https://packaging.python.org/specifications/entry-points/>`_
    for more information.
    uF   (?P<module>[\w.]+)\s*(:\s*(?P<attr>[\w.]+))?\s*(?P<extras>\[.*\])?\s*$c         C@ sd   |  j  j |  j ƒ } t | j d ƒ ƒ } t d | j d ƒ pB d j d ƒ ƒ } t j	 t
 | | ƒ S(   u¦   Load the entry point from its definition. If only a module
        is indicated by the value, return that module. Otherwise,
        return the named object.
        u   moduleu   attru    u   .N(   t   patternt   matcht   valueR   t   groupt   filtert   Nonet   splitt	   functoolst   reducet   getattr(   t   selfR   t   modulet   attrs(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   loadV   s    'c         C@ s:   |  j  j |  j ƒ } t t j d | j d ƒ p3 d ƒ ƒ S(   Nu   \w+u   extrasu    (   R   R   R   t   listt   ret   finditerR   (   R"   R   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   extras`   s    c         C@ sE   g  | j  ƒ  D]4 } | j | ƒ D] \ } } |  | | | ƒ ^ q  q S(   N(   t   sectionst   items(   t   clst   configR   t   nameR   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   _from_confige   s    c         C@ s`   t  d d ƒ } t | _ y | j | ƒ Wn' t k
 rR | j t j | ƒ ƒ n Xt j	 | ƒ S(   Nt
   delimitersu   =(
   R   t   strt   optionxformt   read_stringt   AttributeErrort   readfpt   iot   StringIOR   R/   (   R,   t   textR-   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt
   _from_textm   s    	c         C@ s   t  |  j |  f ƒ S(   uO   
        Supply iter so one may construct dicts of EntryPoints easily.
        (   t   iterR.   (   R"   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   __iter__y   s    (   R   R   R   R'   t   compileR   R%   t   propertyR)   t   classmethodR/   R9   R;   (    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR   9   s   		
t   PackagePathc           B@ s,   e  Z d  Z d d „ Z d „  Z d „  Z RS(   u"   A reference to a path in a packageu   utf-8c         C@ s/   |  j  ƒ  j d | ƒ  } | j ƒ  SWd  QXd  S(   Nt   encoding(   t   locatet   opent   read(   R"   R@   t   stream(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt	   read_textƒ   s    c         C@ s,   |  j  ƒ  j d ƒ  } | j ƒ  SWd  QXd  S(   Nu   rb(   RA   RB   RC   (   R"   RD   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   read_binary‡   s    c         C@ s   |  j  j |  ƒ S(   u'   Return a path-like object for this path(   t   distt   locate_file(   R"   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRA   ‹   s    (   R   R   R   RE   RF   RA   (    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR?   €   s   	t   FileHashc           B@ s   e  Z d  „  Z d „  Z RS(   c         C@ s"   | j  d ƒ \ |  _ } |  _ d  S(   Nu   =(   t	   partitiont   modeR   (   R"   t   spect   _(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   __init__‘   s    c         C@ s   d j  |  j |  j ƒ S(   Nu   <FileHash mode: {} value: {}>(   t   formatRK   R   (   R"   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   __repr__”   s    (   R   R   RN   RP   (    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRI      s   	t   Distributionc           B@ s  e  Z d  Z e j d „  ƒ Z e j d „  ƒ Z e d „  ƒ Z e d „  ƒ Z	 e
 d „  ƒ Z e
 d „  ƒ Z e
 d „  ƒ Z e d „  ƒ Z e d	 „  ƒ Z e d
 „  ƒ Z e d „  ƒ Z d „  Z d „  Z e d „  ƒ Z d „  Z d „  Z e d „  ƒ Z e
 d „  ƒ Z e
 d „  ƒ Z RS(   u   A Python distribution package.c         C@ s   d S(   u¶   Attempt to load metadata file given by the name.

        :param filename: The name of the file in the distribution info.
        :return: The text if found, otherwise None.
        N(    (   R"   t   filename(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRE   ›   t    c         C@ s   d S(   u[   
        Given a path to a file in this distribution, return a path
        to it.
        N(    (   R"   t   path(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRH   £   RS   c         C@ sj   xc |  j  ƒ  D]I } t j d | ƒ } |  j | | ƒ } t | d ƒ } | d k	 r | Sq Wt | ƒ ‚ d S(   uf  Return the Distribution for the given package name.

        :param name: The name of the distribution package to search for.
        :return: The Distribution instance (or subclass thereof) for the named
            package, if found.
        :raises PackageNotFoundError: When the named package's distribution
            metadata cannot be found.
        R.   N(   t   _discover_resolverst   DistributionFindert   Contextt   _maybe_bindt   nextR   R   (   R,   R.   t   resolvert   contextt   distsRG   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt	   from_nameª   s    
c         @ sk   | j  d d ƒ ‰ ˆ r- | r- t d ƒ ‚ n  ˆ p? t j |   ‰ t j j ‡  ‡ f d †  ˆ  j ƒ  Dƒ ƒ S(   u  Return an iterable of Distribution objects for all packages.

        Pass a ``context`` or pass keyword arguments for constructing
        a context.

        :context: A ``DistributionFinder.Context`` object.
        :return: Iterable of Distribution objects for all packages.
        u   contextu    cannot accept context and kwargsc         3@ s!   |  ] } ˆ  j  | ˆ ƒ Vq d  S(   N(   RX   (   t   .0RZ   (   R,   R[   (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pys	   <genexpr>Ì   s   N(	   t   popR   t
   ValueErrorRV   RW   t	   itertoolst   chaint   from_iterableRU   (   R,   t   kwargs(    (   R,   R[   s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   discover½   s    
	c         C@ s<   y |  | ƒ SWn' t  k
 r7 |  d | j d | j ƒ SXd S(   uÙ   
        Only bind the context to the resolver if as a callable,
        the resolver accepts the context parameter.

        Workaround for
        https://gitlab.com/python-devs/importlib_metadata/issues/86
        R.   RT   N(   t	   TypeErrorR.   RT   (   RZ   R[   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRX   Ð   s    	c         C@ s   t  t |  ƒ ƒ S(   u°   Return a Distribution for the indicated metadata path

        :param path: a string or path-like object
        :return: a concrete Distribution instance for the path
        (   t   PathDistributionR   (   RT   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   atÞ   s    c          C@ s    d „  t  j Dƒ }  t d |  ƒ S(   u#   Search the meta_path for resolvers.c         s@ s!   |  ] } t  | d  d ƒ Vq d S(   u   find_distributionsN(   R!   R   (   R^   t   finder(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pys	   <genexpr>ë   s   N(   t   syst	   meta_pathR   R   (   t   declared(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRU   ç   s    c         C@ s7   |  j  d ƒ p* |  j  d ƒ p* |  j  d ƒ } t | ƒ S(   u°   Return the parsed metadata for this Distribution.

        The returned object will have keys that name the various bits of
        metadata.  See PEP 566 for details.
        u   METADATAu   PKG-INFOu    (   RE   R   (   R"   R8   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   metadatað   s    c         C@ s   |  j  d S(   u;   Return the 'Version' metadata for the distribution package.u   Version(   Rm   (   R"   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   version  s    c         C@ s   t  j |  j d ƒ ƒ S(   Nu   entry_points.txt(   R   R9   RE   (   R"   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   entry_points  s    c         @ sO   ˆ  j  ƒ  p ˆ  j ƒ  } d d ‡  f d † } | oN t t | t j | ƒ ƒ ƒ S(   uB  Files in this distribution.

        :return: List of PackagePath for this distribution or None

        Result is `None` if the metadata file that enumerates files
        (i.e. RECORD for dist-info or SOURCES.txt for egg-info) is
        missing.
        Result may be empty if the metadata exists but is empty.
        c         @ sO   t  |  ƒ } | r t | ƒ n d  | _ | r9 t | ƒ n d  | _ ˆ  | _ | S(   N(   R?   RI   R   t   hasht   intt   sizeRG   (   R.   Rp   t   size_strt   result(   R"   (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt	   make_file  s
    	N(   t   _read_files_distinfot   _read_files_egginfoR   R&   R   t   csvt   reader(   R"   t
   file_linesRu   (    (   R"   s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   files
  s    c         C@ s   |  j  d ƒ } | o | j ƒ  S(   u*   
        Read the lines of RECORD
        u   RECORD(   RE   t
   splitlines(   R"   R8   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRv      s    c         C@ s+   |  j  d ƒ } | o* t d j | j ƒ  ƒ S(   u`   
        SOURCES.txt might contain literal commas, so wrap each line
        in quotes.
        u   SOURCES.txtu   "{}"(   RE   R   RO   R|   (   R"   R8   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRw   '  s    c         C@ s(   |  j  ƒ  p |  j ƒ  } | o' t | ƒ S(   u6   Generated requirements specified for this Distribution(   t   _read_dist_info_reqst   _read_egg_info_reqsR&   (   R"   t   reqs(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   requires/  s    c         C@ s   |  j  j d ƒ S(   Nu   Requires-Dist(   Rm   t   get_all(   R"   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR}   5  s    c         C@ s"   |  j  d ƒ } | o! |  j | ƒ S(   Nu   requires.txt(   RE   t   _deps_from_requires_text(   R"   t   source(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR~   8  s    c         C@ sG   |  j  | j ƒ  ƒ } d „  t j | t j d ƒ ƒ Dƒ } |  j | ƒ S(   Nc         S@ s7   i  |  ]- \ } } t  t t j d  ƒ | ƒ ƒ | “ q S(   u   line(   R&   R   t   operatort
   itemgetter(   R^   t   sectiont   results(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pys
   <dictcomp>@  s   	u   section(   t   _read_sectionsR|   Ra   t   groupbyR„   R…   t%   _convert_egg_info_reqs_to_simple_reqs(   R,   Rƒ   t   section_pairsR*   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR‚   <  s    c         c@ sY   d  } xL t d  |  ƒ D]; } t j d | ƒ } | rI | j d ƒ } q n  t ƒ  Vq Wd  S(   Nu	   \[(.*)\]$i   (   R   R   R'   R   R   t   locals(   t   linesR†   t   linet   section_match(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRˆ   F  s    c         #@ sY   d „  ‰  ‡  f d †  } x: |  j  ƒ  D], \ } } x | D] } | | | ƒ Vq8 Wq% Wd S(   uÄ  
        Historically, setuptools would solicit and store 'extra'
        requirements, including those with environment markers,
        in separate sections. More modern tools expect each
        dependency to be defined separately, with any relevant
        extras and environment markers attached directly to that
        requirement. This method converts the former to the
        latter. See _test_deps_from_requires_text for an example.
        c         S@ s   |  o d j  d |  ƒ S(   Nu   extra == "{name}"R.   (   RO   (   R.   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   make_condition[  s    c         @ s   |  p	 d }  |  j  d ƒ \ } } } | rE | rE d j d | ƒ } n  t t d  | ˆ  | ƒ g ƒ ƒ } | r} d d j | ƒ Sd S(   Nu    u   :u   ({markers})t   markersu   ; u    and (   RJ   RO   R&   R   R   t   join(   R†   t   extrat   sepR‘   t
   conditions(   R   (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   parse_condition^  s    !N(   R+   (   R*   R–   R†   t   depst   dep(    (   R   s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRŠ   P  s
    	(   R   R   R   t   abct   abstractmethodRE   RH   R>   R]   Re   t   staticmethodRX   Rh   RU   R=   Rm   Rn   Ro   R{   Rv   Rw   R€   R}   R~   R‚   Rˆ   RŠ   (    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRQ   ˜   s(   						

RV   c           B@ s9   e  Z d  Z d d d „  ƒ  YZ e j e ƒ  d „ ƒ Z RS(   uJ   
    A MetaPathFinder capable of discovering installed distributions.
    RW   c           B@ s5   e  Z d Z d  „  Z e d „  ƒ Z e d „  ƒ Z RS(   c         K@ s   t  |  ƒ j | ƒ d  S(   N(   t   varst   update(   R"   Rd   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRN   w  s    c         C@ s   t  |  ƒ j d t j ƒ S(   uL   
            The path that a distribution finder should search.
            u   path(   Rœ   t   getRj   RT   (   R"   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRT   z  s    c         C@ s#   |  j  d  k r d St j |  j  ƒ S(   Nu   .*(   R.   R   R'   t   escape(   R"   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR     s    N(   R   R   R   R.   RN   R=   RT   R   (    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRW   p  s   	c         C@ s   d S(   uÝ   
        Find distributions.

        Return an iterable of all Distribution instances capable of
        loading the metadata for packages matching the ``context``,
        a DistributionFinder.Context instance.
        N(    (   R"   R[   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   find_distributions…  RS   (    (   R   R   R   RW   R™   Rš   R    (    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRV   k  s   t   MetadataPathFinderc           B@ sk   e  Z d  Z e j ƒ  d „ Z e d „  ƒ Z e d „  ƒ Z	 e d „  ƒ Z
 e d „  ƒ Z e d „  ƒ Z RS(   uÒ   A degenerate finder for distribution packages on the file system.

    This finder supplies only a find_distributions() method for versions
    of Python that do not have a PathFinder find_distributions().
    c         C@ s%   |  j  | j | j ƒ } t t | ƒ S(   u   
        Find distributions.

        Return an iterable of all Distribution instances capable of
        loading the metadata for packages matching ``context.name``
        (or all names if ``None`` indicated) along the paths in the list
        of directories ``context.path``.
        (   t   _search_pathsR   RT   R   Rg   (   R"   R[   t   found(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR    ˜  s    	c         @ s/   t  j j ‡  ‡ f d †  t ˆ  j | ƒ Dƒ ƒ S(   u1   Find metadata directories in paths heuristically.c         3@ s!   |  ] } ˆ  j  | ˆ ƒ Vq d  S(   N(   t   _search_path(   R^   RT   (   R,   R   (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pys	   <genexpr>¨  s   (   Ra   Rb   Rc   R   t   _switch_path(   R,   R   t   paths(    (   R,   R   s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR¢   ¤  s    	c         C@ sI   t  s t j j |  ƒ r< t t ƒ  t j |  ƒ SWd  QXn  t j |  ƒ S(   N(	   R   t   osRT   t   isfileR   t	   Exceptiont   zippt   PathR   (   RT   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR¥   ¬  s    c         C@ s4   d } | j  d | ƒ } t j | | j d t j ƒS(   Nu    {pattern}(-.*)?\.(dist|egg)-infoR   t   flags(   RO   R'   R   R.   t
   IGNORECASE(   R,   t
   normalizedt   itemt   templatet   manifest(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   _matches_info³  s    c         C@ s7   d } | j  d | ƒ } t j | t | ƒ d t j ƒS(   Nu   {pattern}-.*\.egg[\\/]EGG-INFOR   R¬   (   RO   R'   t   searchR1   R­   (   R,   R®   R¯   R°   R±   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   _matches_legacy¹  s    c         @ s?   | j  ƒ  s d S| j d d ƒ ‰ ‡  ‡ f d †  | j ƒ  Dƒ S(   Nu   -u   _c         3@ s9   |  ]/ } ˆ  j  ˆ | ƒ s- ˆ  j ˆ | ƒ r | Vq d  S(   N(   R²   R´   (   R^   R¯   (   R,   R®   (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pys	   <genexpr>Ä  s    (    (   t   is_dirt   replacet   iterdir(   R,   t   rootR   (    (   R,   R®   s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR¤   ¿  s    (   R   R   R   RV   RW   R    R>   R¢   R›   R¥   R²   R´   R¤   (    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR¡     s   Rg   c           B@ s2   e  Z d  „  Z d „  Z e j j e _ d „  Z RS(   c         C@ s   | |  _  d S(   uÐ   Construct a distribution from a path to the metadata directory.

        :param path: A pathlib.Path or similar object supporting
                     .joinpath(), __div__, .parent, and .read_text().
        N(   t   _path(   R"   RT   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRN   Ê  s    c         C@ s?   t  t t t t t ƒ ! |  j j | ƒ j d d ƒ SWd  QXd  S(   NR@   u   utf-8(	   R   R   R   t   KeyErrorR	   R
   R¹   t   joinpathRE   (   R"   RR   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRE   Ò  s    c         C@ s   |  j  j | S(   N(   R¹   t   parent(   R"   RT   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRH   Ø  s    (   R   R   RN   RE   RQ   R   RH   (    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRg   É  s   		c         C@ s   t  j |  ƒ S(   uÎ   Get the ``Distribution`` instance for the named package.

    :param distribution_name: The name of the distribution package as a string.
    :return: A ``Distribution`` instance (or subclass thereof).
    (   RQ   R]   (   t   distribution_name(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   distributionÜ  s    c          K@ s   t  j |    S(   u|   Get all ``Distribution`` instances in the current environment.

    :return: An iterable of ``Distribution`` instances.
    (   RQ   Re   (   Rd   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   distributionså  s    c         C@ s   t  j |  ƒ j S(   u¸   Get the metadata for the named package.

    :param distribution_name: The name of the distribution package to query.
    :return: An email.Message containing the parsed metadata.
    (   RQ   R]   Rm   (   R½   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRm   í  s    c         C@ s   t  |  ƒ j S(   uì   Get the version string for the named package.

    :param distribution_name: The name of the distribution package to query.
    :return: The version string for the package as defined in the package's
        "Version" metadata key.
    (   R¾   Rn   (   R½   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRn   ö  s    c          C@ s`   t  j j d „  t ƒ  Dƒ ƒ }  t j d ƒ } t |  d | ƒ} t  j | | ƒ } d „  | Dƒ S(   uw   Return EntryPoint objects for all installed packages.

    :return: EntryPoint objects for all installed packages.
    c         s@ s   |  ] } | j  Vq d  S(   N(   Ro   (   R^   RG   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pys	   <genexpr>  s    u   groupt   keyc         S@ s%   i  |  ] \ } } t  | ƒ | “ q S(    (   t   tuple(   R^   R   t   eps(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pys
   <dictcomp>  s   	(   Ra   Rb   Rc   R¿   R„   t
   attrgettert   sortedR‰   (   RÂ   t   by_groupt   orderedt   grouped(    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyRo      s    	c         C@ s   t  |  ƒ j S(   u·   Return a list of files for the named package.

    :param distribution_name: The name of the distribution package to query.
    :return: List of files composing the distribution.
    (   R¾   R{   (   R½   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR{     s    c         C@ s   t  |  ƒ j S(   u   
    Return a list of requirements for the named package.

    :return: An iterator of requirements, suitable for
    packaging.requirement.Requirement.
    (   R¾   R€   (   R½   (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyR€     s    (    (    (7   t
   __future__R    R   R6   R§   R'   R™   Rx   Rj   Rª   R„   R   Ra   t   collectionst   _compatR   R   R   R   R   R   R   R	   R
   R   R   R   R   R   R   t	   importlibR   R   t   typet   __metaclass__t   __all__R   t
   namedtupleR   t   PurePosixPathR?   RI   RQ   RV   R¡   Rg   R¾   R¿   Rm   Rn   Ro   R{   R€   R   t   __version__(    (    (    s:   lib/python2.7/site-packages/importlib_metadata/__init__.pyt   <module>   sT   d	"GÓ%8						
				
