File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-310.pyc
Back
o ;j#^ � @ sV d dl mZ d dlZd dlZd dlZd dlZd dlmZmZ d dl m Z d dlmZm Z d dlmZmZ d dlmZmZ d dlmZ d d lmZ d d lmZ d dlmZmZ d dlmZmZm Z m!Z! d d l"m#Z#m$Z$ d dl%m&Z& ee'�Z(d0dd�Z)d1dd�Z*e*d2dd��Z+d3d#d$�Z,d3d%d&�Z-d4d(d)�Z.G d*d+� d+�Z/G d,d-� d-�Z0G d.d/� d/�Z1dS )5� )�annotationsN)� Generator�Iterable)�cache_from_source)�Any�Callable)�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�str�script_name�is_gui�bool�return�Generator[str, None, None]c c sZ � t j�| |�}|V tsdS |� 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 Zexe_name� r"