ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pyc

�
x�_c@@s�ddlmZddlZddlZddlZddlZddlZddlmZddl	m
Z
ddlmZddl
mZddlmZddlmZdd	lmZdd
lmZddlmZddlmZerAdd
lmZddlmZmZm Z ddl!m"Z"ddl#m$Z$nej%e&�Z'd�Z(d�Z)d�Z*d�Z+d�Z,d�Z-d�Z.d�Z/d�Z0defd��YZ1dS(i(tabsolute_importN(t
pkg_resources(twhere(t__file__(t
cmdoptions(tCommand(tmake_target_python(tSUCCESS(t
indent_log(tget_pip_version(tMYPY_CHECK_RUNNING(t
ModuleType(tListtOptionaltDict(tValues(t
ConfigurationcC@stjd||�dS(Ns%s: %s(tloggertinfo(tnametvalue((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pyt
show_valuescC@sXtjd�ttd�r1tj}|j}nd}t��td|�WdQXdS(Nssys.implementation:timplementationtR(RRthasattrtsysRRRR(Rtimplementation_name((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytshow_sys_implementation#s
	
c	C@s�tjjtjjt�dd�}t|��H}g|j�D].}d|kr@|j�jdd�d^q@}WdQXt	d�|D��S(Nt_vendors
vendor.txts==t iics@s!|]}|jdd�VqdS(s==iN(tsplit(t.0tline((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pys	<genexpr>?s(
tostpathtjointdirnametpip_locationtopent	readlineststripRtdict(tvendor_txt_pathtfR tlines((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytcreate_vendor_txt_map0s		DcC@sV|j�}|dkr!d}ntdj|�t�t�dd�ttj|�S(Nt
setuptoolsRspip._vendor.{}tleveli(tlowert
__import__tformattglobalstlocalstgetattrtpipR(tmodule_name((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytget_module_from_module_nameBs		cC@syt|�}t|dd�}|sutjtjj|j�g�}|j	tj
j|��}t|dd�}n|S(Nt__version__tversion(R8R5tNoneRt
WorkingSetR!R"R$RtfindtRequirementtparse(R7tmoduleR:tpkg_settpackage((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytget_vendor_version_from_moduleSscC@s|xu|j�D]g\}}d}t|�}|s@d}|}n||kr^dj|�}ntjd|||�q
WdS(s{Log the actual version and print extra info if there is
    a conflict or if the actual version could not be imported.
    RsM (Unable to locate actual module version, using vendor.txt specified version)s5 (CONFLICT: vendor.txt suggests version should be {})s%s==%s%sN(titemsRCR2RR(tvendor_txt_versionsR7texpected_versiont
extra_messagetactual_version((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytshow_actual_vendor_versionsgs	cC@s4tjd�t�}t��t|�WdQXdS(Nsvendored library versions:(RRR-RRI(RE((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytshow_vendor_versionsys
	
c		C@sd}t|�}|j�}|j�}d}|rHdj|�}ndjt|�|�}tj|�|jdkr�t|�|kr�t}|| }nt	}t
��Qx!|D]}tjt|��q�W|r�djd|�}tj|�nWdQXdS(Ni
Rs
 (target: {})sCompatible tags: {}{}is?...
[First {tag_limit} tags shown. Pass --verbose to show all.]t	tag_limit(Rtget_tagstformat_givenR2tlenRRtverbosetTruetFalseRtstr(	toptionsRKt
target_pythonttagstformatted_targettsuffixtmsgttags_limitedttag((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pyt	show_tags�s(
!


		cC@s�t�}x4|j�D]&\}}|j|jd�d�qW|sJdSdddg}g|D]}||kr`|^q`}|s�dSd|kr�|jd�ndj|�S(	Nt.is
Not specifiedtinstalltwheeltdownloadtglobals, (tsetRDtaddRtremoveR#(tconfigtlevelstkeyt_tlevels_that_override_globalR/tglobal_overriding_level((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytca_bundle_info�s	%tDebugCommandcB@s,eZdZdZeZd�Zd�ZRS(s$
    Display debug information.
    s
      %prog <options>cC@s:tj|j�|jjd|j�|jjj�dS(Ni(Rtadd_target_python_optionstcmd_optstparsertinsert_option_groupRdtload(tself((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytadd_options�scC@stjd�tdt��tdtj�tdtj�tdtj��tdtj��tdt	j
��tdtj�t�td	t
|jj��td
tjjd
��tdtjjd��tdt��td
tjj�t�t|�tS(Ns�This command is only meant for debugging. Do not use this with automation for parsing and getting these details, since the output and options of this command may change without notice.spip versionssys.versionssys.executablessys.getdefaultencodingssys.getfilesystemencodingslocale.getpreferredencodingssys.platforms'cert' config valuetREQUESTS_CA_BUNDLEtCURL_CA_BUNDLEspip._vendor.certifi.where()spip._vendor.DEBUNDLED(RtwarningRR	RR:t
executabletgetdefaultencodingtgetfilesystemencodingtlocaletgetpreferredencodingtplatformRRjRnRdR!tenvirontgetRR6Rt	DEBUNDLEDRJR[R(RqRStargs((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pytrun�s&
(t__name__t
__module__t__doc__tusageRPtignore_require_venvRrR�(((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pyRk�s
	(2t
__future__RRytloggingR!Rtpip._vendorR6Rtpip._vendor.certifiRRR%tpip._internal.cliRtpip._internal.cli.base_commandRtpip._internal.cli.cmdoptionsRtpip._internal.cli.status_codesRtpip._internal.utils.loggingRtpip._internal.utils.miscR	tpip._internal.utils.typingR
ttypesRttypingRR
RtoptparseRtpip._internal.configurationRt	getLoggerR�RRRR-R8RCRIRJR[RjRk(((sM/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/debug.pyt<module>s>		
							"	

Zerion Mini Shell 1.0