← Back
Editing: req_uninstall.cpython-311.pyc
� �/�c�] � � � 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(de)d e)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�Z/dee) deee) ee) f fd�Z0 G d� d� � Z1 G d� d� � Z2 G 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 # � K � t j � | |� � }|V � t sdS |� d�V � |� d�V � |r |� d�V � dS |� 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_names �A/usr/lib/python3/dist-packages/pip/_internal/req/req_uninstall.py� _script_namesr&