관리-도구
편집 파일: self_outdated_check.cpython-38.pyc
U ��.e� � @ s^ d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dl m Z d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d d lmZ d d lmZ d dlmZmZmZ d dlmZm Z m!Z! d d l"m#Z# d dl$m%Z% e%�rd dl&Z&d dl&m'Z' d dl(m)Z)m*Z*m+Z+m,Z, d dl-m.Z. dZ/e�0e1�Z2ddd�Z3dd� Z4G dd� de5�Z6dd� Z7dd� Z8dS )� )�absolute_importN)� pkg_resources)�version)� ensure_binary)� LinkCollector)� PackageFinder)�SearchScope)�SelectionPreferences)�WINDOWS)�adjacent_tmp_file�check_path_owner�replace)� ensure_dir�get_installed_version�redact_auth_from_url)� get_installer)�MYPY_CHECK_RUNNING)�Values)�Any�Dict�Text�Union)� PipSessionz%Y-%m-%dT%H:%M:%SZFc C s` |j g|j }|jr8|s8t�dd�dd� |D ��� g }|jp@g }tj||d�}t | |d�}|S )z� :param session: The Session to use to make requests. :param suppress_no_index: Whether to ignore the --no-index option when constructing the SearchScope object. zIgnoring indexes: %s�,c s s | ]}t |�V qd S �N)r )�.0Zurl� r �E/usr/lib/python3.8/site-packages/pip/_internal/self_outdated_check.py� <genexpr>@ s z&make_link_collector.<locals>.<genexpr>)� find_links� index_urls)�session�search_scope) Z index_urlZextra_index_urlsZno_index�logger�debug�joinr r �creater )r! �options�suppress_no_indexr r r"