+
     hR  c                   s   R t ^ RIt^ RIHt ^RIHt ^RIHt ]P                  ! ]	4      ;_uu_ 4        ^ RI
t^ RIt^ RIt^ RIt ! R R]P                  P                   4      tRRR4        ! R R]4      tR#   + '       g   i     L; i)	zCdistutils.command.check

Implements the Distutils 'check' command.
N)ClassVar)Command)DistutilsSetupErrorc                   s<   a a ] tR t^t oRV 3R lltR tRtVtV ;t# )SilentReporterc           	     s:   < . V n         \        SV `	  WW4WVV4       R # N)messagesZsuper__init__)	selfsourcereport_level
halt_levelstreamdebugencodingerror_handler	__class__s	   &&&&&&&&H/usr/lib/python3.14/site-packages/setuptools/_distutils/command/check.pyr   ZSilentReporter.__init__   s"     DMGj%=    c                s    V P                   P                  WW434       \        P                  P                  ! V.VO5R VRV P
                  V,          /VB # )levelZtype)r   appenddocutilsnodessystem_messageZlevels)r   r   ZmessageZchildrenZkwargss   &&&*,r   r   ZSilentReporter.system_message"   s\    MM  %(!CD>>00"*/6:kk%6HLR r   )r   )NFZasciiZreplace)	__name__
__module____qualname____firstlineno__r   r   __static_attributes____classdictcell__Z__classcell__)r   __classdict__s   @@r   r   r      s     		 	r   r   c                   sn   a  ] tR t^)t o RtRt. ROt. ROtR tR t	R t
R tR tR tR	 tV 3R
 ltRtV tR# )checkz1This command checks the meta-data of the package.z"perform some checks on the packagec                s>    RV n         ^V n        RV n        ^ V n        R# )z Sets default values for options.FN)restructuredtextmetadatastrict	_warningsr      &r   initialize_optionsZcheck.initialize_options9   s     %r   c                s    R # r    r#   r$   r   finalize_optionsZcheck.finalize_options@   s    r   c                s`    V ;P                   ^,          un         \        P                  ! W4      # )z*Counts the number of warnings that occurs.)r"   r   warn)r   Zmsgs   &&r   r(   Z
check.warnC   s    !||D&&r   c                s   V P                   '       d   V P                  4        V P                  '       d?   R\        4       9   d    V P	                  4        MV P                  '       d   \        R4      hV P                  '       d   V P                  ^ 8  d   \        R4      hR# R#   \
         d   p\        \        T4      4      hRp?ii ; i)zRuns the command.r   NzThe docutils package is needed.zPlease correct your package.)
r    check_metadatar   Zglobalscheck_restructuredtext	TypeErrorr   strr!   r"   )r   Zexcs   & r   runZ	check.runH   s     ===!   WY&8//1 )*KLL ;;;4>>A-%&DEE .; ! 8-c#h778s   B% %C	0CC	c                s    V P                   P                  pR Uu. uF  p\        WR4      '       d   K  VNK  	  ppV'       d2   V P                  RP	                  RP                  V4      4      4       R# R# u upi )z}Ensures that all required elements of meta-data are supplied.

Required fields:
    name, version

Warns if any are missing.
Nzmissing required meta-data: {}z, )ZnameZversion)distributionr    Zgetattrr(   formatZjoin)r   r    ZattrZmissing   &   r   r)   Zcheck.check_metadata[   sp     $$-- 1
0TPT8UDD0 	 
 II6==dii>PQR 	
s
   A7A7c                s    V P                   P                  4       pV P                  V4       FI  pVR,          P                  R4      pVf   V^,          pMV^,           RV R2pV P	                  V4       KK  	  R# )z4Checks if the long string fields are reST-compliant.lineNz (line Z))r.   Zget_long_description_check_rst_dataZgetr(   )r   dataZwarningr1   r0   r   r*   Zcheck.check_restructuredtextl   sm      557++D1G2;??6*D|!!*$QZLvQ7IIg 2r   c           
     s4   V P                   P                  ;'       g    Rp\        P                  P                  P                  4       p\        P                  P                  \        P                  P                  P
                  3R7      P                  4       p^Vn	        RVn
        RVn        \        VVP                  VP                  VP                  VP                   VP"                  VP$                  R7      p\        P&                  P)                  WEVR7      pVP+                  VR	4        VP-                  W4       VP2                  #   \.        \0        3 d9   pTP2                  P5                  R	RT R2R/ 34        Rp?TP2                  # Rp?ii ; i)
z8Returns warnings when the provided data doesn't compile.zsetup.py)Z
componentsN)r   r   r   r   )r   zCould not finish the parsing: Z.Z r2   )r.   Zscript_namer   ZparsersZrstZParserZfrontendZOptionParserZget_default_valuesZ	tab_widthZpep_referencesZrfc_referencesr   r	   r
   Zwarning_streamr   Zerror_encodingZerror_encoding_error_handlerr   documentZnote_sourceZparseZAttributeErrorr+   r   r   )r   r4   Zsource_pathZparserZsettingsZreporterr5   Zes   &&      r   r3   Zcheck._check_rst_dataw   ss    ''33AAz!!%%,,.$$11 ((,,335 2 



 	 "&"&!!!**..,,"??
 >>**8k*R["-	LL(     	* 	$$015	&      	s   1E F#FFc                s   < V ^8  d   Qh/ S[ S[S[S[S[S[3,          ,          ,          ;R&   S[ S[S[,          ,          ;R&   # )i   user_optionsboolean_options)r    ZlistZtupler,   )r/   r   s   "r   Z__annotate__Zcheck.__annotate__)   s?      4c3m 456 	  d3i(U r   )r"   r    r   r!   N))r    ZmzVerify meta-data)r   ZrzEChecks if long string meta-data syntax are reStructuredText-compliant)r!   Zsz(Will exit with an error if a check fails)r    r   r!   )r   r   r   r   __doc__Zdescriptionr6   r7   r%   r'   r(   r-   r)   r*   r3   Z__annotate_func__r   r   )r   s   @r   r   r   )   sI     ;6K:L ,VO'
F&S"	!!]  r   r   )r8   Z
contextlibZtypingr    Zcorer   Zerrorsr   ZsuppressZImportErrorZdocutils.frontendr   Zdocutils.nodesZdocutils.parsers.rstZdocutils.utilsZutilsZReporterr   r   r&   r   r   <module>r9      sg   
    (%%00  &:o!G o!; &%s   0A88B	