/usr/lib/python3.6/site-packages/setuptools/__pycache__
NameSizeModeActions
archive_util.cpython-36.opt-1.pyc50670644editdlrm
archive_util.cpython-36.pyc50670644editdlrm
build_meta.cpython-36.opt-1.pyc57500644editdlrm
build_meta.cpython-36.pyc58400644editdlrm
config.cpython-36.opt-1.pyc149910644editdlrm
config.cpython-36.pyc149910644editdlrm
depends.cpython-36.opt-1.pyc52120644editdlrm
depends.cpython-36.pyc52120644editdlrm
dep_util.cpython-36.opt-1.pyc7860644editdlrm
dep_util.cpython-36.pyc7860644editdlrm
dist.cpython-36.opt-1.pyc367610644editdlrm
dist.cpython-36.pyc368060644editdlrm
extension.cpython-36.opt-1.pyc19060644editdlrm
extension.cpython-36.pyc19060644editdlrm
glibc.cpython-36.opt-1.pyc14760644editdlrm
glibc.cpython-36.pyc14760644editdlrm
glob.cpython-36.opt-1.pyc37220644editdlrm
glob.cpython-36.pyc37740644editdlrm
launch.cpython-36.opt-1.pyc7850644editdlrm
launch.cpython-36.pyc7850644editdlrm
lib2to3_ex.cpython-36.opt-1.pyc23640644editdlrm
lib2to3_ex.cpython-36.pyc23640644editdlrm
monkey.cpython-36.opt-1.pyc46030644editdlrm
monkey.cpython-36.pyc46030644editdlrm
msvc.cpython-36.opt-1.pyc344710644editdlrm
msvc.cpython-36.pyc344710644editdlrm
namespaces.cpython-36.opt-1.pyc36090644editdlrm
namespaces.cpython-36.pyc36090644editdlrm
package_index.cpython-36.opt-1.pyc322520644editdlrm
package_index.cpython-36.pyc322520644editdlrm
pep425tags.cpython-36.opt-1.pyc72730644editdlrm
pep425tags.cpython-36.pyc72730644editdlrm
py27compat.cpython-36.opt-1.pyc7420644editdlrm
py27compat.cpython-36.pyc7420644editdlrm
py31compat.cpython-36.opt-1.pyc14810644editdlrm
py31compat.cpython-36.pyc14810644editdlrm
py33compat.cpython-36.opt-1.pyc13340644editdlrm
py33compat.cpython-36.pyc13340644editdlrm
py36compat.cpython-36.opt-1.pyc21380644editdlrm
py36compat.cpython-36.pyc21380644editdlrm
sandbox.cpython-36.opt-1.pyc156540644editdlrm
sandbox.cpython-36.pyc156540644editdlrm
site-patch.cpython-36.opt-1.pyc14370644editdlrm
site-patch.cpython-36.pyc14370644editdlrm
ssl_support.cpython-36.opt-1.pyc67170644editdlrm
ssl_support.cpython-36.pyc67170644editdlrm
unicode_utils.cpython-36.opt-1.pyc11000644editdlrm
unicode_utils.cpython-36.pyc11000644editdlrm
version.cpython-36.opt-1.pyc2590644editdlrm
version.cpython-36.pyc2590644editdlrm
wheel.cpython-36.opt-1.pyc61530644editdlrm
wheel.cpython-36.pyc61810644editdlrm
windows_support.cpython-36.opt-1.pyc9420644editdlrm
windows_support.cpython-36.pyc9420644editdlrm
__init__.cpython-36.opt-1.pyc62190644editdlrm
__init__.cpython-36.pyc62190644editdlrm
Edit: /usr/lib/python3.6/site-packages/setuptools/__pycache__/depends.cpython-36.pyc (5212B)
3 ÄvhÍã@s’ddlZddlZddlZddlmZddlmZmZmZmZddl m Z dddd gZ Gd d„dƒZ dd d„Z dd d„Zdd d „Zdd„ZeƒdS)éN)Ú StrictVersion)Ú PKG_DIRECTORYÚ PY_COMPILEDÚ PY_SOURCEÚ PY_FROZENé)ÚBytecodeÚRequireÚ find_moduleÚget_module_constantÚextract_constantc@sHeZdZdZddd„Zdd„Zdd „Zdd d „Zdd d„Zddd„Z dS)r z7A prerequisite to building or installing a distributionÚNcCsF|dkr|dk rt}|dk r0||ƒ}|dkr0d}|jjtƒƒ|`dS)NÚ __version__)rÚ__dict__ÚupdateÚlocalsÚself)rÚnameÚrequested_versionÚmoduleZhomepageÚ attributeÚformat©rú/usr/lib/python3.6/depends.pyÚ__init__szRequire.__init__cCs |jdk rd|j|jfS|jS)z0Return full package/distribution name, w/versionNz%s-%s)rr)rrrrÚ full_name s zRequire.full_namecCs*|jdkp(|jdkp(t|ƒdko(||jkS)z%Is 'version' sufficiently up-to-date?NÚunknown)rrÚstrr)rÚversionrrrÚ version_ok&szRequire.version_okrc Cs||jdkrBy"t|j|ƒ\}}}|r*|jƒ|Stk r@dSXt|j|j||ƒ}|dk rx||k rx|jdk rx|j|ƒS|S)a×Get version number of installed module, 'None', or 'default' Search 'paths' for module. If not found, return 'None'. If found, return the extracted version attribute, or 'default' if no version attribute was specified, or the value cannot be determined without importing the module. The version is formatted according to the requirement's version format (if any), unless it is 'None' or the supplied 'default'. N)rr rÚcloseÚ ImportErrorr r)rÚpathsÚdefaultÚfÚpÚiÚvrrrÚ get_version+s  zRequire.get_versioncCs|j|ƒdk S)z/Return true if dependency is present on 'paths'N)r()rr"rrrÚ is_presentFszRequire.is_presentcCs |j|ƒ}|dkrdS|j|ƒS)z>Return true if dependency is present and up-to-date on 'paths'NF)r(r)rr"rrrrÚ is_currentJs zRequire.is_current)r NN)Nr)N)N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrr(r)r*rrrrr s   c Csl|jdƒ}x\|rf|jdƒ}tj||ƒ\}}\}}}} |tkrP|pFdg}|g}q |r td||fƒ‚q W| S)z7Just like 'imp.find_module()', but with package supportÚ.rrzCan't find %r in %s)ÚsplitÚpopÚimpr rr!) rr"ÚpartsÚpartr$ÚpathÚsuffixÚmodeÚkindÚinforrrr Rs   c CsÎyt||ƒ\}}\}}}Wntk r.dSXz‚|tkrP|jdƒtj|ƒ} n`|tkrdtj|ƒ} nL|t kr~t |jƒ|dƒ} n2|t j kržtj ||||||fƒtt j ||dƒSWd|rÀ|jƒXt| ||ƒS)züFind 'module' by searching 'paths', and extract 'symbol' Return 'None' if 'module' does not exist on 'paths', or it does not define 'symbol'. If the module defines 'symbol' as a constant, return the constant. Otherwise, return 'default'.NéÚexec)r r!rÚreadÚmarshalÚloadrr2Úget_frozen_objectrÚcompileÚsysÚmodulesÚ load_moduleÚgetattrr r ) rÚsymbolr#r"r$r5r6r7r8Úcoderrrr es$     c Cs„||jkrdSt|jƒj|ƒ}d}d}d}|}xPt|ƒD]D}|j} |j} | |kr\|j| }q8| |krx| |kst| |krx|S|}q8WdS)aExtract the constant value of 'symbol' from 'code' If the name 'symbol' is bound to a constant value by the Python code object 'code', return that value. If 'symbol' is bound to an expression, return 'default'. Otherwise, return 'None'. Return value is based on the first assignment to 'symbol'. 'symbol' must be a global, or at least a non-"fast" local in the code block. That is, only 'STORE_NAME' and 'STORE_GLOBAL' opcodes are checked, and 'symbol' must be present in 'code.co_names'. NéZéaéd)Úco_namesÚlistÚindexrZopcodeÚargÚ co_consts) rFrEr#Zname_idxZ STORE_NAMEZ STORE_GLOBALZ LOAD_CONSTÚconstZ byte_codeÚoprMrrrr ‡s  cCsDtjjdƒ rtjdkrdSd}x|D]}tƒ|=tj|ƒq&WdS)z• Patch the globals to remove the objects not available on some platforms. XXX it'd be better to test assertions about bytecode instead. ÚjavaZcliNr r )r r )rAÚplatformÚ startswithÚglobalsÚ__all__Úremove)Z incompatiblerrrrÚ_update_globals«s  rW)Néÿÿÿÿ)rXNrX)rX)rAr2r=Zdistutils.versionrrrrrZ py33compatrrUr r r r rWrrrrÚs   C  " $