MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/2/cwd/usr/lib/python2.4/site-packages/setuptools/command/setopt.pyo
mò
Èk8Hc@sšdkZdkZdklZdklZdklZdkTddddgZd	d
„Z	e
d„Zdefd„ƒYZdefd
„ƒYZ
dS(N(sCommand(sconvert_path(slog(t*tconfig_filetedit_configtoption_basetsetopttlocalcCs£|djodSn|djo&tiitiitiƒdƒSn|djo;tidjodpd}tii	t
d	|ƒƒSntd
|ƒ‚dS(sGet the filename of the distutils, local, global, or per-user config

    `kind` must be one of "local", "global", or "user"
    Rs	setup.cfgtglobals
distutils.cfgtusertposixt.ts~/%spydistutils.cfgs7config_file() type must be 'local', 'global', or 'user'N(tkindtostpathtjointdirnamet	distutilst__file__tnametdott
expandusertconvert_patht
ValueError(RR((t=/usr/lib/python2.4/site-packages/setuptools/command/setopt.pyR
s

&
c
Cs±dkl}tid|ƒ|ƒ}|i|gƒx3|iƒD]%\}}|d
jo$tid||ƒ|i
|ƒqC|i|ƒp$tid||ƒ|i|ƒnx±|iƒD]£\}	}|d
jo^tid||	|ƒ|i||	ƒ|i
|ƒp$tid||ƒ|i
|ƒqdqÁtid||	||ƒ|i||	|ƒqÁWqCWtid|ƒ|p*t|d	ƒ}|i|ƒ|iƒnd
S(sYEdit a configuration file to include `settings`

    `settings` is a dictionary of dictionaries or ``None`` values, keyed by
    command/section name.  A ``None`` value means to delete the entire section,
    while a dictionary lists settings to be changed or deleted in that section.
    A setting of ``None`` means to delete that setting.
    (sRawConfigParsersReading configuration from %ssDeleting section [%s] from %ssAdding new section [%s] to %ssDeleting %s.%s from %ss#Deleting empty [%s] section from %ssSetting %s.%s to %r in %ss
Writing %stwN(tConfigParsertRawConfigParsertlogtdebugtfilenametoptstreadtsettingstitemstsectiontoptionstNonetinfotremove_sectionthas_sectiontadd_sectiontoptiontvaluet
remove_optiontsettdry_runtopentftwritetclose(
RR R-R"R/R*RR#RR)((RR*s:
	



	
	
	cBs;tZdZdd
dgZddgZd
„Zd„ZRS(s<Abstract base class for commands that mess with config filess
global-configtgs0save options to the site-wide distutils.cfg filesuser-configtus7save options to the current user's pydistutils.cfg files	filename=R/s-configuration file to use (default=setup.cfg)cCsd|_d|_d|_dS(N(R$tselft
global_configtuser_configR(R4((Rtinitialize_optionscs		cCsÀg}|io|itdƒƒn|io|itdƒƒn|idj	o|i|iƒn|p|itdƒƒnt|ƒdjot	d|ƒ‚n|\|_dS(NRRRis/Must specify only one configuration file option(
t	filenamesR4R5tappendRR6RR$tlentDistutilsOptionError(R4R8((Rtfinalize_optionshs


(s
global-configR2s0save options to the site-wide distutils.cfg file(suser-configR3s7save options to the current user's pydistutils.cfg file(s	filename=R/s-configuration file to use (default=setup.cfg)(t__name__t
__module__t__doc__tuser_optionstboolean_optionsR7R<(((RRSs
		cBsXtZdZdZddddgeiZeidgZd„Zd„Zd„Z	RS(s#Save command-line options to a files1set an option in setup.cfg or another config filescommand=tcscommand to set an option forsoption=tos
option to sets
set-value=tssvalue of the optiontremovetrsremove (unset) the valuecCs5ti|ƒd|_d|_d|_d|_dS(N(RR7R4R$tcommandR)t	set_valueRE(R4((RR7Šs

			cCslti|ƒ|idjp|idjotdƒ‚n|idjo|iotdƒ‚ndS(Ns%Must specify --command *and* --options$Must specify --set-value or --remove(	RR<R4RGR$R)R;RHRE(R4((RR<‘s

 c
CsAt|ih|ih|iiddƒ|i<<|iƒdS(Nt-t_(RR4RRGR)treplaceRHR-(R4((Rtrun˜s3(scommand=RBscommand to set an option for(soption=RCs
option to set(s
set-value=RDsvalue of the option(sremoveRFsremove (unset) the value(
R=R>R?tdescriptionRR@RAR7R<RL(((RR|s		(RRt
setuptoolstCommandtdistutils.utilRRtdistutils.errorst__all__RtFalseRRR(
RRRRRRRORRRR((Rt?s


 ))