AlkantarClanX12
Current Path : /opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/ |
Current File : //opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/warnings.cpython-312.pyc |
� t��eq � � � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z mZ eeeef Z dZd� d d� �Z G d � de� Z G d� d e� Z G d� 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 � � e Zd ZdZe ddee dee dee dee dee defd �� Z e d dededee dee d ee f d�� Zy)�SetuptoolsWarningz/Base class in ``setuptools`` warning hierarchy.N�summary�details�due_date�see_docs�see_url� stacklevelc � � |xs t | dd� xs d}|xs t | dd� xs d} |xs t | dd� }|xs t | dd� } | xr d| � �}|xs t | dd� }|rt |� nd}| j || ||xs ||� } |r)|t j � k rt � r | | � �t j | | |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 r r r r r �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.emit s� � � �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 � � t j � }t |� j |xs i � }t |� j |xs i � |r||kD rd|d�d�nd|r||k rdnd|rd|� d�ndg}|D �cg c] }|s�|�� } }| rHt t j dj | � � � t � } dj |d | dg� S |S c c}w )r z 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.� )r z!! z !!) r r r � format_mapr � _TEMPLATE�format�join�_INDENT)r r r r r r* r �possible_parts�x�parts�bodys r'