관리-도구
편집 파일: req_uninstall.cpython-38.pyc
U ʗRe�] � @ s� d dl Z d dlZd dlZd dlZd dlmZ d dlmZmZm Z m Z mZmZm Z mZmZ d dlmZ d dlmZmZ d dlmZ d dlmZ d dlmZ d d lmZmZ d d lmZm Z m!Z!m"Z"m#Z# d dl$m%Z%m&Z& ee'�Z(e)e)e*e e)ddf d�d d�Z+ede eddf f ede eddf f d�dd�Z,e,ee e)ddf d�dd��Z-ee) ee) d�dd�Z.ee) ee) d�dd�Z/ee) eee) ee) f d�dd�Z0G dd� d�Z1G dd � d �Z2G d!d"� d"�Z3dS )#� N)�cache_from_source) �Any�Callable�Dict� Generator�Iterable�List�Optional�Set�Tuple)�UninstallationError)�get_bin_prefix�get_bin_user)�BaseDistribution)�WINDOWS)�egg_link_path_from_location)� getLogger� indent_log)�ask�is_local�normalize_path�renames�rmtree)�AdjacentTempDirectory� TempDirectory)�bin_dir�script_name�is_gui�returnc c sV t j�| |�}|V tsdS |� d�V |� d�V |rF|� d�V n|� d�V dS )z�Create the fully qualified name of the files created by {console,gui}_scripts for the given ``dist``. Returns the list of file names Nz.exez .exe.manifestz-script.pywz -script.py)�os�path�joinr )r r r �exe_name� r# ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/req/req_uninstall.py� _script_names s r% .)�fnr c s. t �� �ttttd d f d�� fdd��}|S )N)�args�kwr c ? s2 t � }� | |�D ]}||kr|�|� |V qd S �N)�set�add)r'