/usr/lib64/python3.9/ensurepip/__pycache__
NameSizeModeActions
_uninstall.cpython-39.opt-1.pyc9340644editdlrm
_uninstall.cpython-39.opt-2.pyc8490644editdlrm
_uninstall.cpython-39.pyc9340644editdlrm
__init__.cpython-39.opt-1.pyc57900644editdlrm
__init__.cpython-39.opt-2.pyc52130644editdlrm
__init__.cpython-39.pyc57900644editdlrm
__main__.cpython-39.opt-1.pyc2280644editdlrm
__main__.cpython-39.opt-2.pyc2280644editdlrm
__main__.cpython-39.pyc2280644editdlrm
Edit: /usr/lib64/python3.9/ensurepip/__pycache__/__init__.cpython-39.pyc (5790B)
a ä”|j[ã@sîddlZddlZddlZddlZddlZddlZddlZddlZddl m Z ddgZ dZ iZ dd„ZedƒZed ƒZded fd ed fgZdd d „Zd d„Zdd„Zdddddddœdd„Zdddddddœdd„Zddœdd„Zddd„ZdS)éN)Ú resourcesÚversionÚ bootstrapz/usr/share/python3-wheels/cCs„tj td |¡¡}it|<dD]J}d ||¡}t |¡D].}|t|ƒt|ƒ …}tj |¡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Ú distutilsrZ LooseVersion)ÚpkgÚprefixÚsuffixÚpatternrZ version_str©rú*/usr/lib64/python3.9/ensurepip/__init__.pyÚ_get_most_recent_wheel_versions rZ setuptoolsÚpipZpy3cCsFd|pg›d|›d�}tjd|g}tjjr6| dd¡tj|dd�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-céz-IT)Úcheck)ÚsysÚ executableÚflagsÚisolatedÚinsertÚ subprocessÚrunÚ returncode)ÚargsÚadditional_pathsÚcodeÚcmdrrrÚ_run_pip(sýü  r(cCstS)zA Returns a string specifying the bundled version of pip. )Ú _PIP_VERSIONrrrrr<scCs2dd„tjDƒ}|D] }tj|=qtjtjd<dS)NcSsg|]}| d¡r|‘qS)ZPIP_)Ú startswith)Ú.0ÚkrrrÚ Fóz7_disable_pip_configuration_settings..ZPIP_CONFIG_FILE)rÚenvironÚdevnull)Zkeys_to_remover,rrrÚ#_disable_pip_configuration_settingsBs r1F©ÚrootÚupgradeÚuserÚ altinstallÚ default_pipÚ verbositycCst||||||d�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. r2N)Ú _bootstrapr2rrrrNs þc CsŠ|r|rtdƒ‚t d|¡tƒ|r2dtjd<n|s@dtjd<t ¡��*}g}tD] \}} } t || } t tj   t | ¡dƒ�R} t tj   || ¡dƒ�} |  |  ¡¡Wdƒn1s¸0YWdƒn1sÖ0Y| tj   || ¡¡qTdd d d |g}|�r|d |g7}|�r&|d g7}|�r6|dg7}|�rN|dd|g7}t|dd„tDƒ|ƒWdƒS1�s|0YdS)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.bootstrapr6ZENSUREPIP_OPTIONSÚinstallÚrbÚwbNz--no-cache-dirz --no-indexz --find-linksú--rootú --upgradeú--userú-ÚvcSsg|] }|d‘qS©rr©r+Úprrrr-‘r.z_bootstrap..)Ú ValueErrorrÚauditr1rr/ÚtempfileÚTemporaryDirectoryÚ _PROJECTSr Úopenrrr ÚwriteÚreadÚappendr()r3r4r5r6r7r8Ztmpdirr%ZprojectrZpy_tagZ wheel_nameZsfpÚfpr$rrrr9]s4      J   r9)r8cCsŠz ddl}Wnty YdS0|jtkrLd}t| |jt¡tjd�dStƒgd¢}|rp|dd|g7}t |dd „t t ƒDƒƒS) z~Helper to support a clean default uninstall process on Windows Note that calling this function may alter os.environ. rNzOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled))Úfile)Z uninstallz-yz--disable-pip-version-checkr@rAcSsg|] }|d‘qSrBrrCrrrr-¬r.z%_uninstall_helper..) rÚ ImportErrorÚ __version__r)Úprintr rÚstderrr1r(ÚreversedrI)r8rÚmsgr$rrrÚ_uninstall_helper“s   rVcCsÈddl}|jdd�}|jddd tƒ¡dd�|jd d d dd d d�|jdddddd�|jddddd�|jdddd�|jddddd�|jddddd�| |¡}t|j|j|j |j |j |j d�S)Nrzpython -m ensurepip)Úprogz --versionrzpip {}z9Show the version of pip that is bundled with this Python.)ÚactionrÚhelpz-vz --verboseÚcountr8zDGive more output. Option is additive, and can be used up to 3 times.)rXÚdefaultÚdestrYz-Ur>Ú store_trueFz8Upgrade pip and dependencies, even if already installed.)rXr[rYr?zInstall using the user scheme.r=z=Install everything relative to this alternate root directory.)r[rYz --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.)r3r4r5r8r6r7) ÚargparseÚArgumentParserÚ add_argumentr rÚ parse_argsr9r3r4r5r8r6r7)Úargvr^Úparserr$rrrÚ_main¯sj  üûüüýüü úrd)N)N)Zdistutils.versionrr rZos.pathrZrunpyrGr!Ú importlibrÚ__all__r r rZ_SETUPTOOLS_VERSIONr)rIr(rr1rr9rVrdrrrrÚs<  þ  þ þ 6