$96 GRAYBYTE WORDPRESS FILE MANAGER $51

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python35/lib/python3.5/site-packages/setuptools/__pycache__/

HOME
Current File : /opt/alt/python35/lib/python3.5/site-packages/setuptools/__pycache__//depends.cpython-35.pyc


�Re��@s�ddlZddlZddlZddlmZddlmZmZmZmZddl	m
Z
dddd	gZGd
d�d�Zddd�Z
ddd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@sseZdZdZddddd�Zdd�Zdd	�Zdd
dd�Zdd
d�Zddd�Z	dS)r	z7A prerequisite to building or installing a distribution�NcCse|dkr|dk	rt}|dk	rH||�}|dkrHd}|jjt��|`dS)N�__version__)r�__dict__�update�locals�self)r�name�requested_version�moduleZhomepage�	attribute�format�r��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/depends.py�__init__szRequire.__init__cCs*|jdk	r#d|j|jfS|jS)z0Return full package/distribution name, w/versionNz%s-%s)rr)rrrr�	full_name szRequire.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�|jdkr[y3t|j|�\}}}|r=|j�|SWntk
rZdSYnXt|j|j||�}|dk	r�||k	r�|jdk	r�|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�ImportErrorrr)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)
�__name__�
__module__�__qualname__�__doc__rrrr(r)r*rrrrr	s
c
Cs�|jd�}x�|r�|jd�}tj||�\}}\}}}}	|tkrv|pgdg}|g}q|rtd||f��qW|	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
Csy%t||�\}}\}}}Wntk
r=dSYnXz�|tkrl|jd�tj|�}	n�|tkr�tj|�}	nl|t	kr�t
|j�|d�}	nE|tjkr�tj
||||||f�ttj||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�coderrrres$%
	
cCs�||jkrdSt|j�j|�}d}d}d}|}xpt|�D]b}|j}	|j}
|	|kr�|j|
}qP|
|kr�|	|ks�|	|kr�|S|}qPWdS)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�indexr�opcode�arg�	co_consts)rFrEr#Zname_idx�
STORE_NAME�STORE_GLOBAL�
LOAD_CONST�constZ	byte_code�oprNrrrr�s		$cCsXtjjd�r&tjdkr&dSd}x%|D]}t�|=tj|�q3WdS)z�
    Patch the globals to remove the objects not available on some platforms.

    XXX it'd be better to test assertions about bytecode instead.
    �java�cliNrr)rr)rA�platform�
startswith�globals�__all__�remove)Zincompatiblerrrr�_update_globals�s"

r\���r])rAr2r=Zdistutils.versionrrrrrZ
py33compatrrZr	r
rrr\rrrr�<module>s"C"$


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.37 PM
root / linksafe
0755
__init__.cpython-35.pyc
5.898 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
archive_util.cpython-35.pyc
5.423 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
config.cpython-35.pyc
15.043 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
dep_util.cpython-35.pyc
0.915 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
depends.cpython-35.pyc
5.575 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
dist.cpython-35.pyc
36.89 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
extension.cpython-35.pyc
2.089 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
glob.cpython-35.pyc
4.128 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
launch.cpython-35.pyc
0.938 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
lib2to3_ex.cpython-35.pyc
2.573 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
monkey.cpython-35.pyc
5.43 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
msvc.cpython-35.pyc
36.324 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
namespaces.cpython-35.pyc
3.845 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
package_index.cpython-35.pyc
34.696 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
py26compat.cpython-35.pyc
1.116 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
py27compat.cpython-35.pyc
0.872 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
py31compat.cpython-35.pyc
2.004 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
py33compat.cpython-35.pyc
1.337 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
py36compat.cpython-35.pyc
2.376 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
sandbox.cpython-35.pyc
16.6 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
site-patch.cpython-35.pyc
1.701 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
ssl_support.cpython-35.pyc
7.07 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
unicode_utils.cpython-35.pyc
1.262 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
version.cpython-35.pyc
0.368 KB
13 Nov 2023 9.23 PM
root / linksafe
0644
windows_support.cpython-35.pyc
1.083 KB
13 Nov 2023 9.23 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF