[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.223.170.253: ~ $


��Yfx�@s�dZddlmZddlmZypddlmZddlmZddl	m
Z
ddl	mZddlm
Z
Gd	d
�d
e�ZdZWnek
r�dZYnXGd
d�de�ZdS)zCdistutils.command.check

Implements the Distutils 'check' command.
�)�Command)�DistutilsSetupError)�Reporter)�Parser)�frontend)�nodes)�StringIOc@s4eZdZdddddd�Zdd�ZdS)	�SilentReporterNr�ascii�replacec	Cs/g|_tj||||||||�dS)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__cOsB|jj||||f�tj||d|d|j||�S)N�level�type)r�appendr�system_messageZlevels)rr�messageZchildren�kwargsrrrrs	zSilentReporter.system_message)�__name__�
__module__�__qualname__r
rrrrrr	sr	TFc@s�eZdZdZdZdddgZddd	gZdd
�Zdd�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dS)�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 failscCs(d|_d|_d|_d|_dS)z Sets default values for options.r�N)r%r"r(�	_warnings)rrrr�initialize_options1s			zcheck.initialize_optionscCsdS)Nr)rrrr�finalize_options8szcheck.finalize_optionscCs|jd7_tj||�S)z*Counts the number of warnings that occurs.r+)r,r�warn)r�msgrrrr/;sz
check.warncCsl|jr|j�|jrDtr/|j�n|jrDtd��|jrh|jdkrhtd��dS)zRuns the command.zThe docutils package is needed.rzPlease correct your package.N)r"�check_metadatar%�HAS_DOCUTILS�check_restructuredtextr(rr,)rrrr�run@s	
	
	z	check.runcCs�|jj}g}x9dD]1}t||�o:t||�s|j|�qW|rn|jddj|��|jr�|js�|jdd�n;|j	r�|j
s�|jdd	�n|jd
dd�d
S)z�Ensures that all required elements of meta-data are supplied.

        name, version, URL, (author and author_email) or
        (maintainer and maintainer_email)).

        Warns if any are missing.
        �name�version�urlzmissing required meta-data: %sz, z)missing meta-data: if 'author' supplied, z#'author_email' must be supplied tooz-missing meta-data: if 'maintainer' supplied, z''maintainer_email' must be supplied tooz4missing meta-data: either (author and author_email) z%or (maintainer and maintainer_email) zmust be suppliedN)r5r6r7)�distributionr"�hasattr�getattrrr/�joinZauthorZauthor_emailZ
maintainerZmaintainer_email)rr"Zmissing�attrrrrr1Ps$
						zcheck.check_metadatacCsz|jj�}xd|j|�D]S}|djd�}|dkrQ|d}nd|d|f}|j|�qWdS)z4Checks if the long string fields are reST-compliant.r+�lineNz%s (line %s)���)r8Zget_long_description�_check_rst_data�getr/)r�dataZwarningr=rrrr3ns
zcheck.check_restructuredtextcCst�}t�}tjdtf�j�}d|_d|_d|_t||j	|j
d|jd|jd|j
d|j�}tj||d|�}|j|d�y|j||�WnEtk
r}z%|jjd
d
|dif�WYdd}~XnX|jS)z8Returns warnings when the provided data doesn't compile.Z
components�Nrrrrrr+z!Could not finish the parsing: %s.�r>r>)rrrZOptionParserZget_default_valuesZ	tab_widthZpep_referencesZrfc_referencesr	rrZwarning_streamrZerror_encodingZerror_encoding_error_handlerr�documentZnote_source�parse�AttributeErrorrr)rrA�source_path�parserZsettingsZreporterrD�errrr?ys*										*zcheck._check_rst_dataN)r"r#r$)r%r&r')r(r)r*)rrr �__doc__ZdescriptionZuser_optionsZboolean_optionsr-r.r/r4r1r3r?rrrrr!$s	r!N)rJZdistutils.corerZdistutils.errorsrZdocutils.utilsrZdocutils.parsers.rstrZdocutilsrr�iorr	r2�	Exceptionr!rrrr�<module>s



Filemanager

Name Type Size Permission Actions
__init__.cpython-35.opt-1.pyc File 571 B 0644
__init__.cpython-35.opt-2.pyc File 442 B 0644
__init__.cpython-35.pyc File 571 B 0644
bdist.cpython-35.opt-1.pyc File 3.95 KB 0644
bdist.cpython-35.opt-2.pyc File 3.74 KB 0644
bdist.cpython-35.pyc File 3.95 KB 0644
bdist_dumb.cpython-35.opt-1.pyc File 3.85 KB 0644
bdist_dumb.cpython-35.opt-2.pyc File 3.64 KB 0644
bdist_dumb.cpython-35.pyc File 3.85 KB 0644
bdist_msi.cpython-35.opt-1.pyc File 21.15 KB 0644
bdist_msi.cpython-35.opt-2.pyc File 19.62 KB 0644
bdist_msi.cpython-35.pyc File 21.25 KB 0644
bdist_rpm.cpython-35.opt-1.pyc File 13.72 KB 0644
bdist_rpm.cpython-35.opt-2.pyc File 13.39 KB 0644
bdist_rpm.cpython-35.pyc File 13.8 KB 0644
bdist_wininst.cpython-35.opt-1.pyc File 8.7 KB 0644
bdist_wininst.cpython-35.opt-2.pyc File 8.54 KB 0644
bdist_wininst.cpython-35.pyc File 8.77 KB 0644
build.cpython-35.opt-1.pyc File 4.18 KB 0644
build.cpython-35.opt-2.pyc File 4.08 KB 0644
build.cpython-35.pyc File 4.18 KB 0644
build_clib.cpython-35.opt-1.pyc File 5.25 KB 0644
build_clib.cpython-35.opt-2.pyc File 4.69 KB 0644
build_clib.cpython-35.pyc File 5.25 KB 0644
build_ext.cpython-35.opt-1.pyc File 17.59 KB 0644
build_ext.cpython-35.opt-2.pyc File 15.66 KB 0644
build_ext.cpython-35.pyc File 17.59 KB 0644
build_py.cpython-35.opt-1.pyc File 11.11 KB 0644
build_py.cpython-35.opt-2.pyc File 9.91 KB 0644
build_py.cpython-35.pyc File 11.18 KB 0644
build_scripts.cpython-35.opt-1.pyc File 4.58 KB 0644
build_scripts.cpython-35.opt-2.pyc File 4.17 KB 0644
build_scripts.cpython-35.pyc File 4.58 KB 0644
check.cpython-35.opt-1.pyc File 5.09 KB 0644
check.cpython-35.opt-2.pyc File 4.52 KB 0644
check.cpython-35.pyc File 5.09 KB 0644
clean.cpython-35.opt-1.pyc File 2.28 KB 0644
clean.cpython-35.opt-2.pyc File 2.17 KB 0644
clean.cpython-35.pyc File 2.28 KB 0644
config.cpython-35.opt-1.pyc File 10.75 KB 0644
config.cpython-35.opt-2.pyc File 7.5 KB 0644
config.cpython-35.pyc File 10.75 KB 0644
install.cpython-35.opt-1.pyc File 14.62 KB 0644
install.cpython-35.opt-2.pyc File 13.57 KB 0644
install.cpython-35.pyc File 14.62 KB 0644
install_data.cpython-35.opt-1.pyc File 2.46 KB 0644
install_data.cpython-35.opt-2.pyc File 2.3 KB 0644
install_data.cpython-35.pyc File 2.46 KB 0644
install_egg_info.cpython-35.opt-1.pyc File 3.11 KB 0644
install_egg_info.cpython-35.opt-2.pyc File 2.42 KB 0644
install_egg_info.cpython-35.pyc File 3.11 KB 0644
install_headers.cpython-35.opt-1.pyc File 1.78 KB 0644
install_headers.cpython-35.opt-2.pyc File 1.6 KB 0644
install_headers.cpython-35.pyc File 1.78 KB 0644
install_lib.cpython-35.opt-1.pyc File 5.47 KB 0644
install_lib.cpython-35.opt-2.pyc File 4.89 KB 0644
install_lib.cpython-35.pyc File 5.47 KB 0644
install_scripts.cpython-35.opt-1.pyc File 2.28 KB 0644
install_scripts.cpython-35.opt-2.pyc File 2.13 KB 0644
install_scripts.cpython-35.pyc File 2.28 KB 0644
register.cpython-35.opt-1.pyc File 8.98 KB 0644
register.cpython-35.opt-2.pyc File 7.72 KB 0644
register.cpython-35.pyc File 8.98 KB 0644
sdist.cpython-35.opt-1.pyc File 13.79 KB 0644
sdist.cpython-35.opt-2.pyc File 10.66 KB 0644
sdist.cpython-35.pyc File 13.79 KB 0644
upload.cpython-35.opt-1.pyc File 5.55 KB 0644
upload.cpython-35.opt-2.pyc File 5.4 KB 0644
upload.cpython-35.pyc File 5.55 KB 0644