|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/alt-old/python27/lib/python2.7/site-packages/pip/_internal/models/ |
Upload File : |
�
x�_c @ 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( i����N( 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( ( sR /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/models/search_scope.pyt create s"