ok

Mini Shell

Direktori : /proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/
Upload File :
Current File : //proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyc

�
Bu�_c@@s�dZddlmZmZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlmZddl
mZddlmZmZddlmZmZmZmZddlmZmZmZmZmZmZmZdd	lm Z dd
l!m"Z"ddl#m$Z$m%Z%ddl&m'Z'm(Z(dd
l)m*Z*m+Z+ddl,m-Z-ddl.m/Z/e-r�ddl0m1Z1m2Z2m3Z3m4Z4ddlm5Z5ddl)m6Z7ndgZ8ej9e:�Z;defd��YZ<dS(s(Base Command class, and related routinesi(tabsolute_importtprint_functionN(t
cmdoptions(tCommandContextMixIn(tConfigOptionParsertUpdatingDefaultsHelpFormatter(tERRORtPREVIOUS_BUILD_DIR_ERRORt
UNKNOWN_ERRORtVIRTUALENV_NOT_FOUND(t
BadCommandtCommandErrortInstallationErrortNetworkConnectionErrortPreviousBuildDirErrortSubProcessErrortUninstallationError(t
deprecated(tcheck_path_owner(tBrokenStdoutLoggingErrort
setup_logging(tget_progtnormalize_path(tglobal_tempdir_managerttempdir_registry(tMYPY_CHECK_RUNNING(trunning_under_virtualenv(tListtOptionaltTupletAny(tValues(tTempDirectoryTypeRegistrytCommandcB@sVeZdZeZed�Zd�Zd�Zd�Z	d�Z
d�Zd�ZRS(cC@s�tt|�j�i|jd6djt�|�d6t�d6td6|d6|jd6|d6}||_	||_
t|�|_d|_d	j|j	j��}tj|j|�|_tjtj|j�}|jj|�|j�dS(
Ntusages{} {}tprogt	formattertadd_help_optiontnametdescriptiontisolateds
{} Options(tsuperR!t__init__R"tformatRRtFalset__doc__R&tsummaryRtparsertNoneRt
capitalizetoptparsetOptionGrouptcmd_optsRtmake_option_groupt
general_grouptadd_option_grouptadd_options(tselfR&R.R(t	parser_kwt
optgroup_nametgen_opts((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyR*>s(



			cC@sdS(N((R9((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyR8^scC@st|d�st�dS(sf
        This is a no-op so that commands by default do not do the pip version
        check.
        tno_indexN(thasattrtAssertionError(R9toptions((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pythandle_pip_version_checkbscC@s
t�dS(N(tNotImplementedError(R9R@targs((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pytrunlscC@s|jj|�S(N(R/t
parse_args(R9RC((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyREpscC@s6z$|j��|j|�SWdQXWdtj�XdS(N(tmain_contextt_maintloggingtshutdown(R9RC((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pytmainus
cC@s�|jt��|_|jt��|j|�\}}|j|j|_td|jd|jd|j	�}t
jd d%kr�|jr�d}t
j�dkr�d|}nt|d	dd
d�nt
jd d&kr|jrd}t|d	dd
d�n|jr!dtjd<n|jrFdj|j�tjd<n|jr�|jr�t�s�tjd�t
jt�q�n|jr�t|j�|_t|j�s�tj d|j�d|_q�nt!|dd�rtddd	dd
ddd�nd|j"kr.tjd�t
jt#�nz�y/|j$||�}t%|t&�s[t'�|SWnVt(k
r�}tjt)|��tj*ddt+�t,St-t.t/t0t1fk
r�}tjt)|��tj*ddt+�t#St2k
r}tjd |�tj*ddt+�t#St3k
rct4d!d"t
j5�|t6j7kr_t8j9d"t
j5�nt#St:k
r�tjd#�tj*ddt+�t#St;k
r�tjd$dt+�t<SXWd|j=|�XdS('Nt	verbositytno_colort
user_log_fileiis�pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-supporttCPythonsPython 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. treplacementtgone_ins21.0iis�Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021.t1tPIP_NO_INPUTt tPIP_EXISTS_ACTIONs2Could not find an activated virtualenv (required).s�The directory '%s' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.t	build_dirtreasonsBThe -b/--build/--build-dir/--build-directory option is deprecated.sOuse the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-cleans20.3tissuei� tresolverss--unstable-feature=resolver is no longer supported, and has been replaced with --use-feature=2020-resolver instead.sException information:texc_infos%ss ERROR: Pipe to stdout was brokentfilesOperation cancelled by users
Exception:(ii(ii(>t
enter_contextRRREtverbosetquietRKRRLtlogtsystversion_infotno_python_version_warningtplatformtpython_implementationRR0tno_inputtostenviront
exists_actiontjointrequire_venvtignore_require_venvRtloggertcriticaltexitR	t	cache_dirRRtwarningtgetattrtunstable_featuresRRDt
isinstancetintR?RtstrtdebugtTrueRRRR
RR
RRtprinttstderrRHtDEBUGt	tracebackt	print_exctKeyboardInterruptt
BaseExceptionRRA(R9RCR@tlevel_numbertmessagetstatustexc((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyRG}s�		


				






	N(
t__name__t
__module__R0R"R,RjR*R8RARDRERJRG(((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyR!:s 		
			(=R-t
__future__RRRHtlogging.configR2ReRbR_Rztpip._internal.cliRt!pip._internal.cli.command_contextRtpip._internal.cli.parserRRtpip._internal.cli.status_codesRRRR	tpip._internal.exceptionsR
RRR
RRRtpip._internal.utils.deprecationRtpip._internal.utils.filesystemRtpip._internal.utils.loggingRRtpip._internal.utils.miscRRtpip._internal.utils.temp_dirRRtpip._internal.utils.typingRtpip._internal.utils.virtualenvRttypingRRRRRR tTempDirRegistryt__all__t	getLoggerR�RkR!(((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyt<module>s6"4	"	

Zerion Mini Shell 1.0