SILENT KILLERPanel

Current Path: > > opt > alt > python27 > lib > > python2.7 > site-packages > pip > _internal > > utils


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python27/lib//python2.7/site-packages/pip/_internal//utils

NameTypeSizeLast ModifiedActions
__init__.py File 0 bytes November 13 2023 21:11:11.
__init__.pyc File 226 bytes November 13 2023 21:11:11.
appdirs.py File 1349 bytes November 13 2023 21:11:11.
appdirs.pyc File 2064 bytes November 13 2023 21:11:11.
compat.py File 9489 bytes November 13 2023 21:11:11.
compat.pyc File 9885 bytes November 13 2023 21:11:11.
compatibility_tags.py File 5439 bytes November 13 2023 21:11:11.
compatibility_tags.pyc File 5027 bytes November 13 2023 21:11:11.
datetime.py File 295 bytes November 13 2023 21:11:11.
datetime.pyc File 749 bytes November 13 2023 21:11:11.
deprecation.py File 3318 bytes November 13 2023 21:11:11.
deprecation.pyc File 3896 bytes November 13 2023 21:11:11.
direct_url_helpers.py File 4359 bytes November 13 2023 21:11:11.
direct_url_helpers.pyc File 3697 bytes November 13 2023 21:11:11.
distutils_args.py File 1350 bytes November 13 2023 21:11:11.
distutils_args.pyc File 1767 bytes November 13 2023 21:11:11.
encoding.py File 1284 bytes November 13 2023 21:11:11.
encoding.pyc File 1773 bytes November 13 2023 21:11:11.
entrypoints.py File 1219 bytes November 13 2023 21:11:11.
entrypoints.pyc File 1627 bytes November 13 2023 21:11:11.
filesystem.py File 6943 bytes November 13 2023 21:11:11.
filesystem.pyc File 8633 bytes November 13 2023 21:11:11.
filetypes.py File 571 bytes November 13 2023 21:11:11.
filetypes.pyc File 854 bytes November 13 2023 21:11:11.
glibc.py File 3297 bytes November 13 2023 21:11:11.
glibc.pyc File 2553 bytes November 13 2023 21:11:11.
hashes.py File 4678 bytes November 13 2023 21:11:11.
hashes.pyc File 6806 bytes November 13 2023 21:11:11.
inject_securetransport.py File 810 bytes November 13 2023 21:11:11.
inject_securetransport.pyc File 1218 bytes November 13 2023 21:11:11.
logging.py File 13093 bytes November 13 2023 21:11:11.
logging.pyc File 13608 bytes November 13 2023 21:11:11.
misc.py File 28331 bytes November 13 2023 21:11:11.
misc.pyc File 37993 bytes November 13 2023 21:11:11.
models.py File 1201 bytes November 13 2023 21:11:11.
models.pyc File 3295 bytes November 13 2023 21:11:11.
packaging.py File 3035 bytes November 13 2023 21:11:11.
packaging.pyc File 3658 bytes November 13 2023 21:11:11.
parallel.py File 3404 bytes November 13 2023 21:11:11.
parallel.pyc File 4015 bytes November 13 2023 21:11:11.
pkg_resources.py File 1254 bytes November 13 2023 21:11:11.
pkg_resources.pyc File 3010 bytes November 13 2023 21:11:11.
setuptools_build.py File 5058 bytes November 13 2023 21:11:11.
setuptools_build.pyc File 4356 bytes November 13 2023 21:11:11.
subprocess.py File 9924 bytes November 13 2023 21:11:11.
subprocess.pyc File 7489 bytes November 13 2023 21:11:11.
temp_dir.py File 8378 bytes November 13 2023 21:11:11.
temp_dir.pyc File 10199 bytes November 13 2023 21:11:11.
typing.py File 1401 bytes November 13 2023 21:11:11.
typing.pyc File 1683 bytes November 13 2023 21:11:11.
unpacking.py File 9488 bytes November 13 2023 21:11:11.
unpacking.pyc File 8637 bytes November 13 2023 21:11:11.
urls.py File 1527 bytes November 13 2023 21:11:11.
urls.pyc File 2239 bytes November 13 2023 21:11:11.
virtualenv.py File 3706 bytes November 13 2023 21:11:11.
virtualenv.pyc File 4707 bytes November 13 2023 21:11:11.
wheel.py File 7303 bytes November 13 2023 21:11:11.
wheel.pyc File 8189 bytes November 13 2023 21:11:11.

Reading File: //opt/alt/python27/lib//python2.7/site-packages/pip/_internal//utils/subprocess.pyc

�
�Rec
@@shddlmZddlZddlZddlZddlmZddlmZm	Z	ddl
mZddlm
Z
mZddlmZddlmZmZdd	lmZer
dd
lmZmZmZmZmZmZmZmZeeeefZ ndZ!d�Z"d
�Z#d�Z$d�Z%e&ddddddde(d�	Z)d�Z*dS(i(tabsolute_importN(tshlex_quote(tSpinnerInterfacetopen_spinner(tInstallationError(tconsole_to_strtstr_to_display(tsubprocess_logger(t
HiddenTexttpath_to_display(tMYPY_CHECK_RUNNING(tAnytCallabletIterabletListtMappingtOptionaltTexttUnions(----------------------------------------cG@sGg}x:|D]2}t|t�r2|j|�q
|j|�q
W|S(s&
    Create a CommandArgs object.
    (t
isinstancetlisttextendtappend(targstcommand_argstarg((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pytmake_commands
cC@sdjd�|D��S(s/
    Format command arguments for display.
    t cs@s<|]2}t|t�r*tt|��n	t|�VqdS(N(RRRtstr(t.0R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pys	<genexpr>8s(tjoin(R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pytformat_command_args-s
cC@s/g|D]$}t|t�r%|jn|^qS(s=
    Return the arguments in their raw, unredacted form.
    (RRtsecret(RR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pytreveal_command_args=sc	
C@sst|�}t|dd�}t|�}dj|�}djd|d|d|dt|�d	|d
t�}|S(s�
    Create and return the error message to use to log a subprocess error
    with command output.

    :param lines: A list of lines, each ending with a newline.
    tdescs
command bytestu�Command errored out with exit status {exit_status}:
 command: {command_display}
     cwd: {cwd_display}
Complete output ({line_count} lines):
{output}{divider}texit_statustcommand_displaytcwd_displayt
line_counttoutputtdivider(RRR	RtformattlentLOG_DIVIDER(	tcmd_argstcwdtlinesR$tcommandR%R&R(tmsg((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pytmake_subprocess_output_errorGs
		traisec
C@sP|d	krg}n|d	kr*g}n|rEtj}
tj}ntj}
tj}tj�|k}|oy|d	k	}
|d	kr�t|�}n|
d|�t	j
j�}|r�|j|�nx|D]}|j
|d	�q�Wyktjt|�dtjdtjdtjd|d|�}|js8t�|jsGt�|jj�Wn2tk
r�}|	r�tjd||�n�nXg}xotrt|jj��}|s�Pn|j�}|j|d�|
|�|
r�|s�t�|j�q�q�Wz|j�Wd	|jr,|jj�nX|j oB|j |k}|
r}|sWt�|rm|j!d
�q}|j!d�n|rC|dkr�|r�|	r�t"d
|d|d|d|j �}tj#|�ndj$|j |�}t%|��qC|dkrtj&d||j |�qC|dkr+qCt'dj$|���ndj(|�S(s�
    Args:
      show_stdout: if true, use INFO to log the subprocess's stderr and
        stdout streams.  Otherwise, use DEBUG.  Defaults to False.
      extra_ok_returncodes: an iterable of integer return codes that are
        acceptable, in addition to 0. Defaults to None, which means [].
      unset_environ: an iterable of environment variable names to unset
        prior to calling subprocess.Popen().
      log_failed_cmd: if false, failed commands are not logged, only raised.
    sRunning command %ststderrtstdintstdoutR.tenvs#Error %s while executing command %ss
NterrortdoneR3R-R/R$sSCommand errored out with exit status {}: {} Check the logs for full command output.twarns$Command "%s" had error code %s in %stignores!Invalid value: on_returncode={!r}R#()tNoneRtinfotloggingtINFOtdebugtDEBUGtgetEffectiveLevelRtostenvirontcopytupdatetpopt
subprocesstPopenR!tSTDOUTtPIPER5tAssertionErrorR6tcloset	ExceptiontcriticaltTrueRtreadlinetrstripRtspintwaitt
returncodetfinishR2R8R*Rtwarningt
ValueErrorR(tcmdtshow_stdoutR.t
on_returncodetextra_ok_returncodestcommand_desct
extra_environt
unset_environtspinnertlog_failed_cmdtlog_subprocesst
used_leveltshowing_subprocesstuse_spinnerR7tnametproctexct
all_outputtlinetproc_had_errorR1texc_msg((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pytcall_subprocessqs�					

	
	

	c@sdd�fd�}|S(s�Provide a subprocess_runner that shows a spinner message.

    Intended for use with for pep517's Pep517HookCaller. Thus, the runner has
    an API that matches what's expected by Pep517HookCaller.subprocess_runner.
    c@s5t���#}t|d|d|d|�WdQXdS(NR.R^R`(RRm(RYR.R^R`(tmessage(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pytrunner
sN(R<(RnRo((Rns�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pytrunner_with_spinner_messages
(+t
__future__RR>RCRHtpip._vendor.six.movesRtpip._internal.cli.spinnersRRtpip._internal.exceptionsRtpip._internal.utils.compatRRtpip._internal.utils.loggingRtpip._internal.utils.miscRR	tpip._internal.utils.typingR
ttypingRRR
RRRRRRtCommandArgsR,RRR!R2tFalseR<RPRmRp(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/subprocess.pyt<module>s8:			
	,�

SILENT KILLER Tool