관리-도구
편집 파일: debug.cpython-36.pyc
3 �Re� � @ sN d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z d dlmZ d dl mZ d dlmZ d dlmZ d d lmZ d d lmZ d dlmZ d dlmZ er�d d lmZ d dlmZmZm Z d dl!m"Z" d dl#m$Z$ ej%e&�Z'dd� Z(dd� Z)dd� Z*dd� Z+dd� Z,dd� Z-dd� Z.dd � Z/d!d"� Z0G d#d$� d$e�Z1dS )%� )�absolute_importN)� pkg_resources)�where)�__file__)� cmdoptions)�Command)�make_target_python)�SUCCESS)� indent_log)�get_pip_version)�MYPY_CHECK_RUNNING)� ModuleType)�List�Optional�Dict)�Values)� Configurationc C s t jd| |� d S )Nz%s: %s)�logger�info)�name�value� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/debug.py� show_value s r c C sF t jd� ttd�r"tj} | j}nd}t� � td|� W d Q R X d S )Nzsys.implementation:�implementation� r )r r �hasattr�sysr r r r )r �implementation_namer r r �show_sys_implementation# s r c C sP t jjt jjt�dd�} t| ��}dd� |j� D �}W d Q R X tdd� |D ��S )N�_vendorz vendor.txtc S s( g | ] }d |kr|j � jdd�d �qS )z==� � r )�strip�split)�.0�liner r r � <listcomp>; s z)create_vendor_txt_map.<locals>.<listcomp>c s s | ]}|j d d�V qdS )z==r"