Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-37.pyc
Назад
B �5�g�_ � @ s� 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)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�Z/ee* ee* d�dd�Z0ee* eee* ee* f d�dd�Z1G dd� d�Z2G d d!� d!�Z3G d"d#� d#�Z4dS )$� 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 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# �@/tmp/pip-install-251nq386/pip/pip/_internal/req/req_uninstall.py� _script_names s r% .)�fnr c s. t �� �ttttd d f d�� fdd��}|S )N)�args�kwr c ? s6 t � }x*� | |�D ]}||kr|�|� |V qW d S )N)�set�add)r'