Your IP : 18.227.140.152


Current Path : /opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/warnings.cpython-312.pyc

�

t��eq���dZddlZddlZddlmZddlmZddlmZddl	m
Z
mZeeeefZ
dZd�d	d��ZGd
�de�ZGd�d
e�ZGd�de�Zd�Zy)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.
�N)�date)�cleandoc)�indent)�Optional�Tuplez        zP********************************************************************************z
{details}
c��eZdZdZe						ddeedeedeedeedeedefd	��Z	e			d
dededee
deed
eef
d��Zy)�SetuptoolsWarningz/Base class in ``setuptools`` warning hierarchy.N�summary�details�due_date�see_docs�see_url�
stacklevelc��|xst|dd�xsd}|xst|dd�xsd}	|xs
t|dd�}|xs
t|dd�}
|
xrd|
��}|xs
t|dd�}|rt|�nd}|j||	||xs||�}
|r)|tj�krt	�r||
��tj|
||d	z�
�y)�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)�clsr
rrr
rr�kwargs�summary_�details_�docs_ref�docs_url�due�texts              ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/warnings.py�emitzSetuptoolsWarning.emits����B�g�c�:�t�<�B����B�g�c�:�t�<�B����>�w�s�K��>���>�w�s�K��>���R�"G��z� R���;�W�S�*�d�;��!)�d�H�o�t���{�{�8�X�s�G�4G�x��P���3�����%�/�*;��d�)�O��
�
�d�C�J��N�;��format_argsc��tj�}t|�j|xsi�}t|�j|xsi�|r||kDrd|d�d�nd|r||krdnd|rd|�d�ndg}|D�cgc]}|s�|��	}	}|	rHt	t
j
dj|	��	�t�}
dj|d
|
dg�S|Scc}w)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.�
)rz!!
z
!!)	rrr�
format_mapr�	_TEMPLATE�format�join�_INDENT)rr
rrrr*r�possible_parts�x�parts�bodys           r'rzSetuptoolsWarning._format1s����
�
����7�#�.�.�{�/@�b�A���W��(�(��):��;���5� 0����*�+P�P��
��5� 0�I��07�v�g�Y�m�
,�T�
�� +�0�q�a��0��0���)�*�*�4�9�9�U�3C�*�D�g�N�D��9�9�g�v�t�V�<�=�=����	1s�8C�C)NNNNN�)NNN)
�__name__�
__module__�__qualname__�__doc__�classmethodr�str�_DueDate�intr(r�dictr�r)r'r	r	s���9��"&�!%�'+�"&�!%��<��#��<��#��<��8�$�	<�
�3�-�<��#��
<��<��<�2�
$(�!%�&*�
������4�.�	�
�#����d�^�
��r)r	c��eZdZdZy)�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�r7r8r9r:r@r)r'rBrBTs��r)rBc��eZdZdZy)�SetuptoolsDeprecationWarningz�
    Base class for warning deprecations in ``setuptools``

    This class is not derived from ``DeprecationWarning``, and as such is
    visible by default.
    NrCr@r)r'rErE^s��r)rEc�R�tjdd�j�}|dvS)N�SETUPTOOLS_ENFORCE_DEPRECATION�false)�true�on�ok�1)�os�getenv�lower)�enforces r'rrgs(���i�i�8�'�B�H�H�J�G��/�/�/r))r:rMr�datetimer�inspectr�textwrapr�typingrrr>r=r1r.�UserWarningr	rBrErr@r)r'�<module>rVso���
�����"���c�3����
���
�/�(��6�	�=��=�@�'���#4��0r)

?>