관리-도구
편집 파일: req_uninstall.cpython-36.pyc
3 �Re�\ � @ s| d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlm Z d dl mZ d dlm Z mZ d dlmZmZmZ d dlmZ d dlmZmZmZmZmZmZmZmZmZ d d lm Z m!Z! d d l"m#Z# e#�r d dl$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z- d dl.m/Z/ ej0e1�Z2d d� Z3dd� Z4e4dd� �Z5dd� Z6dd� Z7dd� Z8G dd� de9�Z:G dd� de9�Z;G dd� de9�Z<dS )� )�absolute_importN)� pkg_resources)�UninstallationError)�bin_py�bin_user)�WINDOWS�cache_from_source�uses_pycache)� indent_log) �FakeFile�ask�dist_in_usersite� dist_is_local� egg_link_path�is_local�normalize_path�renames�rmtree)�AdjacentTempDirectory� TempDirectory)�MYPY_CHECK_RUNNING) �Any�Callable�Dict�Iterable�Iterator�List�Optional�Set�Tuple)�Distributionc C sl t | �rt}nt}tjj||�}|g}trh|j|d � |j|d � |rZ|j|d � n|j|d � |S )z�Create the fully qualified name of the files created by {console,gui}_scripts for the given ``dist``. Returns the list of file names z.exez .exe.manifestz-script.pywz -script.py)r r r �os�path�joinr �append)�dist�script_name�is_gui�bin_dir�exe_name�paths_to_remove� r+ ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_uninstall.py� _script_names'