<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
a
    Shd                     @   s   d dl Zd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl	m
Z
 ddgZdZi Zdd ZedZed	Zded
fd	ed
fgZdddZdd Zdd Zdddddd dddZdddddd dddZd dddZdddZdS )    N)	resourcesversion	bootstrapz&/opt/alt/python39/share/python-wheels/c                 C   s   t jtd| }i t| < dD ]J}d||}t|D ].}|t|t|  }t j|t|  |< q:q t	t
t|  tjjdS )Nz{}-)z-py2.py3-none-any.whlz-py3-none-any.whlz{}*{})key)ospathjoin
_WHEEL_DIRformat_wheelsgloblenbasenamestrmax	distutilsr   ZLooseVersion)Zpkgprefixsuffixpatternr   Zversion_str r   7/opt/alt/python39/lib64/python3.9/ensurepip/__init__.py_get_most_recent_wheel_version   s    r   Z
setuptoolspipZpy3c                 C   sF   d|pg  d|  d}t jd|g}t jjr6|dd tj|ddjS )	Nz$
import runpy
import sys
sys.path = z + sys.path
sys.argv[1:] = z>
runpy.run_module("pip", run_name="__main__", alter_sys=True)
z-c   z-IT)Zcheck)sys
executableflagsisolatedinsert
subprocessrun
returncode)argsadditional_pathscodecmdr   r   r   _run_pip%   s    r&   c                   C   s   t S )N)_PIP_VERSIONr   r   r   r   r   9   s    c                  C   s2   dd t jD } | D ]}t j|= qt jt jd< d S )Nc                 S   s   g | ]}| d r|qS )ZPIP_)
startswith).0kr   r   r   
<listcomp>C       z7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)r   environdevnull)Zkeys_to_remover*   r   r   r   #_disable_pip_configuration_settings?   s    
r/   Frootupgradeuser
altinstalldefault_pip	verbosityc                 C   s   t | |||||d d S )Nr0   )
_bootstrapr0   r   r   r   r   K   s    
c                 C   s  |r|rt dtd|  t  |r2dtjd< n|s@dtjd< t *}g }tD ]\}}	}
t	| |	 }t
tjt|dR}t
tj||d}||  W d    n1 s0    Y  W d    n1 s0    Y  |tj|| qTddd	d
|g}| r|d| g7 }|r&|dg7 }|r6|dg7 }|rN|dd|  g7 }t|dd tD  |W  d    S 1 s|0    Y  d S )Nz.Cannot use altinstall and default_pip togetherzensurepip.bootstrapr4   ZENSUREPIP_OPTIONSZinstallrbwbz--no-cache-dirz
--no-indexz--find-links--root	--upgrade--user-vc                 S   s   g | ]}|d  qS r   r   r)   pr   r   r   r+      r,   z_bootstrap.<locals>.<listcomp>)
ValueErrorr   auditr/   r   r-   tempfileZTemporaryDirectory	_PROJECTSr   openr   r   r	   writereadappendr&   )r1   r2   r3   r4   r5   r6   Ztmpdirr#   Zprojectr   Zpy_tagZ
wheel_nameZsfpfpr"   r   r   r   r7   Z   s4    	
J

r7   )r6   c                 C   s   zdd l }W n ty    Y d S 0 |jtkrLd}t||jttjd d S t  g d}| rp|dd|   g7 }t	|dd t
tD  S )	Nr   zOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled))file)Z	uninstallz-yz--disable-pip-version-checkr=   r>   c                 S   s   g | ]}|d  qS r?   r   r@   r   r   r   r+      r,   z%_uninstall_helper.<locals>.<listcomp>)r   ImportError__version__r'   printr
   r   stderrr/   r&   reversedrE   )r6   r   msgr"   r   r   r   _uninstall_helper   s    
rR   c                 C   s   dd l }|jdd}|jdddt dd |jd	d
ddddd |jdddddd |jddddd |jdd dd |jddddd |jddddd || }t|j|j|j	|j
|j|jdS )Nr   zpython -m ensurepip)progz	--versionr   zpip {}z9Show the version of pip that is bundled with this Python.)actionr   helpz-vz	--verbosecountr6   zDGive more output. Option is additive, and can be used up to 3 times.)rT   defaultdestrU   z-Ur;   
store_trueFz8Upgrade pip and dependencies, even if already installed.)rT   rW   rU   r<   zInstall using the user scheme.r:   z=Install everything relative to this alternate root directory.)rW   rU   z--altinstallzoMake an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y, easy_install-X.Y).z--default-pipzqMake a default pip install, installing the unqualified pip and easy_install in addition to the versioned scripts.)r1   r2   r3   r6   r4   r5   )argparseArgumentParseradd_argumentr
   r   
parse_argsr7   r1   r2   r3   r6   r4   r5   )argvrZ   parserr"   r   r   r   _main   sj    

r`   )N)N)Zdistutils.versionr   r   r   Zos.pathr   ZrunpyrD   r   	importlibr   __all__r	   r   r   Z_SETUPTOOLS_VERSIONr'   rE   r&   r   r/   r   r7   rR   r`   r   r   r   r   <module>   s<   

6