관리-도구
편집 파일: req_uninstall.cpython-38.pyc
U &?�f-] � @ s� d dl Z d dlZd dlZd dlZd dlmZ d dlmZmZm Z m Z mZmZm Z mZmZ d dlmZmZ d dlmZmZ d dlmZ d dlmZ d dlmZ d d lmZmZ d d lm Z m!Z!m"Z"m#Z# d dl$m%Z%m&Z& d dl'm(Z( ee)�Z*e+e+e,e e+ddf d �dd�Z-ede eddf f ede eddf f d�dd�Z.e.ee e+ddf d�dd��Z/ee+ ee+ d�dd�Z0ee+ ee+ d�dd�Z1ee+ eee+ ee+ f d�dd�Z2G dd� d�Z3G d d!� d!�Z4G d"d#� d#�Z5dS )$� N)�cache_from_source) �Any�Callable�Dict� Generator�Iterable�List�Optional�Set�Tuple)�LegacyDistutilsInstall�UninstallMissingRecord)�get_bin_prefix�get_bin_user)�BaseDistribution)�WINDOWS)�egg_link_path_from_location)� getLogger� indent_log)�ask�normalize_path�renames�rmtree)�AdjacentTempDirectory� TempDirectory)�running_under_virtualenv)�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$ �M/opt/hc_python/lib/python3.8/site-packages/pip/_internal/req/req_uninstall.py� _script_names s r&