Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
warnings.cpython-313.pyc58 linesDownload Raw Back to __pycache__
1�

2��j�����%SrSSKJr SSKrSSKrSSKJr SSKJr SSK	J3r4 SSKJr \(aSSK
Jr \\\\4rS	\S5'SrSS
S3r"SS\5r"SS\5r"SS\5rSrg)z�Provide basic warnings used by setuptools modules.6 7Using custom classes (other than ``UserWarning``) allow users to set8``PYTHONWARNINGS`` filters to run tests and prepare for upcoming changes in9setuptools.10�)�annotationsN)�date)�cleandoc)�indent)�
TYPE_CHECKING)�	TypeAliasr�_DueDatez        zP********************************************************************************z11{details}12c��\rSrSrSr\SSSjj5r\S	S13Sjj5rSrg)�SetuptoolsWarning�z/Base class in ``setuptools`` warning hierarchy.Nc��U=(d [USS5=(d SnU=(d [USS5=(d Sn	U=(d
 [USS5nU=(d
 [USS5n14U15=(a SU163nU=(d
 [USS5nU(a[U6OSnURX�X�=(d UU5n
U(a0U[R"5:a[	5(aU"U
5e[17R"X�US	-S189 g)�6Private: reserved for ``setuptools`` internal use only�_SUMMARYN��_DETAILS�	_DUE_DATE�	_SEE_DOCSz%https://setuptools.pypa.io/en/latest/�_SEE_URL�)�19stacklevel)�getattrr�_format�today�_should_enforce�warnings�warn)�cls�summary�details�due_date�see_docs�see_urlr�kwargs�summary_�details_�docs_ref�docs_url�due�texts              �YD:\code\apps\devtools\python\user_packages\Python313\site-packages\setuptools/warnings.py�emit�SetuptoolsWarning.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�s�4G�x��P���3�����%�/�*;�*;��d�)�O��
�
�d�J��N�;�c���[R"5n[U5RU=(d 05n[U5RU=(d 05U(aX6:�aSUSS3OSU(aX6:aSOSU(aSUS3OS/nUVs/sH
o�(dMUPM n	nU	(aE[	[20R
SRU	5S	9[5n21SRUS22U23S/5$U$s snf)rz24By z%Y-%b-%dzi, you need to update your project and remove deprecated calls25or your builds will no longer be supported.Nzy26This deprecation is overdue, please update your project and remove deprecated27calls to avoid build errors in the future.z28See z
 for details.�29)rz!!30z31!!)	rrr�32format_mapr�	_TEMPLATE�format�join�_INDENT)rrrr r"�format_argsr�possible_parts�x�parts�bodys           r*r�SetuptoolsWarning._format6s����33�34����7�#�.�.�{�/@�b�A���W��(�(��):��;��� 0����*�+P�P��35�� 0�I��07�v�g�Y�m�
,�T�36�� +�0�N�q�a��N��0���)�*�*�4�9�9�U�3C�*�D�g�N�D��9�9�g�v�t�V�<�=�=����	1s�37C6� C6�)NNNNN�)r�38str | Nonerr=r z_DueDate | Noner!r=r"r=r�int�return�None)NNN)r�strrrAr zdate | Noner"r=r5zdict | Noner?rA)	�__name__�39__module__�__qualname__�__firstlineno__�__doc__�classmethodr+r�__static_attributes__r;r-r*rrs���9��#�"�$(�#�"��<��<��<�"�	<�40�<��
<��<�41�<��<�2�42!%�"�#'�
������	�43��!�
�44
���r-rc��\rSrSrSrSrg)�InformationOnly�YaCurrently there is no clear way of displaying messages to the users45that use the setuptools backend directly via ``pip``.46The only thing that might work is a warning, although it is not the47most appropriate tool for the job...48 49See pypa/packaging-problems#558.50r;N�rBrCrDrErFrHr;r-r*rJrJYs��r-rJc��\rSrSrSrSrg)�SetuptoolsDeprecationWarning�cz�51Base class for warning deprecations in ``setuptools``52 53This class is not derived from ``DeprecationWarning``, and as such is54visible by default.55r;NrLr;r-r*rNrNcs��r-rNc�V�[R"SS5R5nUS;$)N�SETUPTOOLS_ENFORCE_DEPRECATION�false)�true�on�ok�1)�os�getenv�lower)�enforces r*rrls(���i�i�8�'�B�H�H�J�G��/�/�/r-)rF�56__future__rrWr�datetimer�inspectr�textwrapr�typingr�typing_extensionsr�tupler>r	�__annotations__r4r1�UserWarningrrJrNrr;r-r*�<module>rds}���#�	����� ��+��C��c�M�*��)�*�57���58�/�(��6�	�=��=�@�'���#4��0r-
codekingpro/portable-devtools · Team Ai