Files
wg-backend-django/acer-env/lib/python3.10/site-packages/setuptools/__pycache__/depends.cpython-310.pyc

72 lines
5.2 KiB
Plaintext
Raw Normal View History

2022-11-30 15:58:16 +07:00
o
<00>Ԅc{<00>@s<>ddlZddlZddlZddlZddlmZddlmZmZm Z m
Z
ddl mZgd<06>Z Gdd<08>d<08>Z d d
<EFBFBD>Zdd d <0A>Zddd<0F>Zdd<11>Ze<11>dS)<14>N)<01>version<6F>)<04> find_module<6C> PY_COMPILED<45> PY_FROZEN<45> PY_SOURCE)<01>_imp)<04>Requirer<00>get_module_constant<6E>extract_constantc@sLeZdZdZ  ddd<05>Zdd<07>Zdd <09>Zdd d <0C>Zdd d<0E>Zddd<10>Z dS)r z7A prerequisite to building or installing a distribution<6F>NcCsH|dur |dur tj}|dur||<02>}|durd}|j<02>t<04><00>|`dS)N<> __version__)r<00>Version<6F>__dict__<5F>update<74>locals<6C>self)r<00>name<6D>requested_version<6F>module<6C>homepage<67> attribute<74>format<61>r<00>e/home/infidel/Sync/Project/ocp-wg-backend/acer-env/lib/python3.10/site-packages/setuptools/depends.py<70>__init__szRequire.__init__cCs |jdur d|j|jfS|jS)z0Return full package/distribution name, w/versionNz%s-%s)rr)rrrr<00> full_name#s
zRequire.full_namecCs0|jdup|jdupt|<01>dko|<00>|<01>|jkS)z%Is 'version' sufficiently up-to-date?N<>unknown)rr<00>strr)rrrrr<00>
version_ok)s<02>zRequire.version_okrcCs~|jdur"zt|j|<01>\}}}|r|<03><03>|WSty!YdSwt|j|j||<01>}|dur=||ur=|jdur=|<00>|<06>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<00>close<73> ImportErrorr
r)r<00>paths<68>default<6C>f<>p<>i<>vrrr<00> get_version.s
 <02>
zRequire.get_versioncCs|<00>|<01>duS)z/Return true if dependency is present on 'paths'N)r()rr"rrr<00>
is_presentIszRequire.is_presentcCs$|<00>|<01>}|dur dS|<00>t|<02><01>S)z>Return true if dependency is present and up-to-date on 'paths'NF)r(rr)rr"rrrr<00>
is_currentMs
zRequire.is_current)r NN)Nr<00>N)
<EFBFBD>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__rrrr(r)r*rrrrr s
<EFBFBD>

r cCs"tjdd<02><00>}|s |<01>St<00>|<00>S)Ncss <00>dVdSr+rrrrr<00>emptyVs<02>zmaybe_close.<locals>.empty)<03>
contextlib<EFBFBD>contextmanager<65>closing)r$r0rrr<00> maybe_closeUs


r4<00><><EFBFBD><EFBFBD><EFBFBD>c Cs<>zt||<03>\}}\}}}} Wn
tyYdSwt|<04><01>C|tkr.|<04>d<02>t<05>|<04>}
n,|tkr9t<08> ||<03>}
n!|t
krFt |<04><04>|d<03>}
nt<08> ||| <09>} t | |d<01>Wd<00>SWd<00>n1sdwYt|
||<02>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<><00>exec)rr!r4r<00>read<61>marshal<61>loadrr<00>get_frozen_objectr<00>compile<6C>
get_module<EFBFBD>getattrr ) r<00>symbolr#r"r$<00>path<74>suffix<69>mode<64>kind<6E>info<66>code<64>importedrrrr
`s& <02>

 
<10><02> r
c Cs<>||jvrdSt|j<00><01>|<01>}d}d}d}|}t<03>|<00>D]$}|j} |j}
| |kr.|j|
}q|
|kr>| |ks:| |kr>|S|}qdS)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<00>a<00>d)<08>co_names<65>list<73>index<65>dis<69>Bytecode<64>opcode<64>arg<72> co_consts) rEr?r#<00>name_idx<64>
STORE_NAME<EFBFBD> STORE_GLOBAL<41>
LOAD_CONST<EFBFBD>const<73> byte_code<64>oprPrrrr }s
 <04>r cCs>tj<01>d<01>s tjdkr dSd}|D] }t<03>|=t<04>|<01>qdS)z<>
Patch the globals to remove the objects not available on some platforms.
XXX it'd be better to test assertions about bytecode instead.
<20>java<76>cliN)r r
)<06>sys<79>platform<72>
startswith<EFBFBD>globals<6C>__all__<5F>remove)<02> incompatiblerrrr<00>_update_globals<6C>s <04>rb)r5N)r5)r[r9r1rM<00>setuptools.extern.packagingrrrrrrr r_r r4r
r rbrrrr<00><module>s  D
$