£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>

Rec           @   s   d  d l  Z  d  d l Z d  d l Z d  d l 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 e r d  d l m Z n  e j e  Z d	 e f d
     YZ d S(   iN(   t   canonicalize_name(   t   parse(   t   PyPI(   t   has_tls(   t   normalize_patht   redact_auth_from_url(   t   MYPY_CHECK_RUNNING(   t   Listt   SearchScopec           B   sD   e  Z d  Z d d g Z e d    Z d   Z d   Z d   Z RS(   sF   
    Encapsulates the locations that pip is configured to search.
    t
   find_linkst
   index_urlsc         C   s   g  } xT | D]L } | j  d  rL t |  } t j j |  rL | } qL n  | j |  q Wt   s xL t j | |  D]5 } t	 j
 |  } | j d k ry t j d  Pqy qy Wn  |  d | d |  S(   sQ   
        Create a SearchScope object after normalizing the `find_links`.
        t   ~t   httpssi   pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.R	   R
   (   t
   startswithR   t   ost   patht   existst   appendR   t	   itertoolst   chaint   urllib_parset   urlparset   schemet   loggert   warning(   t   clsR	   R
   t   built_find_linkst   linkt   new_linkt   parsed(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pyt   create   s"    	c         C   s   | |  _  | |  _ d  S(   N(   R	   R
   (   t   selfR	   R
   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pyt   __init__F   s    	c         C   s   g  } g  } |  j  r |  j  t j g k r x` |  j  D]U } t |  } t j |  } | j r| | j r| t j	 d |  n  | j
 |  q4 W| j
 d j d j |    n  |  j r | j
 d j d j d   |  j D    n  d j |  S(   Ns:   The index url "%s" seems invalid, please provide a scheme.s   Looking in indexes: {}s   , s   Looking in links: {}c         s   s   |  ] } t  |  Vq d  S(   N(   R   (   t   .0t   url(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pys	   <genexpr>m   s    s   
(   R
   R   t
   simple_urlR   R   t   urlsplitR   t   netlocR   R   R   t   formatt   joinR	   (   R   t   linest   redacted_index_urlsR"   t   redacted_index_urlt   purl(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pyt   get_formatted_locationsO   s$    
	c            s/     f d   } g  |  j  D] } | |  ^ q S(   s   Returns the locations found via self.index_urls

        Checks the url_name on the main (first in the list) index and
        use this url_name to produce all locations
        c            sA   t  j |  t j t      } | j d  s= | d } n  | S(   Nt   /(   t	   posixpathR'   R   t   quoteR    t   endswith(   R"   t   loc(   t   project_name(    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pyt   mkurl_pypi_urly   s    (   R
   (   R   R2   R3   R"   (    (   R2   s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pyt   get_index_urls_locationsq   s    (	   t   __name__t
   __module__t   __doc__t	   __slots__t   classmethodR   R    R,   R4   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pyR      s   )			"(   R   t   loggingR   R.   t   pip._vendor.packaging.utilsR    t   pip._vendor.six.moves.urllibR   R   t   pip._internal.models.indexR   t   pip._internal.utils.compatR   t   pip._internal.utils.miscR   R   t   pip._internal.utils.typingR   t   typingR   t	   getLoggerR5   R   t   objectR   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pyt   <module>   s   