📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
pip
›
_internal
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/pip/_internal/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: search_scope.cpython-39.pyc
a �lj� � @ s� d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlm Z d dl mZ d dlm Z d dlmZmZ e�e�ZG dd� d�ZdS ) � N)�List)�canonicalize_name)�PyPI)�has_tls)�normalize_path�redact_auth_from_urlc @ sr e Zd ZdZddgZeee ee d d�dd��Zee ee dd�dd �Z ed �dd�Z eee d �dd�ZdS )�SearchScopezF Encapsulates the locations that pip is configured to search. � find_links� index_urls)r r �returnc C s� g }|D ]0}|� d�r.t|�}tj�|�r.|}|�|� qt� svt�||�D ](}t j �|�}|jdkrLt �d� qvqL| ||d�S )zQ Create a SearchScope object after normalizing the `find_links`. �~�httpszipip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.�r r )� startswithr �os�path�exists�appendr � itertools�chain�urllib�parse�urlparse�scheme�logger�warning)�clsr r Zbuilt_find_links�linkZnew_link�parsed� r �E/usr/lib/python3.9/site-packages/pip/_internal/models/search_scope.py�create s&