м2 d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZm Z m
Z
mZmZm
Z
mZmZmZ d dlmZ d dlmZ d dlmZ d dlmZmZ d dlmZ d d lmZ d d
lmZm Z d dl!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z( d dl)m*Z*m+Z+ ee, Z-d
ede.de/de
e. fdZ0de dee f de dee f fdZ1e1d
edee. fd Z2dee. dee. fdZ3dee. dee. fdZ4dee. deee. ee. f fdZ5 G d d Z6 G d d Z7 G d d Z8dS ) N)cache_from_source) AnyCallableDictIterableIteratorListOptionalSetTuple)
pkg_resources)Distribution)UninstallationError)get_bin_prefixget_bin_user)WINDOWS)egg_link_path_from_location) getLogger
indent_log)askdist_in_usersite
dist_is_localis_localnormalize_pathrenamesrmtree)AdjacentTempDirectory
TempDirectorydistscript_nameis_guireturnc x t | rt }nt }t j || }|g}t rc| |dz | |dz |r| |dz n| |dz |S )zCreate 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 ospathjoinr append)r r r! bin_direxe_namepaths_to_removes /builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el9.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/req/req_uninstall.py
_script_namesr, s
#.. ""w||G[11HjO <x&0111x/9::: <""8m#;<<<<""8l#:;;; fn.c t j dt dt dt t f fd }|S )Nargskwr" c ? x K t } | i |D ]}||vr| | |V d S N)setadd)r0 r1 seenitemr. s r+ uniquez_unique.