AlkantarClanX12
Current Path : /opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/check.cpython-35.opt-1.pyc |
��Yfx � @ s� d Z d d l m Z d d l m Z yp d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z Gd d � d e � Z d Z Wn e k r� d Z Yn XGd d � d e � Z d S)zCdistutils.command.check Implements the Distutils 'check' command. � )�Command)�DistutilsSetupError)�Reporter)�Parser)�frontend)�nodes)�StringIOc @ s4 e Z d Z d d d d d d � Z d d � Z d S) �SilentReporterNr �ascii�replacec C s/ g | _ t j | | | | | | | | � d S)N)�messagesr �__init__)�self�source�report_level� halt_level�stream�debug�encoding� error_handler� r �</opt/alt/python35/lib64/python3.5/distutils/command/check.pyr s zSilentReporter.__init__c O sB | j j | | | | f � t j | | d | d | j | | �S)N�level�type)r �appendr �system_messageZlevels)r r �messageZchildren�kwargsr r r r s zSilentReporter.system_message)�__name__� __module__�__qualname__r r r r r r r s r TFc @ s� e Z d Z d Z d Z d d d g Z d d d g Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�checkz6This command checks the meta-data of the package. z"perform some checks on the package�metadata�m�Verify meta-data�restructuredtext�r�EChecks if long string meta-data syntax are reStructuredText-compliant�strict�s�(Will exit with an error if a check failsc C s( d | _ d | _ d | _ d | _ d S)z Sets default values for options.r � N)r% r"