<!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>
B
     f                 @   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gZd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version	bootstrap)
setuptoolspipz&/opt/alt/python37/share/python-wheels/c             C   s   t jtd| }i t| < xVdD ]N}d||}x<t|D ].}|t|t|  }t j|t|  |< q>W q"W 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/python37/lib64/python3.7/ensurepip/__init__.py_get_most_recent_wheel_version   s    
r   r   r   Zpy3c          
   C   s   |d k	r|t j t _t jd d  }| t jdd < z>ytjdddd W n$ tk
rj } z|jS d }~X Y nX W d |t jd d < X tdd S )N   r   __main__T)Zrun_nameZ	alter_sysz*pip did not exit, this should never happen)sysr   argvrunpyZ
run_module
SystemExitcodeSystemError)argsadditional_pathsZbackup_argvexcr   r   r   _run_pip$   s    r$   c               C   s   t S )N)_PIP_VERSIONr   r   r   r   r   7   s    c              C   s6   dd t jD } x| D ]}t j|= qW t jt jd< d S )Nc             S   s   g | ]}| d r|qS )ZPIP_)
startswith).0kr   r   r   
<listcomp>A   s    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 )N)r-   r.   r/   r0   r1   r2   )
_bootstrap)r-   r.   r/   r0   r1   r2   r   r   r   r   I   s    
c             C   s8  |r|rt dt  |r&dtjd< n|s4dtjd< t }g }xtD ]x\}}	}
t| |	 }ttj	
t|d4}ttj	
||d}||  W d Q R X W d Q R X |tj	
|| qHW dddd	|g}| r|d
| g7 }|r|dg7 }|r|dg7 }|r|dd|  g7 }t|dd tD  |S Q R X d S )Nz.Cannot use altinstall and default_pip togetherr0   ZENSUREPIP_OPTIONSinstallrbwbz--no-cache-dirz
--no-indexz--find-linksz--rootz	--upgradez--user-vc             S   s   g | ]}|d  qS )r   r   )r'   pr   r   r   r)      s    z_bootstrap.<locals>.<listcomp>)
ValueErrorr,   r   r*   tempfileZTemporaryDirectory	_PROJECTSr   openr   r	   r
   writereadappendr$   )r-   r.   r/   r0   r1   r2   Ztmpdirr"   Zprojectr   Zpy_tagZ
wheel_nameZsfpfpr!   r   r   r   r3   X   s2    	

"

r3   )r2   c             C   s   ydd l }W n tk
r    d S X |jtkrLd}t||jttjd d S t  dddg}| rr|dd|   g7 }t	|d	d
 t
tD  S )Nr   zOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled))fileZ	uninstallz-yz--disable-pip-version-checkr7   r8   c             S   s   g | ]}|d  qS )r   r   )r'   r9   r   r   r   r)      s    z%_uninstall_helper.<locals>.<listcomp>)r   ImportError__version__r%   printr   r   stderrr,   r$   reversedr<   )r2   r   msgr!   r   r   r   _uninstall_helper   s    

rI   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countr2   zDGive more output. Option is additive, and can be used up to 3 times.)rK   defaultdestrL   z-Uz	--upgrade
store_trueFz8Upgrade pip and dependencies, even if already installed.)rK   rN   rL   z--userzInstall using the user scheme.z--rootz=Install everything relative to this alternate root directory.)rN   rL   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.)r-   r.   r/   r2   r0   r1   )argparseArgumentParseradd_argumentr   r   
parse_argsr3   r-   r.   r/   r2   r0   r1   )r   rQ   parserr!   r   r   r   _main   sZ    

rV   )N)N)Zdistutils.versionr   r   r   Zos.pathr   r   r;   __all__Z_PACKAGE_NAMESr
   r   r   Z_SETUPTOOLS_VERSIONr%   r<   r$   r   r,   r   r3   rI   rV   r   r   r   r   <module>   s4   
2