/usr/lib/python3.9/site-packages/setuptools/__pycache__
NameSizeModeActions
archive_util.cpython-39.opt-1.pyc57800644editdlrm
archive_util.cpython-39.pyc57800644editdlrm
build_meta.cpython-39.opt-1.pyc88670644editdlrm
build_meta.cpython-39.pyc88850644editdlrm
config.cpython-39.opt-1.pyc192290644editdlrm
config.cpython-39.pyc192290644editdlrm
depends.cpython-39.opt-1.pyc52150644editdlrm
depends.cpython-39.pyc52150644editdlrm
dep_util.cpython-39.opt-1.pyc8230644editdlrm
dep_util.cpython-39.pyc8230644editdlrm
dist.cpython-39.opt-1.pyc337520644editdlrm
dist.cpython-39.pyc338330644editdlrm
errors.cpython-39.opt-1.pyc8160644editdlrm
errors.cpython-39.pyc8160644editdlrm
extension.cpython-39.opt-1.pyc19100644editdlrm
extension.cpython-39.pyc19100644editdlrm
glob.cpython-39.opt-1.pyc36310644editdlrm
glob.cpython-39.pyc36600644editdlrm
installer.cpython-39.opt-1.pyc27040644editdlrm
installer.cpython-39.pyc27370644editdlrm
launch.cpython-39.opt-1.pyc8670644editdlrm
launch.cpython-39.pyc8670644editdlrm
lib2to3_ex.cpython-39.opt-1.pyc26690644editdlrm
lib2to3_ex.cpython-39.pyc26690644editdlrm
monkey.cpython-39.opt-1.pyc45790644editdlrm
monkey.cpython-39.pyc45790644editdlrm
msvc.cpython-39.opt-1.pyc432360644editdlrm
msvc.cpython-39.pyc432360644editdlrm
namespaces.cpython-39.opt-1.pyc35660644editdlrm
namespaces.cpython-39.pyc35660644editdlrm
package_index.cpython-39.opt-1.pyc331120644editdlrm
package_index.cpython-39.pyc331120644editdlrm
py34compat.cpython-39.opt-1.pyc4460644editdlrm
py34compat.cpython-39.pyc4460644editdlrm
sandbox.cpython-39.opt-1.pyc157400644editdlrm
sandbox.cpython-39.pyc157400644editdlrm
ssl_support.cpython-39.opt-1.pyc68270644editdlrm
ssl_support.cpython-39.pyc68270644editdlrm
unicode_utils.cpython-39.opt-1.pyc10800644editdlrm
unicode_utils.cpython-39.pyc10800644editdlrm
version.cpython-39.opt-1.pyc2900644editdlrm
version.cpython-39.pyc2900644editdlrm
wheel.cpython-39.opt-1.pyc72360644editdlrm
wheel.cpython-39.pyc72460644editdlrm
windows_support.cpython-39.opt-1.pyc9890644editdlrm
windows_support.cpython-39.pyc9890644editdlrm
_deprecation_warning.cpython-39.opt-1.pyc5160644editdlrm
_deprecation_warning.cpython-39.pyc5160644editdlrm
_imp.cpython-39.opt-1.pyc20510644editdlrm
_imp.cpython-39.pyc20510644editdlrm
__init__.cpython-39.opt-1.pyc85900644editdlrm
__init__.cpython-39.pyc85900644editdlrm
Edit: /usr/lib/python3.9/site-packages/setuptools/__pycache__/depends.cpython-39.pyc (5215B)
a ˆåÏhbã@s”ddlZddlZddlZddlZddlmZddlmZmZm Z m Z ddl mZgd¢Z Gdd„dƒZ d d „Zdd d „Zddd„Zdd„ZeƒdS)éN)Ú StrictVersioné)Ú find_moduleÚ PY_COMPILEDÚ PY_FROZENÚ PY_SOURCE)Ú_imp)ÚRequirerÚ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|dur|durt}|dur0||ƒ}|dur0d}|j tƒ¡|`dS)NÚ __version__)rÚ__dict__ÚupdateÚlocalsÚself)rÚnameÚrequested_versionÚmoduleZhomepageÚ attributeÚformat©rú6/usr/lib/python3.9/site-packages/setuptools/depends.pyÚ__init__szRequire.__init__cCs |jdurd|j|jfS|jS)z0Return full package/distribution name, w/versionNz%s-%s)rr)rrrrÚ full_name"s zRequire.full_namecCs*|jdup(|jdup(t|ƒdko(||jkS)z%Is 'version' sufficiently up-to-date?NÚunknown)rrÚstrr)rÚversionrrrÚ version_ok(sÿzRequire.version_okrcCs~|jdurDz$t|j|ƒ\}}}|r*| ¡|WStyBYdS0t|j|j||ƒ}|durz||urz|jdurz| |¡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)rrrÚcloseÚ ImportErrorr r)rÚpathsÚdefaultÚfÚpÚiÚvrrrÚ get_version-s   zRequire.get_versioncCs| |¡duS)z/Return true if dependency is present on 'paths'N)r')rr!rrrÚ is_presentHszRequire.is_presentcCs | |¡}|durdS| |¡S)z>Return true if dependency is present and up-to-date on 'paths'NF)r'r)rr!rrrrÚ is_currentLs zRequire.is_current)r NN)Nr)N)N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrr'r(r)rrrrr sþ   r cCs"tjdd„ƒ}|s|ƒSt |¡S)Ncss dVdS)NrrrrrÚemptyUszmaybe_close..empty)Ú contextlibÚcontextmanagerÚclosing)r#r.rrrÚ maybe_closeTs  r2éÿÿÿÿc CsÞzt||ƒ\}}\}}}} Wnty2YdS0t|ƒ�†|tkr\| d¡t |¡} nX|tkrrt  ||¡} nB|t krŒt | ¡|dƒ} n(t  ||| ¡} t | |dƒWdƒSWdƒn1sÈ0Yt| ||ƒ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)rr r2rÚreadÚmarshalÚloadrrÚget_frozen_objectrÚcompileZ get_moduleÚgetattrr ) rÚsymbolr"r!r#ÚpathÚsuffixÚmodeÚkindÚinfoÚcodeZimportedrrrr _s    8r c Cs†||jvrdSt|jƒ |¡}d}d}d}|}t |¡D]H}|j} |j} | |kr\|j| }q8| |kr|| |kst| |kr||S|}q8dS)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ÚindexÚdisZBytecodeZopcodeÚargÚ co_consts) rBr<r"Zname_idxZ STORE_NAMEZ STORE_GLOBALZ LOAD_CONSTÚconstZ byte_codeÚoprJrrrr |s  r cCs>tj d¡stjdkrdSd}|D]}tƒ|=t |¡q"dS)z• Patch the globals to remove the objects not available on some platforms. XXX it'd be better to test assertions about bytecode instead. ÚjavaZcliN)r r )ÚsysÚplatformÚ startswithÚglobalsÚ__all__Úremove)Z incompatiblerrrrÚ_update_globals s rU)r3N)r3)rOr7r/rIZdistutils.versionrrrrrrr rSr r2r r rUrrrrÚs  D  $