σ BuΖ_c@@s»ddlmZddlZddlZddlZddlZddlZddlmZddl m Z ddlm Z ddl mZddlmZddlmZdd lmZdd lmZdd lmZdd 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/python36/lib/python3.6/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/python36/lib/python3.6/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/python36/lib/python3.6/site-packages/pip/_internal/commands/debug.pys ?s( tostpathtjointdirnamet pip_locationtopent readlineststripRtdict(tvendor_txt_pathtfR tlines((sM/opt/alt/python36/lib/python3.6/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(t module_name((sM/opt/alt/python36/lib/python3.6/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$Rtfindt Requirementtparse(R7tmoduleR:tpkg_settpackage((sM/opt/alt/python36/lib/python3.6/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/python36/lib/python3.6/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/python36/lib/python3.6/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/python36/lib/python3.6/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/python36/lib/python3.6/site-packages/pip/_internal/commands/debug.pytca_bundle_info€s % t DebugCommandcB@s,eZdZdZeZd„Zd„ZRS(s$ Display debug information. s %prog cC@s:tj|jƒ|jjd|jƒ|jjjƒdS(Ni(Rtadd_target_python_optionstcmd_optstparsertinsert_option_groupRdtload(tself((sM/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/debug.pyt add_optionsΒscC@stjdƒtdtƒƒtdtjƒtdtjƒtdtjƒƒtdtjƒƒtdt j ƒƒtdtj ƒt ƒtd t |jjƒƒtd tjjd ƒƒtd tjjd ƒƒ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.s pip versions sys.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/python36/lib/python3.6/site-packages/pip/_internal/commands/debug.pytrunΘs& (t__name__t __module__t__doc__tusageRPtignore_require_venvRrR€(((sM/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/debug.pyRkΉs  (2t __future__RRytloggingR!Rt pip._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 ttypesR ttypingR R RtoptparseRtpip._internal.configurationRt getLoggerRRRRR-R8RCRIRJR[RjRk(((sM/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/debug.pyts>           "