�ɲɾ�����ӯ�����һ��ˣ��������С���˴��ͣ�������P���ҹ��ñ˽��ά�Բ��������˸߸ԣ�������ơ��ҹ��ñ�����ά�Բ���ˡ���˳^�ӣ������ӡ� ���ͯj�ӣ��ƺ���ӣ� ? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!PK1]sXX __main__.pynu[import ensurepip import sys if __name__ == "__main__": sys.exit(ensurepip._main()) PK1][GG*__pycache__/__main__.cpython-312.opt-2.pycnu[ {|jXbddlZddlZedk(r"ejejyy)N__main__) ensurepipsys__name__exit_main+/usr/lib64/python3.12/ensurepip/__main__.pyr s/  z CHH_Y__ r PK1]k%%$__pycache__/__init__.cpython-312.pycnu[ {|j$ddlZddlZddlZddlZddlZddlZddlZddlmZddgZ dZ dZ de dfgZ ejd d Zejd ad Zd ZdaddZdZdZddddddddZddddddddZdddZddZy)N) resourcesversion bootstrap)pipz25.0.1rpy3Package)r wheel_name wheel_path WHEEL_PKG_DIRci} tj|}t|}|D]}|j dst D]}|dz}|j |sn9|j|jdd}tjj||}t|d|||<|S#t$rd}YwxYw)Nz.whl-r) oslistdirOSErrorsortedendswith_PACKAGE_NAMES startswith removeprefix partitionpathjoin_Package)rpackages filenamesfilenamenameprefixrr s +/usr/lib64/python3.12/ensurepip/__init__.py_find_packagesr!sHJJt$ y!I  ( "DCZF""6*# ''/99#>qAWW\\$1 !'4< O-  sB66 CCcttSi}tD]!\}}}|d|d|d}t||d||<#tr)t tt fdt Dr}|a|S)Nrz -none-any.whlc3&K|]}|v ywNr ).0r dir_packagess r z _get_packages..Gs?t|#s) _PACKAGES _PROJECTSr_WHEEL_PKG_DIRr!allr)rrrpy_tagr r&s @r _get_packagesr-;s{H!*gvvQwiq > !':t<"+%n5 ?? ?#HI Ocd|xsgd|d}tjddd|g}tjjr|j ddt j |d jS) 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-Wzignore::DeprecationWarningz-cz-IT)check)sys executableflagsisolatedinsert subprocessrun returncode)argsadditional_pathscodecmds r _run_pipr>Nsz    " #$v  D  $   C yy 1d >>#T * 5 55r.c0tdjS)zA Returns a string specifying the bundled version of pip. r)r-rr r.r rrhs ?5 ! ) ))r.ctjDcgc]}|jds|}}|D]}tj|=tjtjd<ycc}w)NPIP_PIP_CONFIG_FILE)renvironrdevnull)kkeys_to_removes r #_disable_pip_configuration_settingsrGosW"$DAq||F/CaND  JJqM%'JJBJJ ! Es A*A*Frootupgradeuser altinstall default_pip verbosityc&t||||||y)z Bootstrap pip into the current Python installation (or the given root directory). Note that calling this function will alter both sys.path and os.environ. rHN) _bootstraprHs r rr{sD'$+"$r.c|r |r tdtjd|t|rdtj d<n|sdtj d<t j5}g}tjD]\}} | jr8| j} tjddz | z } | j} nXt| jd5} | j!} d d d tj"j%| j} tj"j'|| }t|d 5} | j) d d d |j+|dd d d |g}|r|d|gz }|r|dgz }|r|dgz }|r |dd|zzgz }t-g|t.|cd d d S#1swYxYw#1swYsxYw#1swYy xYw)z Bootstrap pip into the current Python installation (or the given root directory). Returns pip command status code. Note that calling this function will alter both sys.path and os.environ. z.Cannot use altinstall and default_pip togetherzensurepip.bootstraprLENSUREPIP_OPTIONSinstall ensurepip_bundledrbNwbz--no-cache-dirz --no-indexz --find-links--root --upgrade--userrv) ValueErrorr2auditrGrrCtempfileTemporaryDirectoryr-itemsr rfiles read_bytesopenr readrbasenamerwriteappendr>r)rIrJrKrLrMrNtmpdirr;rpackager r whlfprr:s r rPrPskIJJII#T*')*6 &' *3 &'  $ $ &&*_224MD'!!$// &__[9JFS  ++-',,d3r'')C4WW--g.@.@A ww||FJ7Hh% &  # #H -!5&+\>6R  Xt$ $D  [M !D  XJ D  S3?*+ +D0$002BCC ' &43 &%# ' &s?/A;G(*G;AG(G*AG(G G(G% !G((G1)rNc& ddl}t}|j|k7r-t d|jd|dt j ytgd}|r |dd |zzgz }tg|ttS#t$rYywxYw) z~Helper to support a clean default uninstall process on Windows Note that calling this function may alter os.environ. rNz2ensurepip will only uninstall a matching version (z installed, z available))file) uninstallz-yz--disable-pip-version-checkrr[) r ImportErrorr __version__printr2stderrrGr>reversedr)rNravailable_versionr:s r _uninstall_helperrus    ++ //$L"%[2::  ') >D sY&'' 6d6Xn56 77) sB BBcBddl}|jd}|jdddjt d|jd d d dd d |jddddd|jdddd|jddd|jdddd|jdddd|j |}t |j|j|j|j|j|jS)Nrzpython -m ensurepip)progz --versionrzpip {}z9Show the version of pip that is bundled with this Python.)actionrhelpz-vz --verbosecountrNzDGive more output. Option is additive, and can be used up to 3 times.)rxdefaultdestryz-UrY store_trueFz8Upgrade pip and dependencies, even if already installed.)rxr{ryrZzInstall using the user scheme.rXz=Install everything relative to this alternate root directory.)r{ryz --altinstallz]Make an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y).z --default-pipz`Make a default pip install, installing the unqualified pip in addition to the versioned scripts.)rIrJrKrNrLrM) argparseArgumentParser add_argumentformatr parse_argsrPrIrJrKrNrLrM)argvr~parserr:s r _mainrs^  $ $*? $ @F  * H    k    k G    -    L  1  6    T "D  YY YY..??$$  r.r$) collectionsros.pathr7r2 sysconfigr^ importlibr__all__r _PIP_VERSIONr) namedtuplerget_config_varr*r!r-r(r>rrGrrPrurr r.r rs   k "  L%   "; ! !)"I K*))/::  64* /EE $UE>D@$%8>:r.PK1]<:V<<,__pycache__/_uninstall.cpython-312.opt-1.pycnu[ {|j(bdZddlZddlZddlZddZedk(rej eyy)zDBasic pip uninstallation support, helper for the Windows uninstallerNc*tjd}|jdddjt j d|jdd d d d d |j |}t j|jS)Nzpython -m ensurepip._uninstall)progz --versionversionzpip {}z7Show the version of pip this will attempt to uninstall.)actionrhelpz-vz --verbosecountr verbosityzDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestr)r ) argparseArgumentParser add_argumentformat ensurepipr parse_args_uninstall_helperr )argvparserargss -/usr/lib64/python3.12/ensurepip/_uninstall.py_mainrs  $ $*J KF  1 1 34 F    k     T "D  & & @@__main__)N)__doc__r rsysr__name__exitrrrs6J A, z CHHUWrPK1][GG*__pycache__/__main__.cpython-312.opt-1.pycnu[ {|jXbddlZddlZedk(r"ejejyy)N__main__) ensurepipsys__name__exit_main+/usr/lib64/python3.12/ensurepip/__main__.pyr s/  z CHH_Y__ r PK1]k%%*__pycache__/__init__.cpython-312.opt-1.pycnu[ {|j$ddlZddlZddlZddlZddlZddlZddlZddlmZddgZ dZ dZ de dfgZ ejd d Zejd ad Zd ZdaddZdZdZddddddddZddddddddZdddZddZy)N) resourcesversion bootstrap)pipz25.0.1rpy3Package)r wheel_name wheel_path WHEEL_PKG_DIRci} tj|}t|}|D]}|j dst D]}|dz}|j |sn9|j|jdd}tjj||}t|d|||<|S#t$rd}YwxYw)Nz.whl-r) oslistdirOSErrorsortedendswith_PACKAGE_NAMES startswith removeprefix partitionpathjoin_Package)rpackages filenamesfilenamenameprefixrr s +/usr/lib64/python3.12/ensurepip/__init__.py_find_packagesr!sHJJt$ y!I  ( "DCZF""6*# ''/99#>qAWW\\$1 !'4< O-  sB66 CCcttSi}tD]!\}}}|d|d|d}t||d||<#tr)t tt fdt Dr}|a|S)Nrz -none-any.whlc3&K|]}|v ywNr ).0r dir_packagess r z _get_packages..Gs?t|#s) _PACKAGES _PROJECTSr_WHEEL_PKG_DIRr!allr)rrrpy_tagr r&s @r _get_packagesr-;s{H!*gvvQwiq > !':t<"+%n5 ?? ?#HI Ocd|xsgd|d}tjddd|g}tjjr|j ddt j |d jS) 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-Wzignore::DeprecationWarningz-cz-IT)check)sys executableflagsisolatedinsert subprocessrun returncode)argsadditional_pathscodecmds r _run_pipr>Nsz    " #$v  D  $   C yy 1d >>#T * 5 55r.c0tdjS)zA Returns a string specifying the bundled version of pip. r)r-rr r.r rrhs ?5 ! ) ))r.ctjDcgc]}|jds|}}|D]}tj|=tjtjd<ycc}w)NPIP_PIP_CONFIG_FILE)renvironrdevnull)kkeys_to_removes r #_disable_pip_configuration_settingsrGosW"$DAq||F/CaND  JJqM%'JJBJJ ! Es A*A*Frootupgradeuser altinstall default_pip verbosityc&t||||||y)z Bootstrap pip into the current Python installation (or the given root directory). Note that calling this function will alter both sys.path and os.environ. rHN) _bootstraprHs r rr{sD'$+"$r.c|r |r tdtjd|t|rdtj d<n|sdtj d<t j5}g}tjD]\}} | jr8| j} tjddz | z } | j} nXt| jd5} | j!} d d d tj"j%| j} tj"j'|| }t|d 5} | j) d d d |j+|dd d d |g}|r|d|gz }|r|dgz }|r|dgz }|r |dd|zzgz }t-g|t.|cd d d S#1swYxYw#1swYsxYw#1swYy xYw)z Bootstrap pip into the current Python installation (or the given root directory). Returns pip command status code. Note that calling this function will alter both sys.path and os.environ. z.Cannot use altinstall and default_pip togetherzensurepip.bootstraprLENSUREPIP_OPTIONSinstall ensurepip_bundledrbNwbz--no-cache-dirz --no-indexz --find-links--root --upgrade--userrv) ValueErrorr2auditrGrrCtempfileTemporaryDirectoryr-itemsr rfiles read_bytesopenr readrbasenamerwriteappendr>r)rIrJrKrLrMrNtmpdirr;rpackager r whlfprr:s r rPrPskIJJII#T*')*6 &' *3 &'  $ $ &&*_224MD'!!$// &__[9JFS  ++-',,d3r'')C4WW--g.@.@A ww||FJ7Hh% &  # #H -!5&+\>6R  Xt$ $D  [M !D  XJ D  S3?*+ +D0$002BCC ' &43 &%# ' &s?/A;G(*G;AG(G*AG(G G(G% !G((G1)rNc& ddl}t}|j|k7r-t d|jd|dt j ytgd}|r |dd |zzgz }tg|ttS#t$rYywxYw) z~Helper to support a clean default uninstall process on Windows Note that calling this function may alter os.environ. rNz2ensurepip will only uninstall a matching version (z installed, z available))file) uninstallz-yz--disable-pip-version-checkrr[) r ImportErrorr __version__printr2stderrrGr>reversedr)rNravailable_versionr:s r _uninstall_helperrus    ++ //$L"%[2::  ') >D sY&'' 6d6Xn56 77) sB BBcBddl}|jd}|jdddjt d|jd d d dd d |jddddd|jdddd|jddd|jdddd|jdddd|j |}t |j|j|j|j|j|jS)Nrzpython -m ensurepip)progz --versionrzpip {}z9Show the version of pip that is bundled with this Python.)actionrhelpz-vz --verbosecountrNzDGive more output. Option is additive, and can be used up to 3 times.)rxdefaultdestryz-UrY store_trueFz8Upgrade pip and dependencies, even if already installed.)rxr{ryrZzInstall using the user scheme.rXz=Install everything relative to this alternate root directory.)r{ryz --altinstallz]Make an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y).z --default-pipz`Make a default pip install, installing the unqualified pip in addition to the versioned scripts.)rIrJrKrNrLrM) argparseArgumentParser add_argumentformatr parse_argsrPrIrJrKrNrLrM)argvr~parserr:s r _mainrs^  $ $*? $ @F  * H    k    k G    -    L  1  6    T "D  YY YY..??$$  r.r$) collectionsros.pathr7r2 sysconfigr^ importlibr__all__r _PIP_VERSIONr) namedtuplerget_config_varr*r!r-r(r>rrGrrPrurr r.r rs   k "  L%   "; ! !)"I K*))/::  64* /EE $UE>D@$%8>:r.PK1]""*__pycache__/__init__.cpython-312.opt-2.pycnu[ {|j$ddlZddlZddlZddlZddlZddlZddlZddlmZddgZ dZ dZ de dfgZ ejd d Zejd ad Zd ZdaddZdZdZddddddddZddddddddZdddZddZy)N) resourcesversion bootstrap)pipz25.0.1rpy3Package)r wheel_name wheel_path WHEEL_PKG_DIRci} tj|}t|}|D]}|j dst D]}|dz}|j |sn9|j|jdd}tjj||}t|d|||<|S#t$rd}YwxYw)Nz.whl-r) oslistdirOSErrorsortedendswith_PACKAGE_NAMES startswith removeprefix partitionpathjoin_Package)rpackages filenamesfilenamenameprefixrr s +/usr/lib64/python3.12/ensurepip/__init__.py_find_packagesr!sHJJt$ y!I  ( "DCZF""6*# ''/99#>qAWW\\$1 !'4< O-  sB66 CCcttSi}tD]!\}}}|d|d|d}t||d||<#tr)t tt fdt Dr}|a|S)Nrz -none-any.whlc3&K|]}|v ywNr ).0r dir_packagess r z _get_packages..Gs?t|#s) _PACKAGES _PROJECTSr_WHEEL_PKG_DIRr!allr)rrrpy_tagr r&s @r _get_packagesr-;s{H!*gvvQwiq > !':t<"+%n5 ?? ?#HI Ocd|xsgd|d}tjddd|g}tjjr|j ddt j |d jS) 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-Wzignore::DeprecationWarningz-cz-IT)check)sys executableflagsisolatedinsert subprocessrun returncode)argsadditional_pathscodecmds r _run_pipr>Nsz    " #$v  D  $   C yy 1d >>#T * 5 55r.c2 tdjS)Nr)r-rr r.r rrhs ?5 ! ) ))r.ctjDcgc]}|jds|}}|D]}tj|=tjtjd<ycc}w)NPIP_PIP_CONFIG_FILE)renvironrdevnull)kkeys_to_removes r #_disable_pip_configuration_settingsrGosW"$DAq||F/CaND  JJqM%'JJBJJ ! Es A*A*Frootupgradeuser altinstall default_pip verbosityc( t||||||y)NrH) _bootstraprHs r rr{sD'$+"$r.c |r |r tdtjd|t|rdtj d<n|sdtj d<t j5}g}tjD]\}} | jr8| j} tjddz | z } | j} nXt| jd5} | j!} dddtj"j%| j} tj"j'|| }t|d 5} | j) ddd|j+|dd d d |g}|r|d |gz }|r|dgz }|r|dgz }|r |dd|zzgz }t-g|t.|cdddS#1swYxYw#1swYsxYw#1swYyxYw)Nz.Cannot use altinstall and default_pip togetherzensurepip.bootstraprLENSUREPIP_OPTIONSinstall ensurepip_bundledrbwbz--no-cache-dirz --no-indexz --find-links--root --upgrade--userrv) ValueErrorr2auditrGrrCtempfileTemporaryDirectoryr-itemsr rfiles read_bytesopenr readrbasenamerwriteappendr>r)rIrJrKrLrMrNtmpdirr;rpackager r whlfprr:s r rPrPs kIJJII#T*')*6 &' *3 &'  $ $ &&*_224MD'!!$// &__[9JFS  ++-',,d3r'')C4WW--g.@.@A ww||FJ7Hh% &  # #H -!5&+\>6R  Xt$ $D  [M !D  XJ D  S3?*+ +D0$002BCC ' &43 &%# ' &s?0A;G)+Greversedr)rNravailable_versionr:s r _uninstall_helperrus    ++ //$L"%[2::  ') >D sY&'' 6d6Xn56 77) sB BBcBddl}|jd}|jdddjt d|jd d d dd d |jddddd|jdddd|jddd|jdddd|jdddd|j |}t |j|j|j|j|j|jS)Nrzpython -m ensurepip)progz --versionrzpip {}z9Show the version of pip that is bundled with this Python.)actionrhelpz-vz --verbosecountrNzDGive more output. Option is additive, and can be used up to 3 times.)rxdefaultdestryz-UrY store_trueFz8Upgrade pip and dependencies, even if already installed.)rxr{ryrZzInstall using the user scheme.rXz=Install everything relative to this alternate root directory.)r{ryz --altinstallz]Make an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y).z --default-pipz`Make a default pip install, installing the unqualified pip in addition to the versioned scripts.)rIrJrKrNrLrM) argparseArgumentParser add_argumentformatr parse_argsrPrIrJrKrNrLrM)argvr~parserr:s r _mainrs^  $ $*? $ @F  * H    k    k G    -    L  1  6    T "D  YY YY..??$$  r.r$) collectionsros.pathr7r2 sysconfigr^ importlibr__all__r _PIP_VERSIONr) namedtuplerget_config_varr*r!r-r(r>rrGrrPrurr r.r rs   k "  L%   "; ! !)"I K*))/::  64* /EE $UE>D@$%8>:r.PK1]C,__pycache__/_uninstall.cpython-312.opt-2.pycnu[ {|j(` ddlZddlZddlZddZedk(rej eyy)Nc*tjd}|jdddjt j d|jdd d d d d |j |}t j|jS)Nzpython -m ensurepip._uninstall)progz --versionversionzpip {}z7Show the version of pip this will attempt to uninstall.)actionrhelpz-vz --verbosecountr verbosityzDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestr)r ) argparseArgumentParser add_argumentformat ensurepipr parse_args_uninstall_helperr )argvparserargss -/usr/lib64/python3.12/ensurepip/_uninstall.py_mainrs  $ $*J KF  1 1 34 F    k     T "D  & & @@__main__)N)r rsysr__name__exitrrrs6J A, z CHHUWrPK1]<:V<<&__pycache__/_uninstall.cpython-312.pycnu[ {|j(bdZddlZddlZddlZddZedk(rej eyy)zDBasic pip uninstallation support, helper for the Windows uninstallerNc*tjd}|jdddjt j d|jdd d d d d |j |}t j|jS)Nzpython -m ensurepip._uninstall)progz --versionversionzpip {}z7Show the version of pip this will attempt to uninstall.)actionrhelpz-vz --verbosecountr verbosityzDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestr)r ) argparseArgumentParser add_argumentformat ensurepipr parse_args_uninstall_helperr )argvparserargss -/usr/lib64/python3.12/ensurepip/_uninstall.py_mainrs  $ $*J KF  1 1 34 F    k     T "D  & & @@__main__)N)__doc__r rsysr__name__exitrrrs6J A, z CHHUWrPK1][GG$__pycache__/__main__.cpython-312.pycnu[ {|jXbddlZddlZedk(r"ejejyy)N__main__) ensurepipsys__name__exit_main+/usr/lib64/python3.12/ensurepip/__main__.pyr s/  z CHH_Y__ r PK1]޷(( _uninstall.pynu["""Basic pip uninstallation support, helper for the Windows uninstaller""" import argparse import ensurepip import sys def _main(argv=None): parser = argparse.ArgumentParser(prog="python -m ensurepip._uninstall") parser.add_argument( "--version", action="version", version="pip {}".format(ensurepip.version()), help="Show the version of pip this will attempt to uninstall.", ) parser.add_argument( "-v", "--verbose", action="count", default=0, dest="verbosity", help=("Give more output. Option is additive, and can be used up to 3 " "times."), ) args = parser.parse_args(argv) return ensurepip._uninstall_helper(verbosity=args.verbosity) if __name__ == "__main__": sys.exit(_main()) PK1]ma&& __init__.pynu[import distutils.version import glob import collections import os import os.path import subprocess import sys import sysconfig import tempfile from importlib import resources __all__ = ["version", "bootstrap"] _PACKAGE_NAMES = ('setuptools', 'pip') # Packages bundled in ensurepip._bundled have wheel_name set. # Packages from WHEEL_PKG_DIR have wheel_path set. _Package = collections.namedtuple('Package', ('version', 'wheel_name', 'wheel_path')) # Directory of system wheel packages. Some Linux distribution packaging # policies recommend against bundling dependencies. For example, Fedora # installs wheel packages in the /usr/share/python-wheels/ directory and don't # install the ensurepip._bundled package. _WHEEL_PKG_DIR = "/opt/alt/python311/share/python-wheels/" _wheels = {} def _get_most_recent_wheel_version(pkg): prefix = os.path.join(_WHEEL_PKG_DIR, "{}-".format(pkg)) _wheels[pkg] = {} for suffix in "-py2.py3-none-any.whl", "-py3-none-any.whl": pattern = "{}*{}".format(prefix, suffix) for path in glob.glob(pattern): version_str = path[len(prefix):-len(suffix)] _wheels[pkg][version_str] = os.path.basename(path) return str(max(_wheels[pkg], key=distutils.version.LooseVersion)) _SETUPTOOLS_VERSION = _get_most_recent_wheel_version("setuptools") _PIP_VERSION = _get_most_recent_wheel_version("pip") _PROJECTS = [ ("setuptools", _SETUPTOOLS_VERSION, "py3"), ("pip", _PIP_VERSION, "py3"), ] def _find_packages(path): packages = {} try: filenames = os.listdir(path) except OSError: # Ignore: path doesn't exist or permission error filenames = () # Make the code deterministic if a directory contains multiple wheel files # of the same package, but don't attempt to implement correct version # comparison since this case should not happen. filenames = sorted(filenames) for filename in filenames: # filename is like 'pip-21.2.4-py3-none-any.whl' if not filename.endswith(".whl"): continue for name in _PACKAGE_NAMES: prefix = name + '-' if filename.startswith(prefix): break else: continue # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl' version = filename.removeprefix(prefix).partition('-')[0] wheel_path = os.path.join(path, filename) packages[name] = _Package(version, None, wheel_path) return packages def _get_packages(): global _PACKAGES, _WHEEL_PKG_DIR if _PACKAGES is not None: return _PACKAGES packages = {} for name, version, py_tag in _PROJECTS: wheel_name = _wheels[name][version] packages[name] = _Package(version, wheel_name, None) if _WHEEL_PKG_DIR: dir_packages = _find_packages(_WHEEL_PKG_DIR) # only used the wheel package directory if all packages are found there if all(name in dir_packages for name in _PACKAGE_NAMES): packages = dir_packages _PACKAGES = packages return packages _PACKAGES = None def _run_pip(args, additional_paths=None): # Run the bootstrapping in a subprocess to avoid leaking any state that happens # after pip has executed. Particularly, this avoids the case when pip holds onto # the files in *additional_paths*, preventing us to remove them at the end of the # invocation. code = f""" import runpy import sys sys.path = {additional_paths or []} + sys.path sys.argv[1:] = {args} runpy.run_module("pip", run_name="__main__", alter_sys=True) """ cmd = [ sys.executable, '-W', 'ignore::DeprecationWarning', '-c', code, ] if sys.flags.isolated: # run code in isolated mode if currently running isolated cmd.insert(1, '-I') return subprocess.run(cmd, check=True).returncode def version(): """ Returns a string specifying the bundled version of pip. """ return _get_packages()['pip'].version def _disable_pip_configuration_settings(): # We deliberately ignore all pip environment variables # when invoking pip # See http://bugs.python.org/issue19734 for details keys_to_remove = [k for k in os.environ if k.startswith("PIP_")] for k in keys_to_remove: del os.environ[k] # We also ignore the settings in the default pip configuration file # See http://bugs.python.org/issue20053 for details os.environ['PIP_CONFIG_FILE'] = os.devnull def bootstrap(*, root=None, upgrade=False, user=False, altinstall=False, default_pip=False, verbosity=0): """ Bootstrap pip into the current Python installation (or the given root directory). Note that calling this function will alter both sys.path and os.environ. """ # Discard the return value _bootstrap(root=root, upgrade=upgrade, user=user, altinstall=altinstall, default_pip=default_pip, verbosity=verbosity) def _bootstrap(*, root=None, upgrade=False, user=False, altinstall=False, default_pip=False, verbosity=0): """ Bootstrap pip into the current Python installation (or the given root directory). Returns pip command status code. Note that calling this function will alter both sys.path and os.environ. """ if altinstall and default_pip: raise ValueError("Cannot use altinstall and default_pip together") sys.audit("ensurepip.bootstrap", root) _disable_pip_configuration_settings() # By default, installing pip and setuptools installs all of the # following scripts (X.Y == running Python version): # # pip, pipX, pipX.Y, easy_install, easy_install-X.Y # # pip 1.5+ allows ensurepip to request that some of those be left out if altinstall: # omit pip, pipX and easy_install os.environ["ENSUREPIP_OPTIONS"] = "altinstall" elif not default_pip: # omit pip and easy_install os.environ["ENSUREPIP_OPTIONS"] = "install" with tempfile.TemporaryDirectory() as tmpdir: # Put our bundled wheels into a temporary directory and construct the # additional paths that need added to sys.path additional_paths = [] for project, version, py_tag in _PROJECTS: wheel_name = _wheels[project][version] filename_wheel = os.path.join(_WHEEL_PKG_DIR, wheel_name) filename_tmp = os.path.join(tmpdir, wheel_name) with open(filename_wheel, "rb") as sfp: with open(filename_tmp, "wb") as fp: fp.write(sfp.read()) additional_paths.append(filename_tmp) # Construct the arguments to be passed to the pip command args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir] if root: args += ["--root", root] if upgrade: args += ["--upgrade"] if user: args += ["--user"] if verbosity: args += ["-" + "v" * verbosity] return _run_pip([*args, *_PACKAGE_NAMES], additional_paths) def _uninstall_helper(*, verbosity=0): """Helper to support a clean default uninstall process on Windows Note that calling this function may alter os.environ. """ # Nothing to do if pip was never installed, or has been removed try: import pip except ImportError: return # If the installed pip version doesn't match the available one, # leave it alone available_version = version() if pip.__version__ != available_version: print(f"ensurepip will only uninstall a matching version " f"({pip.__version__!r} installed, " f"{available_version!r} available)", file=sys.stderr) return _disable_pip_configuration_settings() # Construct the arguments to be passed to the pip command args = ["uninstall", "-y", "--disable-pip-version-check"] if verbosity: args += ["-" + "v" * verbosity] return _run_pip([*args, *reversed(_PACKAGE_NAMES)]) def _main(argv=None): import argparse parser = argparse.ArgumentParser(prog="python -m ensurepip") parser.add_argument( "--version", action="version", version="pip {}".format(version()), help="Show the version of pip that is bundled with this Python.", ) parser.add_argument( "-v", "--verbose", action="count", default=0, dest="verbosity", help=("Give more output. Option is additive, and can be used up to 3 " "times."), ) parser.add_argument( "-U", "--upgrade", action="store_true", default=False, help="Upgrade pip and dependencies, even if already installed.", ) parser.add_argument( "--user", action="store_true", default=False, help="Install using the user scheme.", ) parser.add_argument( "--root", default=None, help="Install everything relative to this alternate root directory.", ) parser.add_argument( "--altinstall", action="store_true", default=False, help=("Make an alternate install, installing only the X.Y versioned " "scripts (Default: pipX, pipX.Y, easy_install-X.Y)."), ) parser.add_argument( "--default-pip", action="store_true", default=False, help=("Make a default pip install, installing the unqualified pip " "and easy_install in addition to the versioned scripts."), ) args = parser.parse_args(argv) return _bootstrap( root=args.root, upgrade=args.upgrade, user=args.user, verbosity=args.verbosity, altinstall=args.altinstall, default_pip=args.default_pip, ) PKN@2]7{   __main__.pycnu[ {fc@s>ddlZddlZedkr:ejejndS(iNt__main__(t ensurepiptsyst__name__texitt_main(((s*/usr/lib64/python2.7/ensurepip/__main__.pyts   PKN@2]>rUU __init__.pycnu[ {fc@s/ddlmZddlZddlZddlZddlZddlZddlZddl Z ddgZ dj ej dZ dZedZed Zdefd efgZdd Zd Zd Zdeeeedd ZdeeeeddZddZddZdS(i(tprint_functionNtversiont bootstraps/usr/share/python{}-wheels/icsttjjtdj|ddj}fdtj|D}tt|dtj j S(Ns{}-s-py2.py3-none-any.whls{}*{}c3s)|]}|tt !VqdS(N(tlen(t.0tp(tprefixtsuffix(s*/usr/lib64/python2.7/ensurepip/__init__.pys stkey( tostpathtjoint _WHEEL_DIRtformattglobtstrtmaxt distutilsRt LooseVersion(tpkgtpatterntversions((RRs*/usr/lib64/python2.7/ensurepip/__init__.pyt_get_most_recent_wheel_versions "t setuptoolstpipcCsa|dk r|tjt_nyddlm}Wn!tk rVddlm}nX||S(Ni(tmain(tNonetsysR t pip._internalRt ImportErrorR(targstadditional_pathsR((s*/usr/lib64/python2.7/ensurepip/__init__.pyt_run_pip$s  cCstS(sA Returns a string specifying the bundled version of pip. (t _PIP_VERSION(((s*/usr/lib64/python2.7/ensurepip/__init__.pyR3scCsZgtjD]}|jdr |^q }x|D]}tj|=q2Wtjtjds2                 5 PKN@2]lbb_uninstall.pyonu[ {fc@sYdZddlZddlZddlZddZedkrUejendS(sDBasic pip uninstallation support, helper for the Windows uninstalleriNc Cstjdd}|jdddddjtjdd|jd d dd d d dddd|j|}tjd|jS(Ntprogspython -m ensurepip._uninstalls --versiontactiontversionspip {}thelps7Show the version of pip this will attempt to uninstall.s-vs --verbosetcounttdefaultitdestt verbositysDGive more output. Option is additive, and can be used up to 3 times.( targparsetArgumentParsert add_argumenttformatt ensurepipRt parse_argst_uninstall_helperR(targvtparsertargs((s,/usr/lib64/python2.7/ensurepip/_uninstall.pyt_mains t__main__(t__doc__RR tsystNoneRt__name__texit(((s,/usr/lib64/python2.7/ensurepip/_uninstall.pyts      PKN@2]lbb_uninstall.pycnu[ {fc@sYdZddlZddlZddlZddZedkrUejendS(sDBasic pip uninstallation support, helper for the Windows uninstalleriNc Cstjdd}|jdddddjtjdd|jd d dd d d dddd|j|}tjd|jS(Ntprogspython -m ensurepip._uninstalls --versiontactiontversionspip {}thelps7Show the version of pip this will attempt to uninstall.s-vs --verbosetcounttdefaultitdestt verbositysDGive more output. Option is additive, and can be used up to 3 times.( targparsetArgumentParsert add_argumenttformatt ensurepipRt parse_argst_uninstall_helperR(targvtparsertargs((s,/usr/lib64/python2.7/ensurepip/_uninstall.pyt_mains t__main__(t__doc__RR tsystNoneRt__name__texit(((s,/usr/lib64/python2.7/ensurepip/_uninstall.pyts      PKN@2]7{   __main__.pyonu[ {fc@s>ddlZddlZedkr:ejejndS(iNt__main__(t ensurepiptsyst__name__texitt_main(((s*/usr/lib64/python2.7/ensurepip/__main__.pyts   PKN@2]>rUU __init__.pyonu[ {fc@s/ddlmZddlZddlZddlZddlZddlZddlZddl Z ddgZ dj ej dZ dZedZed Zdefd efgZdd Zd Zd Zdeeeedd ZdeeeeddZddZddZdS(i(tprint_functionNtversiont bootstraps/usr/share/python{}-wheels/icsttjjtdj|ddj}fdtj|D}tt|dtj j S(Ns{}-s-py2.py3-none-any.whls{}*{}c3s)|]}|tt !VqdS(N(tlen(t.0tp(tprefixtsuffix(s*/usr/lib64/python2.7/ensurepip/__init__.pys stkey( tostpathtjoint _WHEEL_DIRtformattglobtstrtmaxt distutilsRt LooseVersion(tpkgtpatterntversions((RRs*/usr/lib64/python2.7/ensurepip/__init__.pyt_get_most_recent_wheel_versions "t setuptoolstpipcCsa|dk r|tjt_nyddlm}Wn!tk rVddlm}nX||S(Ni(tmain(tNonetsysR t pip._internalRt ImportErrorR(targstadditional_pathsR((s*/usr/lib64/python2.7/ensurepip/__init__.pyt_run_pip$s  cCstS(sA Returns a string specifying the bundled version of pip. (t _PIP_VERSION(((s*/usr/lib64/python2.7/ensurepip/__init__.pyR3scCsZgtjD]}|jdr |^q }x|D]}tj|=q2Wtjtjds2                 5 PK 3]v~P+P+*__pycache__/__init__.cpython-311.opt-2.pycnu[ : f&:ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z ddgZ dZ ejddZdaiZd Zed Zed Zd ed fd ed fgZd ZdZdaddZdZdZddddddddZddddddddZdddZddZdS)N) resourcesversion bootstrap) setuptoolspipPackage)r wheel_name wheel_pathz'/opt/alt/python311/share/python-wheels/ctjtd|}it |<dD]}d||}t j|D]T}|t|t| }tj|t ||<Uttt |tj j S)Nz{}-)z-py2.py3-none-any.whlz-py3-none-any.whlz{}*{})key)ospathjoin_WHEEL_PKG_DIRformat_wheelsgloblenbasenamestrmax distutilsr LooseVersion)pkgprefixsuffixpatternr version_strs 9/opt/alt/python311/lib64/python3.11/ensurepip/__init__.py_get_most_recent_wheel_versionr s W\\.%,,s*;*; < ??..00Ig&& ? ?Ds6{{CKK<78K(*(8(8(>(>GCL % % ? s73>qAW\\$11 !'4<< Os  ((cttSi}tD]-\}}}t||}t||d||<.tr6t tt fdtDr}|a|S)Nc3 K|]}|vV dSNr$).0r2 dir_packagess r z _get_packages..Xs(??t|#??????r!) _PACKAGES _PROJECTSrr.rr3allr*)r/r2rpy_tagr r8s @r _get_packagesr>LsH!*==gvdmG, !':t<<$%n55 ??????? ? ? $#HI Or!cd|pgd|d}tjddd|g}tjjr|ddt j|d jS) 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-Wzignore::DeprecationWarningz-cz-IT)check)sys executableflagsisolatedinsert subprocessrun returncode)argsadditional_pathscodecmds r_run_piprN_s    "      D  $   C y 1d >#T * * * 55r!c6 tdjS)Nr)r>rr$r!rrrys ??5 ! ))r!cdtjD}|D]}tj|=tjtjd<dS)Nc<g|]}|d|S)PIP_)r+)r7ks r z7_disable_pip_configuration_settings..s)DDDAq||F/C/CDaDDDr!PIP_CONFIG_FILE)r environdevnull)keys_to_removerSs r#_disable_pip_configuration_settingsrYsKEDDDDN  JqMM%'JBJ !!!r!Frootupgradeuser altinstall default_pip verbosityc2 t||||||dS)NrZ) _bootstraprZs rrrs8D'$+"$$$$$$r!c  |r|rtdtjd|t|rdtjd<n|sdtjd<t j5}g}tD]\}} } t|| } tj t| } tj || } t| d5}t| d5}||dddn #1swxYwYdddn #1swxYwY|| ddd d |g}|r|d |gz }|r|d gz }|r|d gz }|r |dd|zzgz }t#g|t$|cdddS#1swxYwYdS)Nz.Cannot use altinstall and default_pip togetherzensurepip.bootstrapr^ENSUREPIP_OPTIONSinstallrbwbz--no-cache-dirz --no-indexz --find-links--root --upgrade--userr%v) ValueErrorrBauditrYr rVtempfileTemporaryDirectoryr;rrrropenwritereadappendrNr*)r[r\r]r^r_r`tmpdirrKprojectrr=r filename_wheel filename_tmpsfpfprJs rrbrbs KkKIJJJI#T***')))4*6 &'' 4*3 &'  $ & &D&(1 2 2 $GWf )'2JW\\.*EEN7<< ;;Lnd++ )s,--)HHSXXZZ((())))))))))))))) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )  # #L 1 1 1 1+\>6R  % Xt$ $D  " [M !D   XJ D  , S3?*+ +D0$002BCC3DDDDDDDDDDDDDDDDDDs\.A8F6&E7(D+  E+D/ /E2D/ 3E6 F6E F6 E AF66F:=F:)r`c@ ddl}n#t$rYdSwxYwt}|j|kr)t d|jd|dt jdStgd}|r |dd|zzgz }tg|ttS) Nrz2ensurepip will only uninstall a matching version (z installed, z available))file) uninstallz-yz--disable-pip-version-checkr%rk) r ImportErrorr __version__printrBstderrrYrNreversedr*)r`ravailable_versionrJs r_uninstall_helperrs     +++ 2/22"222:     '))) > = =D( sY&'' 6d6Xn556 7 77s  cfddl}|d}|dddt d|d d d dd d |ddddd|dddd|ddd|dddd|dddd||}t |j|j|j |j |j |j S)Nrzpython -m ensurepip)progz --versionrzpip {}z9Show the version of pip that is bundled with this Python.)actionrhelpz-vz --verbosecountr`zDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestrz-Uri store_trueFz8Upgrade pip and dependencies, even if already installed.)rrrrjzInstall using the user scheme.rhz=Install everything relative to this alternate root directory.)rrz --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]r`r^r_) argparseArgumentParser add_argumentrr parse_argsrbr[r\r]r`r^r_)argvrparserrJs r_mainrsOOO  $ $*? $ @ @F  ** H    k    k G    -    L  C  G    T " "D  Y Y.?$    r!r6) distutils.versionrr collectionsr os.pathrGrB sysconfigrn importlibr__all__r* namedtupler.rrr _SETUPTOOLS_VERSION _PIP_VERSIONr;r3r>r:rNrrYrrbrrr$r!rrs    k "& "; !)"I K K; FFF54\BB--e44 &. L%   :  66664*** / / /EE $ $ $ $ $UE6D6D6D6D6Dp$%88888>::::::r!PK 3]7ss*__pycache__/__main__.cpython-311.opt-1.pycnu[ fX`ddlZddlZedkrejejdSdS)N__main__) ensurepipsys__name__exit_main9/opt/alt/python311/lib64/python3.11/ensurepip/__main__.pyr sO  z CH_Y_  r PK 3]3"&__pycache__/_uninstall.cpython-311.pycnu[ f(jdZddlZddlZddlZddZedkrejedSdS)zDBasic pip uninstallation support, helper for the Windows uninstallerNc:tjd}|dddt jd|dd d d d d ||}t j|jS)Nzpython -m ensurepip._uninstall)progz --versionversionzpip {}z7Show the version of pip this will attempt to uninstall.)actionrhelpz-vz --verbosecountr verbosityzDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestr)r ) argparseArgumentParser add_argumentformat ensurepipr parse_args_uninstall_helperr )argvparserargss ;/opt/alt/python311/lib64/python3.11/ensurepip/_uninstall.py_mainrs  $*J K K KF  1 3 344 F    k     T " "D  & @ @ @@__main__)N)__doc__r rsysr__name__exitrrrstJJ AAAA, z CHUUWWrPK 3]m jj,__pycache__/_uninstall.cpython-311.opt-2.pycnu[ f(h ddlZddlZddlZddZedkrejedSdS)Nc:tjd}|dddt jd|dd d d d d ||}t j|jS)Nzpython -m ensurepip._uninstall)progz --versionversionzpip {}z7Show the version of pip this will attempt to uninstall.)actionrhelpz-vz --verbosecountr verbosityzDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestr)r ) argparseArgumentParser add_argumentformat ensurepipr parse_args_uninstall_helperr )argvparserargss ;/opt/alt/python311/lib64/python3.11/ensurepip/_uninstall.py_mainrs  $*J K K KF  1 3 344 F    k     T " "D  & @ @ @@__main__)N)r rsysr__name__exitrrrsqJ AAAA, z CHUUWWrPK 3]J6u-u-$__pycache__/__init__.cpython-311.pycnu[ : f&:ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z ddgZ dZ ejddZdaiZd Zed Zed Zd ed fd ed fgZd ZdZdaddZdZdZddddddddZddddddddZdddZddZdS)N) resourcesversion bootstrap) setuptoolspipPackage)r wheel_name wheel_pathz'/opt/alt/python311/share/python-wheels/ctjtd|}it |<dD]}d||}t j|D]T}|t|t| }tj|t ||<Uttt |tj j S)Nz{}-)z-py2.py3-none-any.whlz-py3-none-any.whlz{}*{})key)ospathjoin_WHEEL_PKG_DIRformat_wheelsgloblenbasenamestrmax distutilsr LooseVersion)pkgprefixsuffixpatternr version_strs 9/opt/alt/python311/lib64/python3.11/ensurepip/__init__.py_get_most_recent_wheel_versionr s W\\.%,,s*;*; < ??..00Ig&& ? ?Ds6{{CKK<78K(*(8(8(>(>GCL % % ? s73>qAW\\$11 !'4<< Os  ((cttSi}tD]-\}}}t||}t||d||<.tr6t tt fdtDr}|a|S)Nc3 K|]}|vV dSNr$).0r2 dir_packagess r z _get_packages..Xs(??t|#??????r!) _PACKAGES _PROJECTSrr.rr3allr*)r/r2rpy_tagr r8s @r _get_packagesr>LsH!*==gvdmG, !':t<<$%n55 ??????? ? ? $#HI Or!cd|pgd|d}tjddd|g}tjjr|ddt j|d jS) 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-Wzignore::DeprecationWarningz-cz-IT)check)sys executableflagsisolatedinsert subprocessrun returncode)argsadditional_pathscodecmds r_run_piprN_s    "      D  $   C y 1d >#T * * * 55r!c4tdjS)zA Returns a string specifying the bundled version of pip. r)r>rr$r!rrrys ??5 ! ))r!cdtjD}|D]}tj|=tjtjd<dS)Nc<g|]}|d|S)PIP_)r+)r7ks r z7_disable_pip_configuration_settings..s)DDDAq||F/C/CDaDDDr!PIP_CONFIG_FILE)r environdevnull)keys_to_removerSs r#_disable_pip_configuration_settingsrYsKEDDDDN  JqMM%'JBJ !!!r!Frootupgradeuser altinstall default_pip verbosityc0t||||||dS)z Bootstrap pip into the current Python installation (or the given root directory). Note that calling this function will alter both sys.path and os.environ. rZN) _bootstraprZs rrrs3D'$+"$$$$$$r!c |r|rtdtjd|t|rdtjd<n|sdtjd<t j5}g}tD]\}} } t|| } tj t| } tj || } t| d5}t| d5}||dddn #1swxYwYdddn #1swxYwY|| dd d d |g}|r|d |gz }|r|d gz }|r|dgz }|r |dd|zzgz }t#g|t$|cdddS#1swxYwYdS)z Bootstrap pip into the current Python installation (or the given root directory). Returns pip command status code. Note that calling this function will alter both sys.path and os.environ. z.Cannot use altinstall and default_pip togetherzensurepip.bootstrapr^ENSUREPIP_OPTIONSinstallrbwbNz--no-cache-dirz --no-indexz --find-links--root --upgrade--userr%v) ValueErrorrBauditrYr rVtempfileTemporaryDirectoryr;rrrropenwritereadappendrNr*)r[r\r]r^r_r`tmpdirrKprojectrr=r filename_wheel filename_tmpsfpfprJs rrbrbsKkKIJJJI#T***')))4*6 &'' 4*3 &'  $ & &D&(1 2 2 $GWf )'2JW\\.*EEN7<< ;;Lnd++ )s,--)HHSXXZZ((())))))))))))))) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )  # #L 1 1 1 1+\>6R  % Xt$ $D  " [M !D   XJ D  , S3?*+ +D0$002BCC3DDDDDDDDDDDDDDDDDDs\-A8F5%E6(D*  E*D. .E1D. 2E5 F5E F5E AF55F9<F9)r`c> ddl}n#t$rYdSwxYwt}|j|kr)t d|jd|dt jdStgd}|r |dd |zzgz }tg|ttS) z~Helper to support a clean default uninstall process on Windows Note that calling this function may alter os.environ. rNz2ensurepip will only uninstall a matching version (z installed, z available))file) uninstallz-yz--disable-pip-version-checkr%rk) r ImportErrorr __version__printrBstderrrYrNreversedr*)r`ravailable_versionrJs r_uninstall_helperrs     +++ 2/22"222:     '))) > = =D( sY&'' 6d6Xn556 7 77s  cfddl}|d}|dddt d|d d d dd d |ddddd|dddd|ddd|dddd|dddd||}t |j|j|j |j |j |j S)Nrzpython -m ensurepip)progz --versionrzpip {}z9Show the version of pip that is bundled with this Python.)actionrhelpz-vz --verbosecountr`zDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestrz-Uri store_trueFz8Upgrade pip and dependencies, even if already installed.)rrrrjzInstall using the user scheme.rhz=Install everything relative to this alternate root directory.)rrz --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]r`r^r_) argparseArgumentParser add_argumentrr parse_argsrbr[r\r]r`r^r_)argvrparserrJs r_mainrsOOO  $ $*? $ @ @F  ** H    k    k G    -    L  C  G    T " "D  Y Y.?$    r!r6) distutils.versionrr collectionsr os.pathrGrB sysconfigrn importlibr__all__r* namedtupler.rrr _SETUPTOOLS_VERSION _PIP_VERSIONr;r3r>r:rNrrYrrbrrr$r!rrs    k "& "; !)"I K K; FFF54\BB--e44 &. L%   :  66664*** / / /EE $ $ $ $ $UE6D6D6D6D6Dp$%88888>::::::r!PK 3]7ss$__pycache__/__main__.cpython-311.pycnu[ fX`ddlZddlZedkrejejdSdS)N__main__) ensurepipsys__name__exit_main9/opt/alt/python311/lib64/python3.11/ensurepip/__main__.pyr sO  z CH_Y_  r PK 3]J6u-u-*__pycache__/__init__.cpython-311.opt-1.pycnu[ : f&:ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z ddgZ dZ ejddZdaiZd Zed Zed Zd ed fd ed fgZd ZdZdaddZdZdZddddddddZddddddddZdddZddZdS)N) resourcesversion bootstrap) setuptoolspipPackage)r wheel_name wheel_pathz'/opt/alt/python311/share/python-wheels/ctjtd|}it |<dD]}d||}t j|D]T}|t|t| }tj|t ||<Uttt |tj j S)Nz{}-)z-py2.py3-none-any.whlz-py3-none-any.whlz{}*{})key)ospathjoin_WHEEL_PKG_DIRformat_wheelsgloblenbasenamestrmax distutilsr LooseVersion)pkgprefixsuffixpatternr version_strs 9/opt/alt/python311/lib64/python3.11/ensurepip/__init__.py_get_most_recent_wheel_versionr s W\\.%,,s*;*; < ??..00Ig&& ? ?Ds6{{CKK<78K(*(8(8(>(>GCL % % ? s73>qAW\\$11 !'4<< Os  ((cttSi}tD]-\}}}t||}t||d||<.tr6t tt fdtDr}|a|S)Nc3 K|]}|vV dSNr$).0r2 dir_packagess r z _get_packages..Xs(??t|#??????r!) _PACKAGES _PROJECTSrr.rr3allr*)r/r2rpy_tagr r8s @r _get_packagesr>LsH!*==gvdmG, !':t<<$%n55 ??????? ? ? $#HI Or!cd|pgd|d}tjddd|g}tjjr|ddt j|d jS) 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-Wzignore::DeprecationWarningz-cz-IT)check)sys executableflagsisolatedinsert subprocessrun returncode)argsadditional_pathscodecmds r_run_piprN_s    "      D  $   C y 1d >#T * * * 55r!c4tdjS)zA Returns a string specifying the bundled version of pip. r)r>rr$r!rrrys ??5 ! ))r!cdtjD}|D]}tj|=tjtjd<dS)Nc<g|]}|d|S)PIP_)r+)r7ks r z7_disable_pip_configuration_settings..s)DDDAq||F/C/CDaDDDr!PIP_CONFIG_FILE)r environdevnull)keys_to_removerSs r#_disable_pip_configuration_settingsrYsKEDDDDN  JqMM%'JBJ !!!r!Frootupgradeuser altinstall default_pip verbosityc0t||||||dS)z Bootstrap pip into the current Python installation (or the given root directory). Note that calling this function will alter both sys.path and os.environ. rZN) _bootstraprZs rrrs3D'$+"$$$$$$r!c |r|rtdtjd|t|rdtjd<n|sdtjd<t j5}g}tD]\}} } t|| } tj t| } tj || } t| d5}t| d5}||dddn #1swxYwYdddn #1swxYwY|| dd d d |g}|r|d |gz }|r|d gz }|r|dgz }|r |dd|zzgz }t#g|t$|cdddS#1swxYwYdS)z Bootstrap pip into the current Python installation (or the given root directory). Returns pip command status code. Note that calling this function will alter both sys.path and os.environ. z.Cannot use altinstall and default_pip togetherzensurepip.bootstrapr^ENSUREPIP_OPTIONSinstallrbwbNz--no-cache-dirz --no-indexz --find-links--root --upgrade--userr%v) ValueErrorrBauditrYr rVtempfileTemporaryDirectoryr;rrrropenwritereadappendrNr*)r[r\r]r^r_r`tmpdirrKprojectrr=r filename_wheel filename_tmpsfpfprJs rrbrbsKkKIJJJI#T***')))4*6 &'' 4*3 &'  $ & &D&(1 2 2 $GWf )'2JW\\.*EEN7<< ;;Lnd++ )s,--)HHSXXZZ((())))))))))))))) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )  # #L 1 1 1 1+\>6R  % Xt$ $D  " [M !D   XJ D  , S3?*+ +D0$002BCC3DDDDDDDDDDDDDDDDDDs\-A8F5%E6(D*  E*D. .E1D. 2E5 F5E F5E AF55F9<F9)r`c> ddl}n#t$rYdSwxYwt}|j|kr)t d|jd|dt jdStgd}|r |dd |zzgz }tg|ttS) z~Helper to support a clean default uninstall process on Windows Note that calling this function may alter os.environ. rNz2ensurepip will only uninstall a matching version (z installed, z available))file) uninstallz-yz--disable-pip-version-checkr%rk) r ImportErrorr __version__printrBstderrrYrNreversedr*)r`ravailable_versionrJs r_uninstall_helperrs     +++ 2/22"222:     '))) > = =D( sY&'' 6d6Xn556 7 77s  cfddl}|d}|dddt d|d d d dd d |ddddd|dddd|ddd|dddd|dddd||}t |j|j|j |j |j |j S)Nrzpython -m ensurepip)progz --versionrzpip {}z9Show the version of pip that is bundled with this Python.)actionrhelpz-vz --verbosecountr`zDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestrz-Uri store_trueFz8Upgrade pip and dependencies, even if already installed.)rrrrjzInstall using the user scheme.rhz=Install everything relative to this alternate root directory.)rrz --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]r`r^r_) argparseArgumentParser add_argumentrr parse_argsrbr[r\r]r`r^r_)argvrparserrJs r_mainrsOOO  $ $*? $ @ @F  ** H    k    k G    -    L  C  G    T " "D  Y Y.?$    r!r6) distutils.versionrr collectionsr os.pathrGrB sysconfigrn importlibr__all__r* namedtupler.rrr _SETUPTOOLS_VERSION _PIP_VERSIONr;r3r>r:rNrrYrrbrrr$r!rrs    k "& "; !)"I K K; FFF54\BB--e44 &. L%   :  66664*** / / /EE $ $ $ $ $UE6D6D6D6D6Dp$%88888>::::::r!PK 3]3",__pycache__/_uninstall.cpython-311.opt-1.pycnu[ f(jdZddlZddlZddlZddZedkrejedSdS)zDBasic pip uninstallation support, helper for the Windows uninstallerNc:tjd}|dddt jd|dd d d d d ||}t j|jS)Nzpython -m ensurepip._uninstall)progz --versionversionzpip {}z7Show the version of pip this will attempt to uninstall.)actionrhelpz-vz --verbosecountr verbosityzDGive more output. Option is additive, and can be used up to 3 times.)rdefaultdestr)r ) argparseArgumentParser add_argumentformat ensurepipr parse_args_uninstall_helperr )argvparserargss ;/opt/alt/python311/lib64/python3.11/ensurepip/_uninstall.py_mainrs  $*J K K KF  1 3 344 F    k     T " "D  & @ @ @@__main__)N)__doc__r rsysr__name__exitrrrstJJ AAAA, z CHUUWWrPK 3]7ss*__pycache__/__main__.cpython-311.opt-2.pycnu[ fX`ddlZddlZedkrejejdSdS)N__main__) ensurepipsys__name__exit_main9/opt/alt/python311/lib64/python3.11/ensurepip/__main__.pyr sO  z CH_Y_  r PK1]sXX __main__.pynu[PK1][GG*__pycache__/__main__.cpython-312.opt-2.pycnu[PK1]k%%$4__pycache__/__init__.cpython-312.pycnu[PK1]<:V<<,'__pycache__/_uninstall.cpython-312.opt-1.pycnu[PK1][GG*!-__pycache__/__main__.cpython-312.opt-1.pycnu[PK1]k%%*.__pycache__/__init__.cpython-312.opt-1.pycnu[PK1]""*T__pycache__/__init__.cpython-312.opt-2.pycnu[PK1]C,Sw__pycache__/_uninstall.cpython-312.opt-2.pycnu[PK1]<:V<<&|__pycache__/_uninstall.cpython-312.pycnu[PK1][GG$,__pycache__/__main__.cpython-312.pycnu[PK1]޷(( ǃ_uninstall.pynu[PK1]ma&& ,__init__.pynu[PKN@2]7{   1__main__.pycnu[PKN@2]>rUU v__init__.pycnu[PKN@2]lbb_uninstall.pyonu[PKN@2]lbb_uninstall.pycnu[PKN@2]7{   G__main__.pyonu[PKN@2]>rUU __init__.pyonu[PK 3]v~P+P+*__pycache__/__init__.cpython-311.opt-2.pycnu[PK 3]7ss*__pycache__/__main__.cpython-311.opt-1.pycnu[PK 3]3"&__pycache__/_uninstall.cpython-311.pycnu[PK 3]m jj, __pycache__/_uninstall.cpython-311.opt-2.pycnu[PK 3]J6u-u-$n&__pycache__/__init__.cpython-311.pycnu[PK 3]7ss$7T__pycache__/__main__.cpython-311.pycnu[PK 3]J6u-u-*U__pycache__/__init__.cpython-311.opt-1.pycnu[PK 3]3",̓__pycache__/_uninstall.cpython-311.opt-1.pycnu[PK 3]7ss*__pycache__/__main__.cpython-311.opt-2.pycnu[PK