ok

Mini Shell

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

�
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@sdS(sf
        This is a no-op so that commands by default do not do the pip version
        check.
        N((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(R9R@((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyRBpscC@s6z$|j��|j|�SWdQXWdtj�XdS(N(tmain_contextt_maintloggingtshutdown(R9R@((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#�nzwy|j$||�}|SWnVt%k
r�}tjt&|��tj'ddt(�t)St*t+t,t-t.fk
r�}tjt&|��tj'ddt(�t#St/k
r}tjd |�tj'ddt(�t#St0k
rNt1d!d"t
j2�|t3j4krJt5j6d"t
j2�nt#St7k
rtjd#�tj'ddt(�t#St8k
r�tjd$dt(�t9SXWd|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_contextRRRBtverbosetquietRHRRItlogtsystversion_infotno_python_version_warningtplatformtpython_implementationRR0tno_inputtostenviront
exists_actiontjointrequire_venvtignore_require_venvRtloggertcriticaltexitR	t	cache_dirRRtwarningtgetattrtunstable_featuresRRARtstrtdebugtTrueRRRR
RR
RRtprinttstderrREtDEBUGt	tracebackt	print_exctKeyboardInterruptt
BaseExceptionRR>(R9R@R=tlevel_numbertmessagetstatustexc((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyRD}s�		


				






	N(
t__name__t
__module__R0R"R,RgR*R8R>RARBRGRD(((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyR!:s 		
			(=R-t
__future__RRREtlogging.configR2RbR_R\Rutpip._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}RhR!(((sO/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/base_command.pyt<module>s6"4	"	

Zerion Mini Shell 1.0