
'^c           @@  s#  d  d l  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 m Z m	 Z	 d  d l
 m Z d  d l m Z d  d l m Z d  d l m Z d  d l m Z d  d	 l m Z d  d
 l m Z d  d l m Z d  d l m Z d  d l m Z d  d l m Z d  d l  m Z! d  d l" m# Z$ d  d l% m& Z' d  d l( m) Z) d  d l* m+ Z+ m, Z, d  d l- m. Z. d  d l/ m0 Z0 d  d l1 m2 Z2 d  d l3 m4 Z4 d  d l5 m6 Z6 m7 Z7 m8 Z8 d  d l9 m: Z: m; Z; m< Z< m= Z= m> Z> m? Z? m@ Z@ mA ZA mB ZB d  d lC mD ZD d  d lE mF ZF d  d lG mH ZH d  d lI mJ ZJ d  d lK mL ZL eH rd  d lM mN ZN mO ZO mP ZP mQ ZQ mR ZR mS ZS mT ZT d  d l mU ZU d  d  lV mW ZW d  d! lX mY ZY d  d" lZ m[ Z[ d  d# l\ m] Z] d  d$ l^ m_ Z_ n  e j` ea  Zb d%   Zc d& ed f d'     YZe d S((   i    (   t   absolute_importN(   t   pkg_resourcest   six(   t   Requirement(   t   canonicalize_name(   t   Version(   t   parse(   t   Pep517HookCaller(   t
   pep425tags(   t   NoOpBuildEnvironment(   t   InstallationError(   t
   get_scheme(   t   Link(   t   generate_metadata(   t   install_editable(   t   install(   t   install_wheel(   t   load_pyproject_tomlt   make_pyproject_path(   t   UninstallPathSet(   t
   deprecated(   t   Hashes(   t
   indent_log(   t   PIP_DELETE_MARKER_FILENAMEt   has_delete_marker_filet   write_delete_marker_file(	   t   ask_path_existst
   backup_dirt   display_patht   dist_in_site_packagest   dist_in_usersitet   get_installed_versiont   hide_urlt   redact_auth_from_urlt   rmtree(   t   get_metadata(   t   TempDirectory(   t   MYPY_CHECK_RUNNING(   t   running_under_virtualenv(   t   vcs(   t   Anyt   Dictt   Iterablet   Listt   Optionalt   Sequencet   Union(   t   BuildEnvironment(   t
   WheelCache(   t   PackageFinder(   t   Distribution(   t   SpecifierSet(   t   Markerc         C@  s   |  j  t j  } | j d  r- t j } n | j d  sB t  t j } t j j	 |  \ } } t j j
 |  d } t j | |  } | | d | d | S(   sQ   Return a pkg_resources.Distribution for the provided
    metadata directory.
    s	   .egg-infos
   .dist-infoi    t   project_namet   metadata(   t   rstript   ost   sept   endswithR   R2   t   AssertionErrort   DistInfoDistributiont   patht   splitt   splitextt   PathMetadata(   t   metadata_directoryt   dist_dirt   dist_clst   base_dirt   dist_dir_namet	   dist_nameR6   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt	   _get_distI   s    	t   InstallRequirementc           B@  s  e  Z d  Z d# e d# d# d# e d# d# e d$ d 
 Z d   Z d   Z d   Z d   Z	 e
 d    Z e
 d    Z e
 d    Z e
 d	    Z d# d
  Z e
 d    Z e 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 d   Z d   Z d   Z e
 d    Z  d   Z! d   Z" d   Z# e d  Z$ e e d  Z% d    Z& d!   Z' d# d# d# d# e e e d"  Z( RS(%   s   
    Represents something that may be installed later on, may have information
    about where to fetch the relevant requirement and also contains logic for
    installing the said requirement.
    c         C@  s  | d  k s' t | t  s' t |   | |  _ | |  _ | |  _ | d  k rZ d  |  _ n! t j	 j
 t j	 j |   |  _ | |  _ |
 |  _ | d  k r | r | j r t | j  } n  | |  _ |  _ d  |  _ |  j r |  j j r |  j j |  _ n  | r| |  _ n+ | r+d   | j D |  _ n t   |  _ | d  k rU| rU| j } n  | |  _ d  |  _ t |  _ d  |  _ d  |  _ |	 r|	 n i  |  _ t |  _ t |  _  | |  _! t"   |  _# d  |  _$ d  |  _% g  |  _& d  |  _' | |  _( d  S(   Nc         S@  s   h  |  ] } t  j |   q S(    (   R   t
   safe_extra(   t   .0t   extra(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pys	   <setcomp>   s   	 ()   t   Nonet
   isinstanceR   R;   t   reqt
   comes_fromt
   constraintt
   source_dirR8   R=   t   normpatht   abspatht   editablet   _wheel_cachet   urlR   t   linkt   original_linkt   local_file_patht   is_filet	   file_patht   extrast   sett   markert   markerst   satisfied_byt   Falset   should_reinstallt   _temp_build_dirt   install_succeededt   optionst   preparedt	   is_directt   isolatedR	   t	   build_envRA   t   pyproject_requirest   requirements_to_checkt   pep517_backendt
   use_pep517(   t   selfRN   RO   RQ   RT   RW   R_   Rm   Rh   Re   t   wheel_cacheRP   R\   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   __init__j   sJ    '			!															c         C@  s   |  j  rA t |  j   } |  j re | d t |  j j  7} qe n$ |  j r_ t |  j j  } n d } |  j d  k	 r | d t |  j j  7} n  |  j	 r t
 |  j	 t j  r |  j	 } n |  j	 j   } | r | d | 7} q n  | S(   Ns    from %ss   <InstallRequirement>s    in %ss
    (from %s)(   RN   t   strRW   R!   RV   R`   RL   R   t   locationRO   RM   R   t   string_typest	   from_path(   Rn   t   sRO   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   __str__   s     		 		c         C@  s    d |  j  j t |   |  j f S(   Ns   <%s object: %s editable=%r>(   t	   __class__t   __name__Rq   RT   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   __repr__   s    c         @  sY   t  |     t    }   f d   t |  D } d j d |  j j d d j |   S(   s>   An un-tested helper for getting state, for debugging.
        c         3@  s%   |  ] } d  j  |   |  Vq d S(   s   {}={!r}N(   t   format(   RJ   t   attr(   t
   attributes(    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pys	   <genexpr>   s    s   <{name} object: {{{state}}}>t   namet   states   , (   t   varst   sortedRz   Rw   Rx   t   join(   Rn   t   namesR~   (    (   R|   s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   format_debug   s    	c         C@  s   |  j  d k r' | j |  |  |  _  n  |  j d k	 r | r |  j  } t j   } |  j j d |  j  d |  j d |  |  _  | |  j  k r t j	 d |  j   q n  d S(   s  Ensure that if a link can be found for this, that it is found.

        Note that self.link may still be None - if Upgrade is False and the
        requirement is already installed.

        If require_hashes is True, don't use the wheel cache, because cached
        wheels, always built locally, have different hashes than the files
        downloaded from the index server and thus throw false hash mismatches.
        Furthermore, cached wheels at present have undeterministic contents due
        to file modification times.
        RW   t   package_namet   supported_tagss   Using cached wheel link: %sN(
   RW   RL   t   find_requirementRU   R   t   get_supportedt   getR}   t   loggert   debug(   Rn   t   findert   upgradet   require_hashest   old_linkR   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   populate_link   s    			c         C@  s/   |  j  d  k r d  St j t j |  j  j   S(   N(   RN   RL   R   t
   ensure_strR   t	   safe_nameR}   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR}     s    c         C@  s
   |  j  j S(   N(   RN   t	   specifier(   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR     s    c         C@  s:   |  j  } t |  d k o9 t t |   j d d h k S(   s   Return whether I am pinned to an exact version.

        For example, some-package==1.2 is pinned; some-package>1.2 is not.
        i   s   ==s   ===(   R   t   lent   nextt   itert   operator(   Rn   t
   specifiers(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt	   is_pinned  s    	c         C@  s   t  |  j  S(   N(   R   R}   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   installed_version  s    c         @  s@   | s d } n    j  d  k	 r8 t   f d   | D  St Sd  S(   Nt    c         3@  s(   |  ] }   j  j i | d  6 Vq d S(   RK   N(   R_   t   evaluate(   RJ   RK   (   Rn   (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pys	   <genexpr>*  s   (   R   (   R_   RL   t   anyt   True(   Rn   t   extras_requested(    (   Rn   s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   match_markers"  s    	c         C@  s   t  |  j j d i    S(   s   Return whether any known-good hashes are specified as options.

        These activate --require-hashes mode; hashes specified as part of a
        URL do not.

        t   hashes(   t   boolRe   R   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   has_hash_options/  s    	c         C@  sn   |  j  j d i   j   } | r* |  j n |  j } | rd | j rd | j | j g   j | j  n  t	 |  S(   s  Return a hash-comparer that considers my option- and URL-based
        hashes to be known-good.

        Hashes in URLs--ones embedded in the requirements file, not ones
        downloaded from an index server--are almost peers with ones from
        flags. They satisfy --require-hashes (whether it was implicitly or
        explicitly activated) but do not activate it. md5 and sha224 are not
        allowed in flags, which should nudge people toward good algos. We
        always OR all hashes together, even ones from URLs.

        :param trust_internet: Whether to trust URL-based (#md5=...) hashes
            downloaded from the internet, as by populate_link()

        R   (
   Re   R   t   copyRW   RX   t   hasht
   setdefaultt	   hash_namet   appendR   (   Rn   t   trust_internett   good_hashesRW   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR   :  s
    "c         C@  sy   |  j  d k r d St |  j   } |  j ru t |  j t j  rL |  j } n |  j j   } | ru | d | 7} qu n  | S(   s@   Format a nice indicator to show where this "comes from"
        s   ->N(   RN   RL   Rq   RO   RM   R   Rs   Rt   (   Rn   Ru   RO   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyRt   P  s    	c         C@  s   | d  k	 s t  |  j d  k	 r= |  j j s3 t  |  j j S|  j d  k rh t d d  |  _ |  j j S|  j r |  j j   } n	 |  j } t	 j j
 |  s t j d |  t	 j |  t |  n  t	 j j | |  S(   Nt   kinds	   req-builds   Creating directory %s(   RL   R;   Rc   R=   RN   R$   RT   R}   t   lowerR8   t   existsR   R   t   makedirsR   R   (   Rn   t	   build_dirR}   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   ensure_build_location`  s    

		c         C@  s   |  j  d k s t  |  j d k	 s* t  |  j d k	 s? t  t t |  j d  t  rd d } n d } t d j	 |  j d | |  j d g   |  _  d S(   s3   Set requirement after generating metadata.
        R   s   ==s   ===R   t   NameN(
   RN   RL   R;   R6   RQ   RM   t   parse_versionR   R   R   (   Rn   t   op(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   _set_requirementy  s    	
c         C@  s^   t  |  j d  } t  |  j j  | k r/ d  St j d |  j | |  j  t |  |  _ d  S(   NR   se   Generating metadata for package %s produced metadata for project name %s. Fix your #egg=%s fragments.(   R   R6   RN   R}   R   t   warningR   (   Rn   t   metadata_name(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   warn_on_mismatching_name  s    c         C@  sw   |  j  r; t |  j   r; t j d |  j   t |  j   n  d |  _  |  j rf |  j j   d |  _ n  |  j j   d S(   sV   Remove the source files from this requirement, if they are marked
        for deletions   Removing source in %sN(	   RQ   R   R   R   R"   RL   Rc   t   cleanupRi   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   remove_temporary_source  s    		c         C@  s  |  j  d k r d St t |  j    } d | _ y t j t |   |  _ Wn t j k
 rd d St j	 k
 r t j |  j  j
  } | r t |  r t |  _ q t   r t |  r t d | j | j f   q qt |  _ n( X|  j r|  j rt |  _ d |  _ n  d S(   s   Find an installed distribution that satisfies or conflicts
        with this requirement, and set self.satisfied_by or
        self.should_reinstall appropriately.
        NsV   Will not install to the user site because it will lack sys.path precedence to %s in %s(   RN   RL   R   Rq   R^   R   t   get_distributionR`   t   DistributionNotFoundt   VersionConflictR}   R   R   Rb   R&   R   R
   R5   Rr   RT   (   Rn   t   use_user_sitet	   no_markert   existing_dist(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   check_if_exists  s.    			c         C@  s   |  j  s t S|  j  j S(   N(   RW   Ra   t   is_wheel(   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR     s    	c         C@  s+   t  j j |  j |  j r$ |  j j p' d  S(   NR   (   R8   R=   R   RQ   RW   t   subdirectory_fragment(   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   unpacked_source_directory  s    	c         C@  sh   |  j  s t d |    t j j |  j d  } t j rd t | t j	  rd | j
 t j    } n  | S(   Ns   No source dir for %ss   setup.py(   RQ   R;   R8   R=   R   R   R   t   PY2RM   t	   text_typet   encodet   syst   getfilesystemencoding(   Rn   t   setup_py(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   setup_py_path  s
    c         C@  s&   |  j  s t d |    t |  j  S(   Ns   No source dir for %s(   RQ   R;   R   R   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   pyproject_toml_path  s    c         C@  s   t  |  j |  j |  j t |    } | d k r= t |  _ d St |  _ | \ } } } } | |  _ | |  _	 t
 |  j | d | |  _ d S(   sA  Load the pyproject.toml file.

        After calling this routine, all of the attributes related to PEP 517
        processing for this requirement have been set. In particular, the
        use_pep517 attribute can be used to determine whether we should
        follow the PEP 517 or legacy (setup.py) code path.
        Nt   backend_path(   R   Rm   R   R   Rq   RL   Ra   R   Rk   Rj   R   R   Rl   (   Rn   t   pyproject_toml_datat   requirest   backendt   checkR   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR     s    					c         C@  s   |  j  sg |  j s t  t d |  j d |  j d |  j d |  j d |  j d |  j pc d j	 |  j
   S|  j d	 k	 s| t  t d |  j d |  j  S(
   sK   Invokes metadata generator functions, with the required arguments.
        Ri   R   RQ   RT   Rh   t   detailss   from {}R   N(   Rm   R   R;   t   generate_metadata_legacyRi   R   RT   Rh   R}   Rz   RW   Rl   RL   R   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   _generate_metadata  s    							c         C@  s\   |  j  s t  t    |  j   |  _ Wd QX|  j sD |  j   n
 |  j   |  j   d S(   s   Ensure that project metadata is available.

        Under PEP 517, call the backend hook to prepare the metadata.
        Under legacy processing, call setup.py egg-info.
        N(	   RQ   R;   R   R   RA   R}   R   R   t   assert_source_matches_version(   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   prepare_metadata*  s    
	
c         C@  s.   t  |  d  s' t |  j    |  _ n  |  j S(   Nt	   _metadata(   t   hasattrR#   t   get_distR   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR6   >  s    c         C@  s   t  |  j  S(   N(   RG   RA   (   Rn   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR   F  s    c         C@  ss   |  j  s t  |  j d } |  j j rP | |  j j k rP t j d |  |  n t j d t |  j   | |   d  S(   Nt   versions'   Requested %s, but installing version %ss;   Source in %s has version %s, which satisfies requirement %s(	   RQ   R;   R6   RN   R   R   R   R   R   (   Rn   R   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR   J  s    
c         C@  s(   |  j  d k r$ |  j |  |  _  n  d S(   sA  Ensure that a source_dir is set.

        This will create a temporary build dir if the name of the requirement
        isn't known yet.

        :param parent_dir: The ideal pip parent_dir for the source_dir.
            Generally src_dir for editables and build_dir for sdists.
        :return: self.source_dir
        N(   RQ   RL   R   (   Rn   t
   parent_dir(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   ensure_has_source_dir]  s    c         C@  s}  |  j  s  t j d |  j  d  S|  j s/ t  |  j s> t  |  j  j d k rT d  Sd |  j  j k s| t d |  j  j   |  j  j j d d  \ } } t	 j
 |  } | rZ|  j  j sd j |  j  j  } d  } |  j  j j d  r d } n  t | | d	 d
 d d n  t |  j  j  } | rA| j |  j d | qy| j |  j d | n d syt d |  j  | f   d  S(   Ns>   Cannot update repository at %s; repository location is unknownt   filet   +s   bad url: %ri   s5   This form of VCS requirement is being deprecated: {}.s   git+git@sm   git+https://git@example.com/..., git+ssh://git@example.com/..., or the insecure git+git://git@example.com/...t   gone_ins   21.0t   issuei  RV   i    s+   Unexpected version control type (in %s): %s(   RW   R   R   RQ   RT   R;   t   schemeRV   R>   R'   t   get_backendt   is_vcsRz   RL   t
   startswithR   R    t   obtaint   export(   Rn   R   t   vc_typeRV   t   vcs_backendt   reasont   replacementt
   hidden_url(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   update_editablel  s6    	
(		c         C@  s   |  j  s t  y t j |  j  j  } Wn( t j k
 rR t j d |  j  d SXt j	 d |  t
 j |  } | j | |  | S(   s  
        Uninstall the distribution currently satisfying this requirement.

        Prompts before removing or modifying files unless
        ``auto_confirm`` is True.

        Refuses to delete or modify files outside of ``sys.prefix`` -
        thus uninstallation within a virtual environment can only
        modify that virtual environment, even if the virtualenv is
        linked to global site-packages.

        s#   Skipping %s as it is not installed.s   Found existing installation: %sN(   RN   R;   R   R   R}   R   R   R   RL   t   infoR   t	   from_distt   remove(   Rn   t   auto_confirmt   verboset   distt   uninstalled_pathset(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt	   uninstall  s    c         C@  s<   d   } t  j j | |  } | | |  } |  j d | S(   Nc         S@  s_   |  j  | t j j  s/ t d |  | f   |  t |  d }  |  j t j j d  }  |  S(   Ns$   name %r doesn't start with prefix %ri   t   /(   R   R8   R=   R9   R;   R   t   replace(   R}   t   prefix(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   _clean_zip_name  s
    R   (   R8   R=   R   R}   (   Rn   R=   t	   parentdirt   rootdirR   R}   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   _get_archive_name  s    		c         C@  s  |  j  s t  t } d |  j |  j d f } t j j | |  } t j j |  rt	 d t
 |  d  } | d k r t } q| d k r t j d t
 |   t j |  q| d k r t |  } t j d	 t
 |  t
 |   t j | |  q| d k rt j d
  qn  | s)d St j | d t j d t } |  t j j t j j |  j   } x t j |  D] \ }	 }
 } d |
 k r|
 j d  n  xU |
 D]M } |  j | d |	 d | } t j | d  } d | _ | j | d  qWx` | D]X } | t k r!q	n  |  j | d |	 d | } t j j |	 |  } | j  | |  q	WqWWd QXt j! d t
 |   d S(   s}   Saves archive to provided build_dir.

        Used for saving downloaded VCS requirements as part of `pip download`.
        s	   %s-%s.zipR   s8   The file %s exists. (i)gnore, (w)ipe, (b)ackup, (a)bort t   it   wt   bt   as   Deleting %ss   Backing up %s to %siNt
   allowZip64s   pip-egg-infoR   R   R   i  i   R   s   Saved %s(   R   R   R   R   i  ("   RQ   R;   R   R}   R6   R8   R=   R   R   R   R   Ra   R   R   R   R   t   shutilt   moveR   t   exitt   zipfilet   ZipFilet   ZIP_DEFLATEDt   normcaseRS   R   t   walkR   t   ZipInfot   external_attrt   writestrR   t   writeR   (   Rn   R   t   create_archivet   archive_namet   archive_patht   responset	   dest_filet
   zip_outputt   dirt   dirpatht   dirnamest	   filenamest   dirnamet   dir_arcnamet   zipdirt   filenamet   file_arcname(    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   archive  s\    				c	   
      C@  sA  t  |  j d | d | d | d |  j d | }	 | d  k	 rB | n g  } |  j r t | | d | d | d | d |  j d |  j d |  j d	 |  j d
 |  j t	 |  _
 d  S|  j r|  j s t  t |  j |  j d |	 d t |  j  d | d | t	 |  _
 d  St |  d | d | d | d | d | d | d | d |	 d  S(   Nt   usert   homet   rootRh   R   R   R}   R   Ri   R   R   t   req_descriptiont	   pycompilet   warn_script_locationt   install_optionst   global_options(   R   R}   Rh   RL   RT   t   install_editable_legacyR   Ri   R   R   Rd   R   RY   R;   R   Rq   RN   t   install_legacy(
   Rn   R!  R"  R  R  R   R   R   R  R   (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyR     sV    								
				N(    ()   Rx   t
   __module__t   __doc__RL   Ra   Rp   Rv   Ry   R   R   t   propertyR}   R   R   R   R   R   R   R   Rt   R   R   R   R   R   R   R   R   R   R   R   R   R6   R   R   R   R   R   R   R  R   (    (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyRH   c   sd   K										*						+		B(f   t
   __future__R    t   loggingR8   R   R   R  t   pip._vendorR   R   t"   pip._vendor.packaging.requirementsR   t   pip._vendor.packaging.utilsR   t   pip._vendor.packaging.versionR   R   R   t   pip._vendor.pep517.wrappersR   t   pip._internalR   t   pip._internal.build_envR	   t   pip._internal.exceptionsR
   t   pip._internal.locationsR   t   pip._internal.models.linkR   t'   pip._internal.operations.build.metadataR   t.   pip._internal.operations.build.metadata_legacyR   t0   pip._internal.operations.install.editable_legacyR   R#  t'   pip._internal.operations.install.legacyR   R$  t&   pip._internal.operations.install.wheelR   t   pip._internal.pyprojectR   R   t   pip._internal.req.req_uninstallR   t   pip._internal.utils.deprecationR   t   pip._internal.utils.hashesR   t   pip._internal.utils.loggingR   t    pip._internal.utils.marker_filesR   R   R   t   pip._internal.utils.miscR   R   R   R   R   R   R    R!   R"   t   pip._internal.utils.packagingR#   t   pip._internal.utils.temp_dirR$   t   pip._internal.utils.typingR%   t   pip._internal.utils.virtualenvR&   t   pip._internal.vcsR'   t   typingR(   R)   R*   R+   R,   R-   R.   R/   t   pip._internal.cacheR0   t"   pip._internal.index.package_finderR1   t   pip._vendor.pkg_resourcesR2   t    pip._vendor.packaging.specifiersR3   t   pip._vendor.packaging.markersR4   t	   getLoggerRx   R   RG   t   objectRH   (    (    (    s:   /tmp/pip-build-eiI0Wo/pip/pip/_internal/req/req_install.pyt   <module>   sX   @4	