관리-도구
편집 파일: warnings.cpython-311.pyc
� N�Dgq � �� � 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� 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. � N)�date)�cleandoc)�indent)�Optional�Tuplez zP********************************************************************************z {details} c �� � e Zd ZdZe d dee dee dee dee dee d efd �� � Z e ddededee dee dee f d�� � ZdS )�SetuptoolsWarningz/Base class in ``setuptools`` warning hierarchy.N� �summary�details�due_date�see_docs�see_url� stacklevelc �� � |pt | dd� � pd}|pt | dd� � pd} |pt | dd� � }|pt | dd� � } | od| � �}|pt | dd� � }|r t |� nd}| � || ||p||� � } |r0|t j � � k rt � � r | | � � �t j | | |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)�clsr r r r r r �kwargs�summary_�details_�docs_ref�docs_url�due�texts �s/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/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� 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�;�;�;�;�;�;� �format_argsc �� � t j � � }t |� � � |pi � � }t |� � � |pi � � |r ||k rd|d�d�nd|r||k rdnd|rd|� d�ndg}d� |D � � }|rZt t � d � |� � � � � t � � } d � |d| dg� � S |S ) 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.c � � g | ]}|�|��S � r. )�.0�xs r( � <listcomp>z-SetuptoolsWarning._format.<locals>.<listcomp>M s � �0�0�0�q�a�0��0�0�0r* � )r z!! z !!) r r r � format_mapr � _TEMPLATE�format�join�_INDENT) r r r r r r+ r �possible_parts�parts�bodys r( r zSetuptoolsWarning._format1 s9 � � � �����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 )NNN) �__name__� __module__�__qualname__�__doc__�classmethodr �str�_DueDate�intr) r �dictr r. r* r( r r s � � � � � �9�9�� "&�!%�'+�"&�!%��<� <��#��<� �#��<� �8�$� <� �3�-�<� �#�� <� �<� <� <� �[�<�2 � $(�!%�&*� � ��� �� �4�.� � �#��� �d�^� � � � �[�� � r* r c � � e Zd ZdZdS )�InformationOnlya Currently 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�r; r<