/home/fresvfqn/waterdamagerestorationandrepairsmithtown.com/Compressed/ensurepip.tar
__pycache__/__init__.cpython-38.opt-2.pyc000064400000012065150532416100014104 0ustar00U

&�.eb�@s�ddlZddlZddlZddlZddlZddlZddlZddlZddgZ	dZ
dZiZdd�Z
e
d�Ze
d	�Zded
fd	ed
fgZddd�Zd
d�Zdd�Zddddddd�dd�Zddddddd�dd�Zdd�dd�Zddd�ZdS)�N�version�	bootstrap)�
setuptools�pipz/usr/share/python38-wheels/cCs�tj�td�|��}it|<dD]J}d�||�}t�|�D].}|t|�t|��}tj�|�t||<q:q t	t
t|tj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)Zpkg�prefix�suffix�patternrZversion_str�r�*/usr/lib64/python3.8/ensurepip/__init__.py�_get_most_recent_wheel_versionsrrrZpy3cCsFd|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)Zcheck)�sys�
executable�flags�isolated�insert�
subprocess�run�
returncode)�args�additional_paths�code�cmdrrr�_run_pip's��r&cCstS)N)�_PIP_VERSIONrrrrr;scCs2dd�tjD�}|D]}tj|=qtjtjd<dS)NcSsg|]}|�d�r|�qS)ZPIP_)�
startswith)�.0�krrr�
<listcomp>Es
z7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)r�environ�devnull)Zkeys_to_remover*rrr�#_disable_pip_configuration_settingsAs
r.F��root�upgrade�user�
altinstall�default_pip�	verbositycCst||||||d�dS)Nr/)�
_bootstrapr/rrrrMs

�cCsP|r|rtd��t�d|�t�|r2dtjd<n|s@dtjd<t�����}g}tD]x\}}	}
t	||	}t
tj�t
|�d��4}t
tj�||�d��}
|
�|���W5QRXW5QRX|�tj�||��qTddd	d
|g}|r�|d|g7}|r�|dg7}|�r
|d
g7}|�r"|dd|g7}t|dd�tD�|�W5QR�SQRXdS)Nz.Cannot use altinstall and default_pip togetherzensurepip.bootstrapr3ZENSUREPIP_OPTIONSZinstall�rb�wbz--no-cache-dirz
--no-indexz--find-links�--root�	--upgrade�--user�-�vcSsg|]}|d�qS�rr�r)�prrrr+�sz_bootstrap.<locals>.<listcomp>)�
ValueErrorr�auditr.rr,�tempfileZTemporaryDirectory�	_PROJECTSr�openrr	r
�write�read�appendr&)r0r1r2r3r4r5Ztmpdirr#ZprojectrZpy_tagZ
wheel_nameZsfp�fpr"rrrr6\s4	
"

r6)r5cCs�zddl}Wntk
r"YdSX|jtkrNd}t|�|jt�tjd�dSt�dddg}|rt|dd|g7}t	|d	d
�t
t�D��S)NrzOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled))�fileZ	uninstallz-yz--disable-pip-version-checkr<r=cSsg|]}|d�qSr>rr?rrrr+�sz%_uninstall_helper.<locals>.<listcomp>)r�ImportError�__version__r'�printrr�stderrr.r&�reversedrD)r5r�msgr"rrr�_uninstall_helper�s

rQcCs�ddl}|jdd�}|jddd�t��dd�|jd	d
ddd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�countr5zDGive more output. Option is additive, and can be used up to 3 times.)rS�default�destrTz-Ur:�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rSrVrTr;zInstall using the user scheme.r9z=Install everything relative to this alternate root directory.)rVrTz--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.)r0r1r2r5r3r4)
�argparse�ArgumentParser�add_argumentrr�
parse_argsr6r0r1r2r5r3r4)�argvrY�parserr"rrr�_main�sn
�������
�r_)N)N)Zdistutils.versionrr
rZos.pathrZrunpyrCr�__all__Z_PACKAGE_NAMESr
rrZ_SETUPTOOLS_VERSIONr'rDr&rr.rr6rQr_rrrr�<module>s@�
��6__pycache__/__main__.cpython-38.opt-2.pyc000064400000000344150532416100014062 0ustar00U

e5dX�@s*ddlZddlZedkr&e�e���dS)�N�__main__)Z	ensurepip�sys�__name__�exitZ_main�rr�*/usr/lib64/python3.8/ensurepip/__main__.py�<module>s__pycache__/_uninstall.cpython-38.pyc000064400000001650150532416100013553 0ustar00U

e5d(�@s>dZddlZddlZddlZddd�Zedkr:e�e��dS)zDBasic pip uninstallation support, helper for the Windows uninstaller�NcCsVtjdd�}|jddd�t���dd�|jdd	d
ddd
d�|�|�}tj|jd�S)Nzpython -m ensurepip._uninstall)�progz	--version�versionzpip {}z7Show the version of pip this will attempt to uninstall.)�actionr�helpz-vz	--verbose�countr�	verbosityzDGive more output. Option is additive, and can be used up to 3 times.)r�default�destr)r)	�argparse�ArgumentParser�add_argument�format�	ensurepipr�
parse_argsZ_uninstall_helperr)�argv�parser�args�r�,/usr/lib64/python3.8/ensurepip/_uninstall.py�_mains"��	
r�__main__)N)�__doc__r
r�sysr�__name__�exitrrrr�<module>s
__pycache__/_uninstall.cpython-38.opt-2.pyc000064400000001523150532416100014512 0ustar00U

e5d(�@s:ddlZddlZddlZddd�Zedkr6e�e��dS)�NcCsVtjdd�}|jddd�t���dd�|jdd	d
ddd
d�|�|�}tj|jd�S)Nzpython -m ensurepip._uninstall)�progz	--version�versionzpip {}z7Show the version of pip this will attempt to uninstall.)�actionr�helpz-vz	--verbose�countr�	verbosityzDGive more output. Option is additive, and can be used up to 3 times.)r�default�destr)r)	�argparse�ArgumentParser�add_argument�format�	ensurepipr�
parse_argsZ_uninstall_helperr)�argv�parser�args�r�,/usr/lib64/python3.8/ensurepip/_uninstall.py�_mains"��	
r�__main__)N)r
r�sysr�__name__�exitrrrr�<module>s

__pycache__/_uninstall.cpython-38.opt-1.pyc000064400000001650150532416100014512 0ustar00U

e5d(�@s>dZddlZddlZddlZddd�Zedkr:e�e��dS)zDBasic pip uninstallation support, helper for the Windows uninstaller�NcCsVtjdd�}|jddd�t���dd�|jdd	d
ddd
d�|�|�}tj|jd�S)Nzpython -m ensurepip._uninstall)�progz	--version�versionzpip {}z7Show the version of pip this will attempt to uninstall.)�actionr�helpz-vz	--verbose�countr�	verbosityzDGive more output. Option is additive, and can be used up to 3 times.)r�default�destr)r)	�argparse�ArgumentParser�add_argument�format�	ensurepipr�
parse_argsZ_uninstall_helperr)�argv�parser�args�r�,/usr/lib64/python3.8/ensurepip/_uninstall.py�_mains"��	
r�__main__)N)�__doc__r
r�sysr�__name__�exitrrrr�<module>s
__pycache__/__init__.cpython-38.opt-1.pyc000064400000013166150532416100014106 0ustar00U

&�.eb�@s�ddlZddlZddlZddlZddlZddlZddlZddlZddgZ	dZ
dZiZdd�Z
e
d�Ze
d	�Zded
fd	ed
fgZddd�Zd
d�Zdd�Zddddddd�dd�Zddddddd�dd�Zdd�dd�Zddd�ZdS)�N�version�	bootstrap)�
setuptools�pipz/usr/share/python38-wheels/cCs�tj�td�|��}it|<dD]J}d�||�}t�|�D].}|t|�t|��}tj�|�t||<q:q t	t
t|tj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)Zpkg�prefix�suffix�patternrZversion_str�r�*/usr/lib64/python3.8/ensurepip/__init__.py�_get_most_recent_wheel_versionsrrrZpy3cCsFd|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)Zcheck)�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�
<listcomp>Es
z7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)r�environ�devnull)Zkeys_to_remover*rrr�#_disable_pip_configuration_settingsAs
r.F��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.
    r/N)�
_bootstrapr/rrrrMs

�cCsP|r|rtd��t�d|�t�|r2dtjd<n|s@dtjd<t�����}g}tD]x\}}	}
t	||	}t
tj�t
|�d��4}t
tj�||�d��}
|
�|���W5QRXW5QRX|�tj�||��qTddd	d
|g}|r�|d|g7}|r�|dg7}|�r
|d
g7}|�r"|dd|g7}t|dd�tD�|�W5QR�SQRXdS)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.bootstrapr3ZENSUREPIP_OPTIONSZinstall�rb�wbz--no-cache-dirz
--no-indexz--find-links�--root�	--upgrade�--user�-�vcSsg|]}|d�qS�rr�r)�prrrr+�sz_bootstrap.<locals>.<listcomp>N)�
ValueErrorr�auditr.rr,�tempfileZTemporaryDirectory�	_PROJECTSr�openrr	r
�write�read�appendr&)r0r1r2r3r4r5Ztmpdirr#ZprojectrZpy_tagZ
wheel_nameZsfp�fpr"rrrr6\s4	
"

r6)r5cCs�zddl}Wntk
r"YdSX|jtkrNd}t|�|jt�tjd�dSt�dddg}|rt|dd	|g7}t	|d
d�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))�fileZ	uninstallz-yz--disable-pip-version-checkr<r=cSsg|]}|d�qSr>rr?rrrr+�sz%_uninstall_helper.<locals>.<listcomp>)r�ImportError�__version__r'�printrr�stderrr.r&�reversedrD)r5r�msgr"rrr�_uninstall_helper�s

rQcCs�ddl}|jdd�}|jddd�t��dd�|jd	d
ddd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�countr5zDGive more output. Option is additive, and can be used up to 3 times.)rS�default�destrTz-Ur:�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rSrVrTr;zInstall using the user scheme.r9z=Install everything relative to this alternate root directory.)rVrTz--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.)r0r1r2r5r3r4)
�argparse�ArgumentParser�add_argumentrr�
parse_argsr6r0r1r2r5r3r4)�argvrY�parserr"rrr�_main�sn
�������
�r_)N)N)Zdistutils.versionrr
rZos.pathrZrunpyrCr�__all__Z_PACKAGE_NAMESr
rrZ_SETUPTOOLS_VERSIONr'rDr&rr.rr6rQr_rrrr�<module>s@�
��6__pycache__/__init__.cpython-38.pyc000064400000013166150532416100013147 0ustar00U

&�.eb�@s�ddlZddlZddlZddlZddlZddlZddlZddlZddgZ	dZ
dZiZdd�Z
e
d�Ze
d	�Zded
fd	ed
fgZddd�Zd
d�Zdd�Zddddddd�dd�Zddddddd�dd�Zdd�dd�Zddd�ZdS)�N�version�	bootstrap)�
setuptools�pipz/usr/share/python38-wheels/cCs�tj�td�|��}it|<dD]J}d�||�}t�|�D].}|t|�t|��}tj�|�t||<q:q t	t
t|tj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)Zpkg�prefix�suffix�patternrZversion_str�r�*/usr/lib64/python3.8/ensurepip/__init__.py�_get_most_recent_wheel_versionsrrrZpy3cCsFd|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)Zcheck)�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�
<listcomp>Es
z7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)r�environ�devnull)Zkeys_to_remover*rrr�#_disable_pip_configuration_settingsAs
r.F��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.
    r/N)�
_bootstrapr/rrrrMs

�cCsP|r|rtd��t�d|�t�|r2dtjd<n|s@dtjd<t�����}g}tD]x\}}	}
t	||	}t
tj�t
|�d��4}t
tj�||�d��}
|
�|���W5QRXW5QRX|�tj�||��qTddd	d
|g}|r�|d|g7}|r�|dg7}|�r
|d
g7}|�r"|dd|g7}t|dd�tD�|�W5QR�SQRXdS)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.bootstrapr3ZENSUREPIP_OPTIONSZinstall�rb�wbz--no-cache-dirz
--no-indexz--find-links�--root�	--upgrade�--user�-�vcSsg|]}|d�qS�rr�r)�prrrr+�sz_bootstrap.<locals>.<listcomp>N)�
ValueErrorr�auditr.rr,�tempfileZTemporaryDirectory�	_PROJECTSr�openrr	r
�write�read�appendr&)r0r1r2r3r4r5Ztmpdirr#ZprojectrZpy_tagZ
wheel_nameZsfp�fpr"rrrr6\s4	
"

r6)r5cCs�zddl}Wntk
r"YdSX|jtkrNd}t|�|jt�tjd�dSt�dddg}|rt|dd	|g7}t	|d
d�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))�fileZ	uninstallz-yz--disable-pip-version-checkr<r=cSsg|]}|d�qSr>rr?rrrr+�sz%_uninstall_helper.<locals>.<listcomp>)r�ImportError�__version__r'�printrr�stderrr.r&�reversedrD)r5r�msgr"rrr�_uninstall_helper�s

rQcCs�ddl}|jdd�}|jddd�t��dd�|jd	d
ddd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�countr5zDGive more output. Option is additive, and can be used up to 3 times.)rS�default�destrTz-Ur:�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rSrVrTr;zInstall using the user scheme.r9z=Install everything relative to this alternate root directory.)rVrTz--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.)r0r1r2r5r3r4)
�argparse�ArgumentParser�add_argumentrr�
parse_argsr6r0r1r2r5r3r4)�argvrY�parserr"rrr�_main�sn
�������
�r_)N)N)Zdistutils.versionrr
rZos.pathrZrunpyrCr�__all__Z_PACKAGE_NAMESr
rrZ_SETUPTOOLS_VERSIONr'rDr&rr.rr6rQr_rrrr�<module>s@�
��6__pycache__/__main__.cpython-38.opt-1.pyc000064400000000344150532416100014061 0ustar00U

e5dX�@s*ddlZddlZedkr&e�e���dS)�N�__main__)Z	ensurepip�sys�__name__�exitZ_main�rr�*/usr/lib64/python3.8/ensurepip/__main__.py�<module>s__pycache__/__main__.cpython-38.pyc000064400000000344150532416100013122 0ustar00U

e5dX�@s*ddlZddlZedkr&e�e���dS)�N�__main__)Z	ensurepip�sys�__name__�exitZ_main�rr�*/usr/lib64/python3.8/ensurepip/__main__.py�<module>s__main__.py000064400000000130150532416100006625 0ustar00import ensurepip
import sys

if __name__ == "__main__":
    sys.exit(ensurepip._main())
__init__.py000064400000015520150532416100006655 0ustar00import distutils.version
import glob
import os
import os.path
import sys
import tempfile


__all__ = ["version", "bootstrap"]

_WHEEL_DIR = "/usr/share/python{}-wheels/".format(sys.version_info[0])

def _get_most_recent_wheel_version(pkg):
    prefix = os.path.join(_WHEEL_DIR, "{}-".format(pkg))
    suffix = "-py2.py3-none-any.whl"
    pattern = "{}*{}".format(prefix, suffix)
    versions = (p[len(prefix):-len(suffix)] for p in glob.glob(pattern))
    return str(max(versions, key=distutils.version.LooseVersion))


_SETUPTOOLS_VERSION = _get_most_recent_wheel_version("setuptools")

_PIP_VERSION = _get_most_recent_wheel_version("pip")


_PROJECTS = [
    ("setuptools", _SETUPTOOLS_VERSION),
    ("pip", _PIP_VERSION),
]


def _run_pip(args, additional_paths=None):
    # Add our bundled software to the sys.path so we can import it
    if additional_paths is not None:
        sys.path = additional_paths + sys.path

    try:
        # pip 10
        from pip._internal import main
    except ImportError:
        # pip 9
        from pip import main
    if args[0] in ["install", "list", "wheel"]:
        args.append('--pre')
    return main(args)


def version():
    """
    Returns a string specifying the bundled version of pip.
    """
    return _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")

    _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 in _PROJECTS:
            wheel_name = "{}-{}-py2.py3-none-any.whl".format(project, version)
            with open(os.path.join(_WHEEL_DIR, wheel_name), "rb") as sfp:
                with open(os.path.join(tmpdir, wheel_name), "wb") as fp:
                    fp.write(sfp.read())

            additional_paths.append(os.path.join(tmpdir, wheel_name))

        # Construct the arguments to be passed to the pip command
        args = ["install", "--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 + [p[0] for p in _PROJECTS], 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 pip version doesn't match the bundled one, leave it alone
    if pip.__version__ != _PIP_VERSION:
        msg = ("ensurepip will only uninstall a matching version "
               "({!r} installed, {!r} bundled)")
        print(msg.format(pip.__version__, _PIP_VERSION), 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 + [p[0] for p in reversed(_PROJECTS)])


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,
    )
_uninstall.py000064400000001450150532416100007263 0ustar00"""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())
__main__.pyc000064400000000411150532430230006772 0ustar00�
{fc@s>ddlZddlZedkr:ejej��ndS(i����Nt__main__(t	ensurepiptsyst__name__texitt_main(((s*/usr/lib64/python2.7/ensurepip/__main__.pyt<module>s_uninstall.pyo000064400000002142150532430230007441 0ustar00�
{fc@sYdZddlZddlZddlZdd�ZedkrUeje��ndS(sDBasic pip uninstallation support, helper for the Windows uninstalleri����NcCs�tjdd�}|jdddddjtj��dd�|jd	d
dddd
dddd�|j|�}tjd|j�S(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.pyt<module>s__main__.pyo000064400000000411150532430230007006 0ustar00�
{fc@s>ddlZddlZedkr:ejej��ndS(i����Nt__main__(t	ensurepiptsyst__name__texitt_main(((s*/usr/lib64/python2.7/ensurepip/__main__.pyt<module>s__init__.pyo000064400000014525150532430230007040 0ustar00�
{fc@s/ddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddgZ
djejd�Z
d�Zed�Zed	�Zdefd	efgZdd
�Zd�Zd�Zdeeeedd
�Zdeeeedd�Zdd�Zdd�ZdS(i����(tprint_functionNtversiont	bootstraps/usr/share/python{}-wheels/icsttjjtdj|���d�dj���}��fd�tj|�D�}tt|dtj	j
��S(Ns{}-s-py2.py3-none-any.whls{}*{}c3s)|]}|t��t��!VqdS(N(tlen(t.0tp(tprefixtsuffix(s*/usr/lib64/python2.7/ensurepip/__init__.pys	<genexpr>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._internalRtImportErrorR(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]}|jd�r
|^q
}x|D]}tj|=q2Wtjtjd<dS(NtPIP_tPIP_CONFIG_FILE(R	tenviront
startswithtdevnull(tktkeys_to_remove((s*/usr/lib64/python2.7/ensurepip/__init__.pyt#_disable_pip_configuration_settings:s+
c
Cs/td|d|d|d|d|d|�dS(s�
    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.
    troottupgradetusert
altinstalltdefault_pipt	verbosityN(t
_bootstrap(R*R+R,R-R.R/((s*/usr/lib64/python2.7/ensurepip/__init__.pyRFs
cCs�|r|rtd��nt�|r8dtjd<n|sNdtjd<ntj�}zMg}x�tD]�\}}	dj||	�}
ttj	j
t|
�d��A}ttj	j
||
�d��}|j|j
��WdQXWdQX|jtj	j
||
��qjWdd	d
|g}
|r4|
d|g7}
n|rJ|
dg7}
n|r`|
d
g7}
n|r~|
dd|g7}
nt|
gtD]}|d^q�|�SWdtj|dt�XdS(s�
    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.
    s.Cannot use altinstall and default_pip togetherR-tENSUREPIP_OPTIONStinstalls{}-{}-py2.py3-none-any.whltrbtwbNs
--no-indexs--find-linkss--roots	--upgrades--usert-tvit
ignore_errors(t
ValueErrorR)R	R$ttempfiletmkdtempt	_PROJECTSR
topenR
RRtwritetreadtappendR tshutiltrmtreetTrue(R*R+R,R-R.R/ttmpdirRtprojectRt
wheel_nametsfptfpRR((s*/usr/lib64/python2.7/ensurepip/__init__.pyR0Us6	!! ,cCs�yddl}Wntk
r$dSX|jtkr`d}t|j|jt�dtj�dSt�dddg}|r�|dd	|g7}nt	|gt
t�D]}|d
^q��S(s~Helper to support a clean default uninstall process on Windows

    Note that calling this function may alter os.environ.
    i����NsOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled)tfilet	uninstalls-ys--disable-pip-version-checkR5R6i(RRt__version__R!tprintR
RtstderrR)R treversedR;(R/RtmsgRR((s*/usr/lib64/python2.7/ensurepip/__init__.pyt_uninstall_helper�s
"c
Cs}ddl}|jdd�}|jdddddjt��dd	�|jd
dddd
ddddd�|jddddd
tdd�|jdddd
tdd�|jdd
ddd�|jdddd
tdd�|jdddd
tddd|j�|jddddddd �|j	|�}t
d!|jd"|jd#|j
d|jd$|jd|j�S(%Ni����tprogspython -m ensurepips	--versiontactionRspip {}thelps9Show the version of pip that is bundled with this Python.s-vs	--verbosetcounttdefaultitdestR/sDGive more output. Option is additive, and can be used up to 3 times.s-Us	--upgradet
store_trues8Upgrade pip and dependencies, even if already installed.s--usersInstall using the user scheme.s--roots=Install everything relative to this alternate root directory.s--altinstallsoMake an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y, easy_install-X.Y).s
--default-pipR.s--no-default-piptstore_falsesLMake a non default install, installing only the X and X.Y versioned scripts.R*R+R,R-(targparsetArgumentParsertadd_argumentR
RtFalseRRBtSUPPRESSt
parse_argsR0R*R+R,R/R-R.(targvRXtparserR((s*/usr/lib64/python2.7/ensurepip/__init__.pyt_main�sf		
					(t
__future__Rtdistutils.versionRRR	tos.pathR@RR9t__all__R
tversion_infoRRt_SETUPTOOLS_VERSIONR!R;RR RR)R[RBRR0ROR`(((s*/usr/lib64/python2.7/ensurepip/__init__.pyt<module>s2					
	5_uninstall.pyc000064400000002142150532430230007425 0ustar00�
{fc@sYdZddlZddlZddlZdd�ZedkrUeje��ndS(sDBasic pip uninstallation support, helper for the Windows uninstalleri����NcCs�tjdd�}|jdddddjtj��dd�|jd	d
dddd
dddd�|j|�}tjd|j�S(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.pyt<module>s__init__.pyc000064400000014525150532430230007024 0ustar00�
{fc@s/ddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddgZ
djejd�Z
d�Zed�Zed	�Zdefd	efgZdd
�Zd�Zd�Zdeeeedd
�Zdeeeedd�Zdd�Zdd�ZdS(i����(tprint_functionNtversiont	bootstraps/usr/share/python{}-wheels/icsttjjtdj|���d�dj���}��fd�tj|�D�}tt|dtj	j
��S(Ns{}-s-py2.py3-none-any.whls{}*{}c3s)|]}|t��t��!VqdS(N(tlen(t.0tp(tprefixtsuffix(s*/usr/lib64/python2.7/ensurepip/__init__.pys	<genexpr>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._internalRtImportErrorR(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]}|jd�r
|^q
}x|D]}tj|=q2Wtjtjd<dS(NtPIP_tPIP_CONFIG_FILE(R	tenviront
startswithtdevnull(tktkeys_to_remove((s*/usr/lib64/python2.7/ensurepip/__init__.pyt#_disable_pip_configuration_settings:s+
c
Cs/td|d|d|d|d|d|�dS(s�
    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.
    troottupgradetusert
altinstalltdefault_pipt	verbosityN(t
_bootstrap(R*R+R,R-R.R/((s*/usr/lib64/python2.7/ensurepip/__init__.pyRFs
cCs�|r|rtd��nt�|r8dtjd<n|sNdtjd<ntj�}zMg}x�tD]�\}}	dj||	�}
ttj	j
t|
�d��A}ttj	j
||
�d��}|j|j
��WdQXWdQX|jtj	j
||
��qjWdd	d
|g}
|r4|
d|g7}
n|rJ|
dg7}
n|r`|
d
g7}
n|r~|
dd|g7}
nt|
gtD]}|d^q�|�SWdtj|dt�XdS(s�
    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.
    s.Cannot use altinstall and default_pip togetherR-tENSUREPIP_OPTIONStinstalls{}-{}-py2.py3-none-any.whltrbtwbNs
--no-indexs--find-linkss--roots	--upgrades--usert-tvit
ignore_errors(t
ValueErrorR)R	R$ttempfiletmkdtempt	_PROJECTSR
topenR
RRtwritetreadtappendR tshutiltrmtreetTrue(R*R+R,R-R.R/ttmpdirRtprojectRt
wheel_nametsfptfpRR((s*/usr/lib64/python2.7/ensurepip/__init__.pyR0Us6	!! ,cCs�yddl}Wntk
r$dSX|jtkr`d}t|j|jt�dtj�dSt�dddg}|r�|dd	|g7}nt	|gt
t�D]}|d
^q��S(s~Helper to support a clean default uninstall process on Windows

    Note that calling this function may alter os.environ.
    i����NsOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled)tfilet	uninstalls-ys--disable-pip-version-checkR5R6i(RRt__version__R!tprintR
RtstderrR)R treversedR;(R/RtmsgRR((s*/usr/lib64/python2.7/ensurepip/__init__.pyt_uninstall_helper�s
"c
Cs}ddl}|jdd�}|jdddddjt��dd	�|jd
dddd
ddddd�|jddddd
tdd�|jdddd
tdd�|jdd
ddd�|jdddd
tdd�|jdddd
tddd|j�|jddddddd �|j	|�}t
d!|jd"|jd#|j
d|jd$|jd|j�S(%Ni����tprogspython -m ensurepips	--versiontactionRspip {}thelps9Show the version of pip that is bundled with this Python.s-vs	--verbosetcounttdefaultitdestR/sDGive more output. Option is additive, and can be used up to 3 times.s-Us	--upgradet
store_trues8Upgrade pip and dependencies, even if already installed.s--usersInstall using the user scheme.s--roots=Install everything relative to this alternate root directory.s--altinstallsoMake an alternate install, installing only the X.Y versioned scripts (Default: pipX, pipX.Y, easy_install-X.Y).s
--default-pipR.s--no-default-piptstore_falsesLMake a non default install, installing only the X and X.Y versioned scripts.R*R+R,R-(targparsetArgumentParsertadd_argumentR
RtFalseRRBtSUPPRESSt
parse_argsR0R*R+R,R/R-R.(targvRXtparserR((s*/usr/lib64/python2.7/ensurepip/__init__.pyt_main�sf		
					(t
__future__Rtdistutils.versionRRR	tos.pathR@RR9t__all__R
tversion_infoRRt_SETUPTOOLS_VERSIONR!R;RR RR)R[RBRR0ROR`(((s*/usr/lib64/python2.7/ensurepip/__init__.pyt<module>s2					
	5__pycache__/__main__.cpython-36.opt-1.pyc000064400000000334150532430320014056 0ustar003


 \X�@s*ddlZddlZedkr&ejej��dS)�N�__main__)Z	ensurepip�sys�__name__�exit�_main�rr�*/usr/lib64/python3.6/ensurepip/__main__.py�<module>s__pycache__/__init__.cpython-36.opt-1.pyc000064400000012721150532430320014100 0ustar003

�\dhP�@s�ddlZddlZddlZddlZddlZddlZddgZdjej	d�Z
dd�Zed�Zed�Z
defde
fgZdd	d
�Zdd�Zdd
�Zddddddd�dd�Zddddddd�dd�Zdd�dd�Zddd�ZdS)�N�version�	bootstrapz/usr/share/python{}-wheels/csRtjjtdj|���d�dj���}��fdd�tj|�D�}tt|tj	j
d��S)Nz{}-z-py2.py3-none-any.whlz{}*{}c3s$|]}|t��t���VqdS)N)�len)�.0�p)�prefix�suffix��*/usr/lib64/python3.6/ensurepip/__init__.py�	<genexpr>sz1_get_most_recent_wheel_version.<locals>.<genexpr>)�key)�os�path�join�
_WHEEL_DIR�format�glob�str�max�	distutilsrZLooseVersion)Zpkg�patternZversionsr	)rrr
�_get_most_recent_wheel_version
s
rZ
setuptools�pipcCsd|dk	r|tjt_yddlm}Wn tk
rDddlm}YnX|ddkr\|jd�||�S)Nr)�main�install�list�wheelz--pre)rrr)�sysrZ
pip._internalr�ImportErrorr�append)�args�additional_pathsrr	r	r
�_run_pip s
r"cCstS)zA
    Returns a string specifying the bundled version of pip.
    )�_PIP_VERSIONr	r	r	r
r0scCs6dd�tjD�}x|D]}tj|=qWtjtjd<dS)NcSsg|]}|jd�r|�qS)ZPIP_)�
startswith)r�kr	r	r
�
<listcomp>:sz7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)r
�environ�devnull)Zkeys_to_remover%r	r	r
�#_disable_pip_configuration_settings6s
r)F)�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.
    )r*r+r,r-r.r/N)�
_bootstrap)r*r+r,r-r.r/r	r	r
rBs
cCs4|r|rtd��t�|r&dtjd<n|s4dtjd<tj���}g}x~tD]v\}}	dj||	�}
ttj	j
t|
�d��4}ttj	j
||
�d��}|j|j
��WdQRXWdQRX|jtj	j
||
��qHWdd	d
|g}
|r�|
d|g7}
|r�|
dg7}
|r�|
d
g7}
|�r|
dd|g7}
t|
dd�tD�|�SQRXdS)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 togetherr-ZENSUREPIP_OPTIONSrz{}-{}-py2.py3-none-any.whl�rb�wbNz
--no-indexz--find-linksz--rootz	--upgradez--user�-�vcSsg|]}|d�qS)rr	)rrr	r	r
r&�sz_bootstrap.<locals>.<listcomp>)�
ValueErrorr)r
r'�tempfileZTemporaryDirectory�	_PROJECTSr�openrrr�write�readrr")r*r+r,r-r.r/Ztmpdirr!ZprojectrZ
wheel_nameZsfp�fpr r	r	r
r0Qs2	

"

r0)r/c
Cs�yddl}Wntk
r dSX|jtkrLd}t|j|jt�tjd�dSt�dddg}|rr|dd	|g7}t	|d
d�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))�fileZ	uninstallz-yz--disable-pip-version-checkr3r4cSsg|]}|d�qS)rr	)rrr	r	r
r&�sz%_uninstall_helper.<locals>.<listcomp>)rr�__version__r#�printrr�stderrr)r"�reversedr7)r/r�msgr r	r	r
�_uninstall_helper�s

rBcCs�ddl}|jdd�}|jdddjt��dd�|jd	d
dddd
d�|jdddddd�|jddddd�|jdddd�|jddddd�|jddddd�|j|�}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�countr/zDGive more output. Option is additive, and can be used up to 3 times.)rD�default�destrEz-Uz	--upgrade�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rDrGrEz--userzInstall using the user scheme.z--rootz=Install everything relative to this alternate root directory.)rGrEz--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.)
�argparse�ArgumentParser�add_argumentrr�
parse_argsr0r*r+r,r/r-r.)�argvrJ�parserr r	r	r
�_main�sZ

rP)N)N)Zdistutils.versionrrr
Zos.pathrr6�__all__r�version_inforrZ_SETUPTOOLS_VERSIONr#r7r"rr)rr0rBrPr	r	r	r
�<module>s.


2__pycache__/__main__.cpython-36.pyc000064400000000334150532430320013117 0ustar003


 \X�@s*ddlZddlZedkr&ejej��dS)�N�__main__)Z	ensurepip�sys�__name__�exit�_main�rr�*/usr/lib64/python3.6/ensurepip/__main__.py�<module>s__pycache__/__init__.cpython-36.opt-2.pyc000064400000011620150532430320014076 0ustar003

�\dhP�@s�ddlZddlZddlZddlZddlZddlZddgZdjej	d�Z
dd�Zed�Zed�Z
defde
fgZdd	d
�Zdd�Zdd
�Zddddddd�dd�Zddddddd�dd�Zdd�dd�Zddd�ZdS)�N�version�	bootstrapz/usr/share/python{}-wheels/csRtjjtdj|���d�dj���}��fdd�tj|�D�}tt|tj	j
d��S)Nz{}-z-py2.py3-none-any.whlz{}*{}c3s$|]}|t��t���VqdS)N)�len)�.0�p)�prefix�suffix��*/usr/lib64/python3.6/ensurepip/__init__.py�	<genexpr>sz1_get_most_recent_wheel_version.<locals>.<genexpr>)�key)�os�path�join�
_WHEEL_DIR�format�glob�str�max�	distutilsrZLooseVersion)Zpkg�patternZversionsr	)rrr
�_get_most_recent_wheel_version
s
rZ
setuptools�pipcCsd|dk	r|tjt_yddlm}Wn tk
rDddlm}YnX|ddkr\|jd�||�S)Nr)�main�install�list�wheelz--pre)rrr)�sysrZ
pip._internalr�ImportErrorr�append)�args�additional_pathsrr	r	r
�_run_pip s
r"cCstS)N)�_PIP_VERSIONr	r	r	r
r0scCs6dd�tjD�}x|D]}tj|=qWtjtjd<dS)NcSsg|]}|jd�r|�qS)ZPIP_)�
startswith)r�kr	r	r
�
<listcomp>:sz7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)r
�environ�devnull)Zkeys_to_remover%r	r	r
�#_disable_pip_configuration_settings6s
r)F)�root�upgrade�user�
altinstall�default_pip�	verbositycCst||||||d�dS)N)r*r+r,r-r.r/)�
_bootstrap)r*r+r,r-r.r/r	r	r
rBs
cCs4|r|rtd��t�|r&dtjd<n|s4dtjd<tj���}g}x~tD]v\}}	dj||	�}
ttj	j
t|
�d��4}ttj	j
||
�d��}|j|j
��WdQRXWdQRX|jtj	j
||
��qHWddd	|g}
|r�|
d
|g7}
|r�|
dg7}
|r�|
dg7}
|�r|
d
d|g7}
t|
dd�tD�|�SQRXdS)Nz.Cannot use altinstall and default_pip togetherr-ZENSUREPIP_OPTIONSrz{}-{}-py2.py3-none-any.whl�rb�wbz
--no-indexz--find-linksz--rootz	--upgradez--user�-�vcSsg|]}|d�qS)rr	)rrr	r	r
r&�sz_bootstrap.<locals>.<listcomp>)�
ValueErrorr)r
r'�tempfileZTemporaryDirectory�	_PROJECTSr�openrrr�write�readrr")r*r+r,r-r.r/Ztmpdirr!ZprojectrZ
wheel_nameZsfp�fpr r	r	r
r0Qs2	

"

r0)r/c
Cs�yddl}Wntk
r dSX|jtkrLd}t|j|jt�tjd�dSt�dddg}|rr|dd|g7}t	|d	d
�t
t�D��S)NrzOensurepip will only uninstall a matching version ({!r} installed, {!r} bundled))�fileZ	uninstallz-yz--disable-pip-version-checkr3r4cSsg|]}|d�qS)rr	)rrr	r	r
r&�sz%_uninstall_helper.<locals>.<listcomp>)rr�__version__r#�printrr�stderrr)r"�reversedr7)r/r�msgr r	r	r
�_uninstall_helper�s

rBcCs�ddl}|jdd�}|jdddjt��dd�|jd	d
dddd
d�|jdddddd�|jddddd�|jdddd�|jddddd�|jddddd�|j|�}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�countr/zDGive more output. Option is additive, and can be used up to 3 times.)rD�default�destrEz-Uz	--upgrade�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rDrGrEz--userzInstall using the user scheme.z--rootz=Install everything relative to this alternate root directory.)rGrEz--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.)
�argparse�ArgumentParser�add_argumentrr�
parse_argsr0r*r+r,r/r-r.)�argvrJ�parserr r	r	r
�_main�sZ

rP)N)N)Zdistutils.versionrrr
Zos.pathrr6�__all__r�version_inforrZ_SETUPTOOLS_VERSIONr#r7r"rr)rr0rBrPr	r	r	r
�<module>s.


2__pycache__/__init__.cpython-36.pyc000064400000012721150532430320013141 0ustar003

�\dhP�@s�ddlZddlZddlZddlZddlZddlZddgZdjej	d�Z
dd�Zed�Zed�Z
defde
fgZdd	d
�Zdd�Zdd
�Zddddddd�dd�Zddddddd�dd�Zdd�dd�Zddd�ZdS)�N�version�	bootstrapz/usr/share/python{}-wheels/csRtjjtdj|���d�dj���}��fdd�tj|�D�}tt|tj	j
d��S)Nz{}-z-py2.py3-none-any.whlz{}*{}c3s$|]}|t��t���VqdS)N)�len)�.0�p)�prefix�suffix��*/usr/lib64/python3.6/ensurepip/__init__.py�	<genexpr>sz1_get_most_recent_wheel_version.<locals>.<genexpr>)�key)�os�path�join�
_WHEEL_DIR�format�glob�str�max�	distutilsrZLooseVersion)Zpkg�patternZversionsr	)rrr
�_get_most_recent_wheel_version
s
rZ
setuptools�pipcCsd|dk	r|tjt_yddlm}Wn tk
rDddlm}YnX|ddkr\|jd�||�S)Nr)�main�install�list�wheelz--pre)rrr)�sysrZ
pip._internalr�ImportErrorr�append)�args�additional_pathsrr	r	r
�_run_pip s
r"cCstS)zA
    Returns a string specifying the bundled version of pip.
    )�_PIP_VERSIONr	r	r	r
r0scCs6dd�tjD�}x|D]}tj|=qWtjtjd<dS)NcSsg|]}|jd�r|�qS)ZPIP_)�
startswith)r�kr	r	r
�
<listcomp>:sz7_disable_pip_configuration_settings.<locals>.<listcomp>ZPIP_CONFIG_FILE)r
�environ�devnull)Zkeys_to_remover%r	r	r
�#_disable_pip_configuration_settings6s
r)F)�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.
    )r*r+r,r-r.r/N)�
_bootstrap)r*r+r,r-r.r/r	r	r
rBs
cCs4|r|rtd��t�|r&dtjd<n|s4dtjd<tj���}g}x~tD]v\}}	dj||	�}
ttj	j
t|
�d��4}ttj	j
||
�d��}|j|j
��WdQRXWdQRX|jtj	j
||
��qHWdd	d
|g}
|r�|
d|g7}
|r�|
dg7}
|r�|
d
g7}
|�r|
dd|g7}
t|
dd�tD�|�SQRXdS)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 togetherr-ZENSUREPIP_OPTIONSrz{}-{}-py2.py3-none-any.whl�rb�wbNz
--no-indexz--find-linksz--rootz	--upgradez--user�-�vcSsg|]}|d�qS)rr	)rrr	r	r
r&�sz_bootstrap.<locals>.<listcomp>)�
ValueErrorr)r
r'�tempfileZTemporaryDirectory�	_PROJECTSr�openrrr�write�readrr")r*r+r,r-r.r/Ztmpdirr!ZprojectrZ
wheel_nameZsfp�fpr r	r	r
r0Qs2	

"

r0)r/c
Cs�yddl}Wntk
r dSX|jtkrLd}t|j|jt�tjd�dSt�dddg}|rr|dd	|g7}t	|d
d�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))�fileZ	uninstallz-yz--disable-pip-version-checkr3r4cSsg|]}|d�qS)rr	)rrr	r	r
r&�sz%_uninstall_helper.<locals>.<listcomp>)rr�__version__r#�printrr�stderrr)r"�reversedr7)r/r�msgr r	r	r
�_uninstall_helper�s

rBcCs�ddl}|jdd�}|jdddjt��dd�|jd	d
dddd
d�|jdddddd�|jddddd�|jdddd�|jddddd�|jddddd�|j|�}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�countr/zDGive more output. Option is additive, and can be used up to 3 times.)rD�default�destrEz-Uz	--upgrade�
store_trueFz8Upgrade pip and dependencies, even if already installed.)rDrGrEz--userzInstall using the user scheme.z--rootz=Install everything relative to this alternate root directory.)rGrEz--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.)
�argparse�ArgumentParser�add_argumentrr�
parse_argsr0r*r+r,r/r-r.)�argvrJ�parserr r	r	r
�_main�sZ

rP)N)N)Zdistutils.versionrrr
Zos.pathrr6�__all__r�version_inforrZ_SETUPTOOLS_VERSIONr#r7r"rr)rr0rBrPr	r	r	r
�<module>s.


2__pycache__/__main__.cpython-36.opt-2.pyc000064400000000334150532430320014057 0ustar003


 \X�@s*ddlZddlZedkr&ejej��dS)�N�__main__)Z	ensurepip�sys�__name__�exit�_main�rr�*/usr/lib64/python3.6/ensurepip/__main__.py�<module>s__pycache__/_uninstall.cpython-36.opt-2.pyc000064400000001501150532430320014504 0ustar003


 \(�@s:ddlZddlZddlZddd�Zedkr6eje��dS)�NcCsVtjdd�}|jdddjtj��dd�|jdd	d
ddd
d�|j|�}tj|jd�S)Nzpython -m ensurepip._uninstall)�progz	--version�versionzpip {}z7Show the version of pip this will attempt to uninstall.)�actionr�helpz-vz	--verbose�countr�	verbosityzDGive more output. Option is additive, and can be used up to 3 times.)r�default�destr)r)	�argparse�ArgumentParser�add_argument�format�	ensurepipr�
parse_argsZ_uninstall_helperr)�argv�parser�args�r�,/usr/lib64/python3.6/ensurepip/_uninstall.py�_mains
r�__main__)N)r
r�sysr�__name__�exitrrrr�<module>s

__pycache__/_uninstall.cpython-36.pyc000064400000001626150532430320013554 0ustar003


 \(�@s>dZddlZddlZddlZddd�Zedkr:eje��dS)zDBasic pip uninstallation support, helper for the Windows uninstaller�NcCsVtjdd�}|jdddjtj��dd�|jdd	d
ddd
d�|j|�}tj|jd�S)Nzpython -m ensurepip._uninstall)�progz	--version�versionzpip {}z7Show the version of pip this will attempt to uninstall.)�actionr�helpz-vz	--verbose�countr�	verbosityzDGive more output. Option is additive, and can be used up to 3 times.)r�default�destr)r)	�argparse�ArgumentParser�add_argument�format�	ensurepipr�
parse_argsZ_uninstall_helperr)�argv�parser�args�r�,/usr/lib64/python3.6/ensurepip/_uninstall.py�_mains
r�__main__)N)�__doc__r
r�sysr�__name__�exitrrrr�<module>s
__pycache__/_uninstall.cpython-36.opt-1.pyc000064400000001626150532430320014513 0ustar003


 \(�@s>dZddlZddlZddlZddd�Zedkr:eje��dS)zDBasic pip uninstallation support, helper for the Windows uninstaller�NcCsVtjdd�}|jdddjtj��dd�|jdd	d
ddd
d�|j|�}tj|jd�S)Nzpython -m ensurepip._uninstall)�progz	--version�versionzpip {}z7Show the version of pip this will attempt to uninstall.)�actionr�helpz-vz	--verbose�countr�	verbosityzDGive more output. Option is additive, and can be used up to 3 times.)r�default�destr)r)	�argparse�ArgumentParser�add_argument�format�	ensurepipr�
parse_argsZ_uninstall_helperr)�argv�parser�args�r�,/usr/lib64/python3.6/ensurepip/_uninstall.py�_mains
r�__main__)N)�__doc__r
r�sysr�__name__�exitrrrr�<module>s