JFIF$        dd7 

Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/setuptools/__pycache__/depends.cpython-311.pyc

�

tr��͓����ddlZddlZddlZddlZddlmZddlmZmZmZm	Z	ddl
mZgd�ZGd�d��Z
d	�Zdd�Zdd�Zd
�Ze��dS)�N�)�_imp)�find_module�PY_COMPILED�	PY_FROZEN�	PY_SOURCE)�Version)�Requirer�get_module_constant�extract_constantc�@�eZdZdZ	dd�Zd�Zd�Zdd�Zd
d	�Zd
d
�Z	dS)r
z7A prerequisite to building or installing a distribution�Nc��|�	|�t}|�||��}|�d}|j�t����|`dS)N�__version__)r	�__dict__�update�locals�self)r�name�requested_version�module�homepage�	attribute�formats       �r/builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/depends.py�__init__zRequire.__init__sY���>�/�;��F��� &��'8� 9� 9��� �)�	��
���V�X�X�&�&�&��I�I�I�c�@�|j�|j�d|j��S|jS)z0Return full package/distribution name, w/versionN�-)rr)rs r�	full_namezRequire.full_name s*���!�-�"�i�i�i��)?�)?�@�@��y�rc��|jdup9|jdup0t|��dko|�|��|jkS)z%Is 'version' sufficiently up-to-date?N�unknown)rr�strr)r�versions  r�
version_okzRequire.version_ok&sQ��
�N�d�"�
?��{�d�"�
?��7�|�|�y�(�?����G�$�$��(>�>�		
rr"c��|j�C	t|j|��\}}}|r|���|S#t$rYdSwxYwt|j|j||��}|� ||ur|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)rrr�close�ImportErrorrr)r�paths�default�f�p�i�vs       r�get_versionzRequire.get_version/s����>�!�
�%�d�k�5�9�9���1�a����G�G�I�I�I�����
�
�
��t�t�
����
 ���T�^�W�e�L�L���=�Q�g�-�-�$�+�2I��;�;�q�>�>�!��s�0:�
A�Ac�0�|�|��duS)z/Return true if dependency is present on 'paths'N)r/)rr)s  r�
is_presentzRequire.is_presentJs������&�&�d�2�2rc�x�|�|��}|�dS|�t|����S)z>Return true if dependency is present and up-to-date on 'paths'NF)r/r%r#)rr)r$s   r�
is_currentzRequire.is_currentNs7���"�"�5�)�)���?��5����s�7�|�|�,�,�,r)rNN)Nr"�N)
�__name__�
__module__�__qualname__�__doc__rr r%r/r1r3�rrr
r
s�������A�A�TX��������
�
�
�����63�3�3�3�-�-�-�-�-�-rr
c�l�tjd���}|s
|��Stj|��S)Nc3�K�dV�dSr4r9r9rr�emptyzmaybe_close.<locals>.emptyWs����
�����r)�
contextlib�contextmanager�closing)r+r<s  r�maybe_closer@VsE���������
���u�w�w����a� � � r���c�<�	t||��x\}}\}}}}	n#t$rYdSwxYwt|��5|tkr*|�d��tj|��}
n�|tkrtj	||��}
nb|tkr$t|���|d��}
n3tj|||	��}t||d��cddd��Sddd��n#1swxYwYt|
||��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(r@r�read�marshal�loadrr�get_frozen_objectr�compile�
get_module�getattrr)r�symbolr*r)r+�path�suffix�mode�kind�info�code�importeds            rrrbs~���/:�6�5�/I�/I�I�%��4�%�&�$����������t�t�����
�Q���3�3��;���
�F�F�1�I�I�I��<��?�?�D�D�
�Y�
�
��)�&�%�8�8�D�D�
�Y�
�
��1�6�6�8�8�T�6�2�2�D�D���v�u�d�;�;�H��8�V�T�2�2�3�3�3�3�3�3�3�3�3�3�3�3�3�3�3�3�3�3�3����3�3�3�3��D�&�'�2�2�2s��
+�+�B,D�D�	Dc�|�||jvrdSt|j���|��}tjd}tjd}tjd}|}tj|��D]<}|j}	|j}
|	|kr|j|
}�$|
|kr|	|ks|	|kr|cS|}�=dS)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�
STORE_NAME�STORE_GLOBAL�
LOAD_CONST)	�co_names�list�index�dis�opmap�Bytecode�opcode�arg�	co_consts)rRrLr*�name_idxrUrVrW�const�	byte_code�opr_s           rrrs����T�]�"�"��t��D�M�"�"�(�(��0�0�H���<�(�J��9�^�,�L���<�(�J��E��\�$�'�'�	�	�	�
�
���m��
�����N�3�'�E�E�
�H�_�_�"�
�"2�"2�b�L�6H�6H��L�L�L��E�E�	�	rc���tj�d��stjdkrdSd}|D]+}t��|=t�|���,dS)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)�incompatiblers  r�_update_globalsro�sk���<�"�"�6�*�*��s�|�u�/D�/D���<�L������I�I�d�O����t������r)rAN)rA)rhrFr=r[rrrrrr�extern.packaging.versionr	rlr
r@rrror9rr�<module>rqs��
�
�
�
���������
�
�
�
�������@�@�@�@�@�@�@�@�@�@�@�@�-�-�-�-�-�-�P�
O�
O��D-�D-�D-�D-�D-�D-�D-�D-�N	!�	!�	!�3�3�3�3�:!�!�!�!�H���������r
Back to Directory  nL+D550H?Mx ,D"v]qv;6*Zqn)ZP0!1 A "#a$2Qr D8 a Ri[f\mIykIw0cuFcRı?lO7к_f˓[C$殷WF<_W ԣsKcëIzyQy/_LKℂ;C",pFA:/]=H  ~,ls/9ć:[=/#f;)x{ٛEQ )~ =𘙲r*2~ a _V=' kumFD}KYYC)({ *g&f`툪ry`=^cJ.I](*`wq1dđ#̩͑0;H]u搂@:~וKL Nsh}OIR*8:2 !lDJVo(3=M(zȰ+i*NAr6KnSl)!JJӁ* %݉?|D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