Your IP : 3.135.234.164


Current Path : /opt/alt/python313/lib/python3.13/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib/python3.13/site-packages/setuptools/__pycache__/depends.cpython-313.pyc

�

D\Lg����SSKrSSKrSSKrSSKrSSKJr SSKJrJrJrJ	r	 SSK
Jr /SQr"SS5r
S	rS
S
jrSSjrSr\"5 g)�N�)�_imp)�find_module�PY_COMPILED�	PY_FROZEN�	PY_SOURCE)�Version)�Requirer�get_module_constant�extract_constantc�N�\rSrSrSrSSjrSrSrSSjrS
Sjr	S
S	jr
S
rg)r
�z7A prerequisite to building or installing a distributionNc��Uc	Ub[nUb
U"U5nUcSnURR[55 U?g)N�__version__)r	�__dict__�update�locals�self)r�name�requested_version�module�homepage�	attribute�formats       ڋ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-1.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/depends.py�__init__�Require.__init__sJ���>�/�;��F��� &�'8� 9��� �)�	��
�
���V�X�&��I�c�n�URbUR<SUR<3$UR$)z0Return full package/distribution name, w/version�-)rr)rs r�	full_name�Require.full_name s-���!�!�-�"�i�i��)?�)?�@�@��y�y�rc��URSL=(dH URSL=(d3 [U5S:g=(a URU5UR:�$)z%Is 'version' sufficiently up-to-date?N�unknown)rr�strr)r�versions  r�
version_ok�Require.version_ok&sS��
�N�N�d�"�
?��{�{�d�"�
?��7�|�y�(�?����G�$��(>�(>�>�		
rc�2�URc3[URU5up4nU(aUR5 U$[URURX!5nUb"XbLaURbUR
U5$U$![a gf=f)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�ImportErrorrr)r�paths�default�f�p�i�vs       r�get_version�Require.get_version/s����>�>�!�
�%�d�k�k�5�9���a���G�G�I���
 ����T�^�^�W�L���=�Q�-�$�+�+�2I��;�;�q�>�!�����
��
�s�1B	�	
B�Bc�(�URU5SL$)z/Return true if dependency is present on 'paths'N)r2)rr,s  r�
is_present�Require.is_presentJs������&�d�2�2rc�`�URU5nUcgUR[U55$)z>Return true if dependency is present and up-to-date on 'paths'F)r2r'r%)rr,r&s   r�
is_current�Require.is_currentNs-���"�"�5�)���?�����s�7�|�,�,r�)�NN)Nr$�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr!r'r2r5r8�__static_attributes__r:rrr
r
s*��A�TX���
��63�-rr
c�v�[RS5nU(dU"5$[R"U5$)Nc3�# �Sv� g7fr<r:r:rr�empty�maybe_close.<locals>.emptyWs���
��s�)�
contextlib�contextmanager�closing)r.rEs  r�maybe_closerJVs7��������
��w�����a� � rc���[X5=upEupgp�[U5 U[:Xa(UR	S5 [
R"U5n
OsU[:Xa[R"X5n
ORU[:Xa[UR	5US5n
O,[R"XU	5n[X�S5sSSS5 $SSS5 [W
X5$![a gf=f!,(df   N*=f)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+rJr�read�marshal�loadrr�get_frozen_objectr�compile�
get_module�getattrr)r�symbolr-r,r.�path�suffix�mode�kind�info�code�importeds            rrrbs����/:�6�/I�I�%��%�&��

�Q���;��
�F�F�1�I��<�<��?�D�
�Y�
��)�)�&�8�D�
�Y�
��1�6�6�8�T�6�2�D����v�d�;�H��8�T�2�
����D�&�2�2��#�����
��s�C�BC)�
C&�%C&�)
C7c��XR;ag[UR5RU5n[RSn[RSn[RSnUn[R
"U5HFnURn	URn
X�:XaURU
nM1X�:XaX�:XdX�:XaUs $UnMH g)a�Extract 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�
STORE_NAME�STORE_GLOBAL�
LOAD_CONST)	�co_names�list�index�dis�opmap�Bytecode�opcode�arg�	co_consts)r[rUr-�name_idxr^r_r`�const�	byte_code�oprhs           rrrs����]�]�"���D�M�M�"�(�(��0�H����<�(�J��9�9�^�,�L����<�(�J��E��\�\�$�'�	�
�
�
���m�m��
���N�N�3�'�E�
�_�"�"2�b�6H��L��E�(rc���[RRS5(d[RS:wagSnUH#n[5U	[RU5 M% g)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)rr)�sys�platform�
startswith�globals�__all__�remove)�incompatiblers  r�_update_globalsrx�sK���<�<�"�"�6�*�*�s�|�|�u�/D��<�L����I�d�O����t��r)���N)ry)rqrOrGrdr;rrrrr�extern.packaging.versionr	rur
rJrrrxr:rr�<module>r{sQ��
���
��@�@�-�P��D-�D-�N	!�3�:!�H��r

?>