$27 GRAYBYTE WORDPRESS FILE MANAGER $42

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

/opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__//depends.cpython-37.pyc
B

��Reb�@s�ddlZddlZddlZddlZddlmZddlmZmZm	Z	m
Z
ddlmZdddd	gZGd
d�d�Z
dd�Zddd�Zddd	�Zdd�Ze�dS)�N)�
StrictVersion�)�find_module�PY_COMPILED�	PY_FROZEN�	PY_SOURCE)�_imp�Requirer�get_module_constant�extract_constantc@sHeZdZdZddd�Zdd�Zdd	�Zddd�Zdd
d�Zddd�Z	dS)r	z7A prerequisite to building or installing a distribution�NcCsF|dkr|dk	rt}|dk	r0||�}|dkr0d}|j�t��|`dS)N�__version__)r�__dict__�update�locals�self)r�name�requested_version�moduleZhomepage�	attribute�format�r��/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/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_okrcCs||jdkrBy"t|j|�\}}}|r*|��|Stk
r@dSXt|j|j||�}|dk	rx||k	rx|jdk	rx|�|�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|�|�dk	S)z/Return true if dependency is present on 'paths'N)r')rr!rrr�
is_presentHszRequire.is_presentcCs |�|�}|dkrdS|�|�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



cCs"tjdd��}|s|�St�|�S)Ncss
dVdS)Nrrrrr�emptyUszmaybe_close.<locals>.empty)�
contextlib�contextmanager�closing)r#r.rrr�maybe_closeTsr2���c	Cs�yt||�\}}\}}}}	Wntk
r2dSXt|��n|tkr\|�d�t�|�}
nJ|tkrrt�	||�}
n4|t
kr�t|��|d�}
nt�|||	�}t
||d�SWdQRXt|
||�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

cCs�||jkrdSt|j��|�}d}d}d}|}xRt�|�D]D}|j}	|j}
|	|kr^|j|
}q:|
|krz|	|ksv|	|krz|S|}q:WdS)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�dis�Bytecode�opcode�arg�	co_consts)rBr<r"Zname_idx�
STORE_NAME�STORE_GLOBAL�
LOAD_CONST�constZ	byte_code�oprLrrrr|s
cCsBtj�d�stjdkrdSd}x|D]}t�|=t�|�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.
    �java�cliN)rr
)�sys�platform�
startswith�globals�__all__�remove)Zincompatiblerrrr�_update_globals�s
r[)r3N)r3)rUr7r/rIZdistutils.versionrrrrrrrrYr	r2r
rr[rrrr�<module>sD

$


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.40 PM
root / linksafe
0755
__init__.cpython-37.pyc
8.459 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
_deprecation_warning.cpython-37.pyc
0.576 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
_imp.cpython-37.pyc
2.078 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
archive_util.cpython-37.pyc
5.61 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
build_meta.cpython-37.pyc
8.722 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
config.cpython-37.pyc
20.177 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
dep_util.cpython-37.pyc
0.878 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
depends.cpython-37.pyc
5.072 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
dist.cpython-37.pyc
35.632 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
errors.cpython-37.pyc
0.869 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
extension.cpython-37.pyc
1.916 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
glob.cpython-37.pyc
3.634 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
installer.cpython-37.pyc
2.724 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
launch.cpython-37.pyc
0.897 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
monkey.cpython-37.pyc
4.509 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
msvc.cpython-37.pyc
41.69 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
namespaces.cpython-37.pyc
3.5 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
package_index.cpython-37.pyc
31.501 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
py34compat.cpython-37.pyc
0.512 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
sandbox.cpython-37.pyc
15.099 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
unicode_utils.cpython-37.pyc
1.119 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
version.cpython-37.pyc
0.361 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
wheel.cpython-37.pyc
6.994 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
windows_support.cpython-37.pyc
1.028 KB
13 Nov 2023 9.35 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF