File "setopt.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pyc
File size: 6.71 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


Rec@sddlmZddlmZddlmZddlZddlZddlmZddl	m
Z
ddd	d
gZddZe
d
Zd	e
fdYZd
efdYZdS(i(tconvert_path(tlog(tDistutilsOptionErrorN(tconfigparser(tCommandtconfig_filetedit_configtoption_basetsetopttlocalcCs|dkrdS|dkr>tjjtjjtjdS|dkrtjdkr_dpbd}tjjtd	|St	d
|dS(sGet the filename of the distutils, local, global, or per-user config

    `kind` must be one of "local", "global", or "user"
    R	s	setup.cfgtglobals
distutils.cfgtusertposixt.ts~/%spydistutils.cfgs7config_file() type must be 'local', 'global', or 'user'N(
tostpathtjointdirnamet	distutilst__file__tnamet
expanduserRt
ValueError(tkindtdot((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pyRs	c	Cstjd|tj}|j|gx+|jD]\}}|d	krttjd|||j|q9|j	|stjd|||j
|nx|jD]\}}|d	kr&tjd||||j|||j|sRtjd|||j|qRqtjd|||||j
|||qWq9Wtjd||st|d}|j|Wd	QXnd	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.
    sReading 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(RtdebugRtRawConfigParsertreadtitemstNonetinfotremove_sectionthas_sectiontadd_sectiont
remove_optiontoptionstsettopentwrite(	tfilenametsettingstdry_runtoptstsectionR%toptiontvaluetf((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pyR!s8
	
cBs;eZdZdd
dgZddgZd
ZdZRS(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=R0s-configuration file to use (default=setup.cfg)cCsd|_d|_d|_dS(N(Rt
global_configtuser_configR)(tself((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pytinitialize_options\s		cCsg}|jr%|jtdn|jrD|jtdn|jdk	rf|j|jn|s|jtdnt|dkrtd|n|\|_dS(NR
RR	is/Must specify only one configuration file option(R3tappendRR4R)RtlenR(R5t	filenames((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pytfinalize_optionsas		(s
global-configR1s0save options to the site-wide distutils.cfg file(suser-configR2s7save options to the current user's pydistutils.cfg file(s	filename=R0s-configuration file to use (default=setup.cfg)(t__name__t
__module__t__doc__tuser_optionstboolean_optionsR6R:(((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pyRLs		cBsXeZdZdZddddgejZejdgZdZdZdZ	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 valuecCs5tj|d|_d|_d|_d|_dS(N(RR6RtcommandR.t	set_valueRC(R5((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pyR6s

			cCsftj||jdks+|jdkr:tdn|jdkrb|jrbtdndS(Ns%Must specify --command *and* --options$Must specify --set-value or --remove(RR:RERR.RRFRC(R5((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pyR:s

cCs=t|jii|j|jjdd6|j6|jdS(Nt-t_(RR)RFR.treplaceRER+(R5((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pytruns	#(scommand=R@scommand to set an option for(soption=RAs
option to set(s
set-value=RBsvalue of the option(RCRDsremove (unset) the value(
R;R<R=tdescriptionRR>R?R6R:RJ(((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pyRss
		(tdistutils.utilRRRtdistutils.errorsRRtsetuptools.extern.six.movesRt
setuptoolsRt__all__RtFalseRRR(((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/setopt.pyt<module>s+'