Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/__pycache__/warnings.cpython-311.pyc

�

�܋fs����dZddlmZddlZddlZddlmZddlmZddl	m
Z
ddlmZee
e
e
fZdZd	�d
d	��ZGd�de��ZGd
�de��ZGd�de��Zd�ZdS)z�Provide basic warnings used by setuptools modules.

Using custom classes (other than ``UserWarning``) allow users to set
``PYTHONWARNINGS`` filters to run tests and prepare for upcoming changes in
setuptools.
�)�annotationsN)�date)�cleandoc)�indent)�Tuplez        zP********************************************************************************z
{details}
c�X�eZdZdZe						ddd
���Ze			ddd���ZdS)�SetuptoolsWarningz/Base class in ``setuptools`` warning hierarchy.N��summary�
str | None�details�due_date�_DueDate | None�see_docs�see_url�
stacklevel�intc���|pt|dd��pd}|pt|dd��pd}	|pt|dd��}|pt|dd��}
|
od|
��}|pt|dd��}|r	t|�nd}|�||	||p||��}
|r0|tj��krt	��r||
���tj|
||d	z�
��dS)�6Private: reserved for ``setuptools`` internal use only�_SUMMARYN��_DETAILS�	_DUE_DATE�	_SEE_DOCSz%https://setuptools.pypa.io/en/latest/�_SEE_URL�)r)�getattrr�_format�today�_should_enforce�warnings�warn)�clsrr
rrrr�kwargs�summary_�details_�docs_ref�docs_url�due�texts              �J/opt/cloudlinux/venv/lib64/python3.11/site-packages/setuptools/warnings.py�emitzSetuptoolsWarning.emits���B�g�c�:�t�<�<�B����B�g�c�:�t�<�<�B����>�w�s�K��>�>���>�w�s�K��>�>���R� R�� R� R���;�W�S�*�d�;�;��!)�3�d�H�o�o�t���{�{�8�X�s�G�4G�x��P�P���	�3�����%�%�/�*;�*;�%��#�d�)�)�O��
�d�C�J��N�;�;�;�;�;�;��str�date | None�format_args�dict | Nonec���tj��}t|���|pi��}t|���|pi��|r
||krd|d�d�nd|r||krdnd|rd|�d�ndg}d�|D��}|rZt	t
�d	�|���
��t��}	d	�|d|	dg��S|S)
rz
By z%Y-%b-%dzi, you need to update your project and remove deprecated calls
or your builds will no longer be supported.Nzy
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.z
See z
 for details.c��g|]}|�|��S�r4)�.0�xs  r+�
<listcomp>z-SetuptoolsWarning._format.<locals>.<listcomp>Os��0�0�0�q�a�0��0�0�0r-�
)r
z!!
z
!!)	rrr�
format_mapr�	_TEMPLATE�format�join�_INDENT)
r#rr
rrr0r�possible_parts�parts�bodys
          r+rzSetuptoolsWarning._format3s9���
�����7�#�#�.�.�{�/@�b�A�A���W���(�(��):��;�;��� (�5� 0� 0�P��X�P�P�P�P��
�� (�5� 0� 0�I�I��07�
A�
,�g�
,�
,�
,�
,�T�
�� 1�0�N�0�0�0���	>��)�*�*�4�9�9�U�3C�3C�*�D�D�g�N�N�D��9�9�g�v�t�V�<�=�=�=��r-)NNNNNr
)rrr
rrrrrrrrr)NNN)
rr.r
r.rr/rrr0r1)�__name__�
__module__�__qualname__�__doc__�classmethodr,rr4r-r+r	r	s�������9�9��#�"�$(�#�"��<�<�<�<��[�<�2�
!%�"�#'�
�����[���r-r	c��eZdZdZdS)�InformationOnlyaCurrently there is no clear way of displaying messages to the users
    that use the setuptools backend directly via ``pip``.
    The only thing that might work is a warning, although it is not the
    most appropriate tool for the job...

    See pypa/packaging-problems#558.
    N�rArBrCrDr4r-r+rGrGVs���������r-rGc��eZdZdZdS)�SetuptoolsDeprecationWarningz�
    Base class for warning deprecations in ``setuptools``

    This class is not derived from ``DeprecationWarning``, and as such is
    visible by default.
    NrHr4r-r+rJrJ`s���������r-rJc�X�tjdd�����}|dvS)N�SETUPTOOLS_ENFORCE_DEPRECATION�false)�true�on�ok�1)�os�getenv�lower)�enforces r+r r is,���i�8�'�B�B�H�H�J�J�G��/�/�/r-)rD�
__future__rrRr!�datetimer�inspectr�textwrapr�typingrr�_DueDater=r:�UserWarningr	rGrJr r4r-r+�<module>r]s?����#�"�"�"�"�"�	�	�	�	�������������������������������c�3����
���6�6�(�6�6�	�=�=�=�=�=��=�=�=�@�����'���������#4����0�0�0�0�0r-

Hacked By AnonymousFox1.0, Coded By AnonymousFox