File: D:/Python311/Lib/site-packages/setuptools/_distutils/command/__pycache__/check.cpython-311.pyc
�
�nc � �� � d Z ddlZddlmZ ddlmZ ej e� � 5 ddlZ ddl
Z ddlZ ddlZ G d� de j
j � � Zddd� � n# 1 swxY w Y G d� de� � ZdS ) zCdistutils.command.check
Implements the Distutils 'check' command.
� N)�Command)�DistutilsSetupErrorc �. � � e Zd Z d� fd� Zd� Z� xZS )�SilentReporterNr �ascii�replacec �d �� g | _ t � � � |||||||� � d S �N)�messages�super�__init__) �self�source�report_level�
halt_level�stream�debug�encoding�
error_handler� __class__s ��ED:\Python311\Lib\site-packages\setuptools/_distutils/command/check.pyr
zSilentReporter.__init__ sA �� � �D�M��G�G�����j�&�%��=�
�
�
�
�
� c � � | j � ||||f� � t j j |g|�R || j | d�|��S )N)�level�type)r �append�docutils�nodes�system_message�levels)r r �message�children�kwargss r r zSilentReporter.system_message sf � ��M� � �%��(�F�!C�D�D�D��>�0���@H�� �$�4�;�u�+=�� �LR�� �
r )Nr r r )�__name__�
__module__�__qualname__r
r �
__classcell__)r s @r r r sZ �� � � � � � ���#�
�
�
�
�
�
� � � � � � � r r c �P � e Zd ZdZdZg d�Zg d�Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
dS )
�checkz1This command checks the meta-data of the package.z"perform some checks on the package))�metadata�mzVerify meta-data)�restructuredtext�rzEChecks if long string meta-data syntax are reStructuredText-compliant)�strict�sz(Will exit with an error if a check fails)r* r, r. c �>