관리-도구
편집 파일: req_uninstall.cpython-312.pyc
� G��ed` � � � 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" d dl#m$Z$m%Z% d dl&m'Z' ee(� Z)d e*de*de+de e*ddf fd�Z,dede eddf f dede eddf f fd�Z-e-dede e*ddf fd�� Z.dee* dee* fd�Z/dee* dee* fd�Z0dee* deee* ee* f fd�Z1 G d� d� Z2 G d� d� Z3 G d� d � Z4y)!� 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�normalize_path�renames�rmtree)�AdjacentTempDirectory� TempDirectory)�running_under_virtualenv�bin_dir�script_name�is_gui�returnc # � K � t j j | |� }|�� t sy|� d��� |� d��� |r|� d��� y|� d��� y�w)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_names ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/req/req_uninstall.py� _script_namesr&