/opt/imh-python/lib/python3.9/distutils/command/__pycache__
NameSizeModeActions
bdist.cpython-39.opt-1.pyc36140644editdlrm
bdist.cpython-39.opt-2.pyc34200644editdlrm
bdist.cpython-39.pyc36140644editdlrm
bdist_dumb.cpython-39.opt-1.pyc35970644editdlrm
bdist_dumb.cpython-39.opt-2.pyc33970644editdlrm
bdist_dumb.cpython-39.pyc35970644editdlrm
bdist_msi.cpython-39.opt-1.pyc197120644editdlrm
bdist_msi.cpython-39.opt-2.pyc181710644editdlrm
bdist_msi.cpython-39.pyc197790644editdlrm
bdist_rpm.cpython-39.opt-1.pyc121840644editdlrm
bdist_rpm.cpython-39.opt-2.pyc118650644editdlrm
bdist_rpm.cpython-39.pyc122340644editdlrm
bdist_wininst.cpython-39.opt-1.pyc85040644editdlrm
bdist_wininst.cpython-39.opt-2.pyc83650644editdlrm
bdist_wininst.cpython-39.pyc85540644editdlrm
build.cpython-39.opt-1.pyc38900644editdlrm
build.cpython-39.opt-2.pyc38070644editdlrm
build.cpython-39.pyc38900644editdlrm
build_clib.cpython-39.opt-1.pyc48090644editdlrm
build_clib.cpython-39.opt-2.pyc42550644editdlrm
build_clib.cpython-39.pyc48090644editdlrm
build_ext.cpython-39.opt-1.pyc162000644editdlrm
build_ext.cpython-39.opt-2.pyc142430644editdlrm
build_ext.cpython-39.pyc162000644editdlrm
build_py.cpython-39.opt-1.pyc103900644editdlrm
build_py.cpython-39.opt-2.pyc91830644editdlrm
build_py.cpython-39.pyc104420644editdlrm
build_scripts.cpython-39.opt-1.pyc43390644editdlrm
build_scripts.cpython-39.opt-2.pyc39450644editdlrm
build_scripts.cpython-39.pyc43390644editdlrm
check.cpython-39.opt-1.pyc49180644editdlrm
check.cpython-39.opt-2.pyc42870644editdlrm
check.cpython-39.pyc49180644editdlrm
clean.cpython-39.opt-1.pyc20910644editdlrm
clean.cpython-39.opt-2.pyc20080644editdlrm
clean.cpython-39.pyc20910644editdlrm
config.cpython-39.opt-1.pyc102210644editdlrm
config.cpython-39.opt-2.pyc68840644editdlrm
config.cpython-39.pyc102210644editdlrm
install.cpython-39.opt-1.pyc135490644editdlrm
install.cpython-39.opt-2.pyc124940644editdlrm
install.cpython-39.pyc135490644editdlrm
install_data.cpython-39.opt-1.pyc22940644editdlrm
install_data.cpython-39.opt-2.pyc21490644editdlrm
install_data.cpython-39.pyc22940644editdlrm
install_egg_info.cpython-39.opt-1.pyc30290644editdlrm
install_egg_info.cpython-39.opt-2.pyc23500644editdlrm
install_egg_info.cpython-39.pyc30290644editdlrm
install_headers.cpython-39.opt-1.pyc17190644editdlrm
install_headers.cpython-39.opt-2.pyc15530644editdlrm
install_headers.cpython-39.pyc17190644editdlrm
install_lib.cpython-39.opt-1.pyc50910644editdlrm
install_lib.cpython-39.opt-2.pyc45100644editdlrm
install_lib.cpython-39.pyc50910644editdlrm
install_scripts.cpython-39.opt-1.pyc21420644editdlrm
install_scripts.cpython-39.opt-2.pyc20080644editdlrm
install_scripts.cpython-39.pyc21420644editdlrm
register.cpython-39.opt-1.pyc84620644editdlrm
register.cpython-39.opt-2.pyc71970644editdlrm
register.cpython-39.pyc84620644editdlrm
sdist.cpython-39.opt-1.pyc144890644editdlrm
sdist.cpython-39.opt-2.pyc111300644editdlrm
sdist.cpython-39.pyc144890644editdlrm
upload.cpython-39.opt-1.pyc52380644editdlrm
upload.cpython-39.opt-2.pyc51120644editdlrm
upload.cpython-39.pyc52380644editdlrm
__init__.cpython-39.opt-1.pyc4840644editdlrm
__init__.cpython-39.opt-2.pyc3750644editdlrm
__init__.cpython-39.pyc4840644editdlrm
Edit: /opt/imh-python/lib/python3.9/distutils/command/__pycache__/check.cpython-39.pyc (4918B)
a dh@sdZddlmZddlmZzHddlmZddlmZddl m Z ddl m Z Gdd d eZ d Z Wneyzd Z Yn0Gd d d eZdS)zCdistutils.command.check Implements the Distutils 'check' command. )Command)DistutilsSetupError)Reporter)Parser)frontend)nodesc@seZdZd ddZddZdS) SilentReporterNrasciireplacec Cs"g|_t||||||||dSN)messagesr__init__)selfsource report_level halt_levelstreamdebugencoding error_handlerr8/opt/imh-python/lib/python3.9/distutils/command/check.pyr szSilentReporter.__init__cOs8|j||||ftj|g|R||j|d|S)N)leveltype)r appendrsystem_messageZlevels)rrmessageZchildrenkwargsrrrrszSilentReporter.system_message)Nrr r )__name__ __module__ __qualname__r rrrrrrs rTFc@s\eZdZdZdZgdZgdZddZddZd d Z d d Z d dZ ddZ ddZ dS)checkz6This command checks the meta-data of the package. z"perform some checks on the package))metadatamzVerify meta-data)restructuredtextrzEChecks if long string meta-data syntax are reStructuredText-compliant)strictsz(Will exit with an error if a check fails)r"r$r&cCsd|_d|_d|_d|_dS)z Sets default values for options.rN)r$r"r& _warningsrrrrinitialize_options0szcheck.initialize_optionscCsdSr rr*rrrfinalize_options7szcheck.finalize_optionscCs|jd7_t||S)z*Counts the number of warnings that occurs.r()r)rwarn)rmsgrrrr-:sz check.warncCsL|jr||jr0tr"|n|jr0td|jrH|jdkrHtddS)zRuns the command.zThe docutils package is needed.rzPlease correct your package.N)r"check_metadatar$ HAS_DOCUTILScheck_restructuredtextr&rr)r*rrrrun?s z check.runcCs|jj}g}dD]"}t||r(t||s||q|rL|dd||jrd|js|dn"|j r||j s|dn |ddS)a Ensures that all required elements of meta-data are supplied. Required fields: name, version, URL Recommended fields: (author and author_email) or (maintainer and maintainer_email)) Warns if any are missing. )nameversionurlzmissing required meta-data: %sz, zNmissing meta-data: if 'author' supplied, 'author_email' should be supplied toozVmissing meta-data: if 'maintainer' supplied, 'maintainer_email' should be supplied toozkmissing meta-data: either (author and author_email) or (maintainer and maintainer_email) should be suppliedN) distributionr"hasattrgetattrrr-joinZauthorZ author_emailZ maintainerZmaintainer_email)rr"missingattrrrrr/Os    zcheck.check_metadatacCsX|j}||D]>}|dd}|dur8|d}nd|d|f}||qdS)z4Checks if the long string fields are reST-compliant.lineNr(z %s (line %s))r6Zget_long_description_check_rst_datagetr-)rdatawarningr=rrrr1ps  zcheck.check_restructuredtextc Cs|jjp d}t}tjtfd}d|_d|_d|_t ||j |j |j |j |j|jd}tj|||d}||dz|||Wn<ty}z$|jdd|d ifWYd}~n d}~00|jS) z8Returns warnings when the provided data doesn't compile.zsetup.py) componentsN)rrrr)rr<z!Could not finish the parsing: %s.)r6Z script_namerrZ OptionParserZget_default_valuesZ tab_widthZpep_referencesZrfc_referencesrrrZwarning_streamrZerror_encodingZerror_encoding_error_handlerrdocumentZ note_sourceparseAttributeErrorr r)rr@ source_pathparserZsettingsZreporterrEerrrr>{s.  zcheck._check_rst_dataN)rrr __doc__ descriptionZ user_optionsZboolean_optionsr+r,r-r2r/r1r>rrrrr!#s! r!N)rKZdistutils.corerZdistutils.errorsrZdocutils.utilsrZdocutils.parsers.rstrZdocutilsrrrr0 Exceptionr!rrrrs