403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/distutils/command/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/distutils/command/check.pyc
ó
—|_c@sàdZdZddlmZddlmZddlmZypddlm	Z	ddl
mZddlm
Z
dd	lmZdd
lmZde	fd„ƒYZeZWnek
rĊeZnXd
efd„ƒYZdS(sCdistutils.command.check

Implements the Distutils 'check' command.
s$Id$i˙˙˙˙(tCommand(tPKG_INFO_ENCODING(tDistutilsSetupError(tReporter(tParser(tfrontend(tnodes(tStringIOtSilentReportercBs&eZddddd„Zd„ZRS(itasciitreplacec	Cs/g|_tj||||||||ƒdS(N(tmessagesRt__init__(tselftsourcetreport_levelt
halt_leveltstreamtdebugtencodingt
error_handler((s-/usr/lib/python2.7/distutils/command/check.pyRs	cOs |jj||||fƒdS(N(Rtappend(R
tleveltmessagetchildrentkwargs((s-/usr/lib/python2.7/distutils/command/check.pytsystem_messagesN(t__name__t
__module__tNoneRR(((s-/usr/lib/python2.7/distutils/command/check.pyRstcheckcBsqeZdZdZdddgZdddgZd„Zd„Zd
„Zd„Z	d„Z
d„Zd„ZRS(s6This command checks the meta-data of the package.
    s"perform some checks on the packagetmetadatatmsVerify meta-datatrestructuredtexttrsEChecks if long string meta-data syntax are reStructuredText-complianttstricttss(Will exit with an error if a check failscCs(d|_d|_d|_d|_dS(s Sets default values for options.iiN(R!RR#t	_warnings(R
((s-/usr/lib/python2.7/distutils/command/check.pytinitialize_options0s			cCsdS(N((R
((s-/usr/lib/python2.7/distutils/command/check.pytfinalize_options7scCs|jd7_tj||ƒS(s*Counts the number of warnings that occurs.i(R%Rtwarn(R
tmsg((s-/usr/lib/python2.7/distutils/command/check.pyR(:scCsx|jr|jƒn|jrMtr2|jƒqM|jrMtdƒ‚qMn|jrt|jdkrttdƒ‚ndS(sRuns the command.sThe docutils package is needed.isPlease correct your package.N(Rtcheck_metadataR!tHAS_DOCUTILStcheck_restructuredtextR#RR%(R
((s-/usr/lib/python2.7/distutils/command/check.pytrun?s	
	
	cCsß|jj}g}x<dD]4}t||ƒo:t||ƒs|j|ƒqqW|rt|jddj|ƒƒn|jr|jsÛ|jddƒqÛn>|j	rĈ|j
sÛ|jdd	ƒqÛn|jd
ddƒd
S(sÏ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.
        tnametversionturlsmissing required meta-data: %ss, s)missing meta-data: if 'author' supplied, s#'author_email' must be supplied toos-missing meta-data: if 'maintainer' supplied, s''maintainer_email' must be supplied toos4missing meta-data: either (author and author_email) s%or (maintainer and maintainer_email) smust be suppliedN(snamesversionR0(tdistributionRthasattrtgetattrRR(tjointauthortauthor_emailt
maintainertmaintainer_email(R
Rtmissingtattr((s-/usr/lib/python2.7/distutils/command/check.pyR*Os$
						cCs›|jjƒ}t|tƒs0|jtƒ}nxd|j|ƒD]S}|djdƒ}|dkrr|d}nd|d|f}|j	|ƒq@WdS(s4Checks if the long string fields are reST-compliant.i˙˙˙˙tlineis%s (line %s)N(
R1tget_long_descriptiont
isinstancetunicodetdecodeRt_check_rst_datatgetRR((R
tdatatwarningR;((s-/usr/lib/python2.7/distutils/command/check.pyR,ms
cCsîtƒ}tƒ}tjƒjƒ}d|_d
|_d
|_t	||j
|jd|jd|j
d|jd|jƒ}tj||d|ƒ}|j|dƒy|j||ƒWn-tk
rĉ|jjddd	ifƒnX|jS(s8Returns warnings when the provided data doesn't compile.iRRRRRi˙˙˙˙sCould not finish the parsing.tN(RRRtOptionParsertget_default_valuest	tab_widthRtpep_referencestrfc_referencesRRRtwarning_streamRterror_encodingterror_encoding_error_handlerRtdocumenttnote_sourcetparsetAttributeErrorRR(R
RBtsource_pathtparsertsettingstreporterRM((s-/usr/lib/python2.7/distutils/command/check.pyR@zs*									
(smetadataR sVerify meta-data(srestructuredtextR"sEChecks if long string meta-data syntax are reStructuredText-compliant(sstrictR$s(Will exit with an error if a check fails(
RRt__doc__tdescriptiontuser_optionstboolean_optionsR&R'R(R-R*R,R@(((s-/usr/lib/python2.7/distutils/command/check.pyR#s							
N(RUt__revision__tdistutils.coreRtdistutils.distRtdistutils.errorsRtdocutils.utilsRtdocutils.parsers.rstRtdocutilsRRRRtTrueR+tImportErrortFalseR(((s-/usr/lib/python2.7/distutils/command/check.pyt<module>s




Youez - 2016 - github.com/yon3zu
LinuXploit