/usr/lib64/python2.6/distutils
NameSizeModeActions
command/-0755rm
archive_util.py63190644editdlrm
archive_util.pyc54970644editdlrm
archive_util.pyo54970644editdlrm
bcppcompiler.py150910644editdlrm
bcppcompiler.pyc81050644editdlrm
bcppcompiler.pyo81050644editdlrm
ccompiler.py488630644editdlrm
ccompiler.pyc378260644editdlrm
ccompiler.pyo376330644editdlrm
cmd.py192530644editdlrm
cmd.pyc169300644editdlrm
cmd.pyo169300644editdlrm
config.py41640644editdlrm
config.pyc36940644editdlrm
config.pyo36940644editdlrm
core.py90810644editdlrm
core.pyc76980644editdlrm
core.pyo76980644editdlrm
cygwinccompiler.py172920644editdlrm
cygwinccompiler.pyc95290644editdlrm
cygwinccompiler.pyo95290644editdlrm
debug.py2650644editdlrm
debug.pyc2990644editdlrm
debug.pyo2990644editdlrm
dep_util.py36320644editdlrm
dep_util.pyc32000644editdlrm
dep_util.pyo32000644editdlrm
dir_util.py81220644editdlrm
dir_util.pyc69040644editdlrm
dir_util.pyo69040644editdlrm
dist.py480070644editdlrm
dist.pyc381640644editdlrm
dist.pyo381640644editdlrm
emxccompiler.py119120644editdlrm
emxccompiler.pyc75500644editdlrm
emxccompiler.pyo75500644editdlrm
errors.py37200644editdlrm
errors.pyc63580644editdlrm
errors.pyo63580644editdlrm
extension.py103250644editdlrm
extension.pyc74080644editdlrm
extension.pyo71830644editdlrm
fancy_getopt.py184270644editdlrm
fancy_getopt.pyc124940644editdlrm
fancy_getopt.pyo123000644editdlrm
filelist.py128720644editdlrm
filelist.pyc108150644editdlrm
filelist.pyo108150644editdlrm
file_util.py83160644editdlrm
file_util.pyc68710644editdlrm
file_util.pyo68710644editdlrm
log.py16060644editdlrm
log.pyc25710644editdlrm
log.pyo25710644editdlrm
msvc9compiler.py287010644editdlrm
msvc9compiler.pyc205030644editdlrm
msvc9compiler.pyo204310644editdlrm
msvccompiler.py237600644editdlrm
msvccompiler.pyc177950644editdlrm
msvccompiler.pyo177950644editdlrm
mwerkscompiler.py103390644editdlrm
mwerkscompiler.pyc76740644editdlrm
mwerkscompiler.pyo76740644editdlrm
README10140644editdlrm
spawn.py69910644editdlrm
spawn.pyc55980644editdlrm
spawn.pyo55980644editdlrm
sysconfig.py228690644editdlrm
sysconfig.pyc160110644editdlrm
sysconfig.pyo160110644editdlrm
text_file.py151450644editdlrm
text_file.pyc112510644editdlrm
text_file.pyo112510644editdlrm
unixccompiler.py144940644editdlrm
unixccompiler.pyc90970644editdlrm
unixccompiler.pyo90970644editdlrm
util.py219780644editdlrm
util.pyc164260644editdlrm
util.pyo164260644editdlrm
version.py114860644editdlrm
version.pyc72440644editdlrm
version.pyo72440644editdlrm
versionpredicate.py50950644editdlrm
versionpredicate.pyc55970644editdlrm
versionpredicate.pyo55970644editdlrm
__init__.py6700644editdlrm
__init__.pyc4390644editdlrm
__init__.pyo4390644editdlrm
Edit: /usr/lib64/python2.6/distutils/fancy_getopt.pyo (12300B)
Ñò «gc @sSdZdZddkZddkZddkZddkTddkZddkTdZei deƒZ ei deefƒZ ei dd ƒZ d fd „ƒYZd „Zei eid eeiƒƒZd„Zd„Zdfd„ƒYZedjoKdZx>ddddfD]*ZdeGHeieeeƒdƒGHHqWndS(s6distutils.fancy_getopt Wrapper around the standard getopt module that provides the following additional features: * short and long options are tied together * options have help strings, so fancy_getopt could potentially create a complete usage summary * options set attributes of a passed-in object sB$Id: fancy_getopt.py 60923 2008-02-21 18:18:37Z guido.van.rossum $iÿÿÿÿN(t*s[a-zA-Z](?:[a-zA-Z0-9-]*)s^%s$s ^(%s)=!(%s)$t-t_t FancyGetoptcBs¤eZdZdd„Zd„Zd„Zddd„Zd„Zd„Z d„Z d„Z d „Z d „Z ddd „Zd „Zdd „Zddd„ZRS(sÕWrapper around the standard 'getopt()' module that provides some handy extra functionality: * short and long options are tied together * options have help strings, and help text can be assembled from them * options set attributes of a passed-in object * boolean options can have "negative aliases" -- eg. if --quiet is the "negative alias" of --verbose, then "--quiet" on the command line sets 'verbose' to false cCsv||_h|_|io|iƒnh|_h|_g|_g|_h|_h|_h|_ g|_ dS(N( t option_tablet option_indext _build_indextaliastnegative_aliast short_optst long_optst short2longt attr_namet takes_argt option_order(tselfR((s./usr/lib64/python2.6/distutils/fancy_getopt.pyt__init__.s          cCs6|iiƒx"|iD]}||i|d= 2is:invalid short option '%s': must a single character or Noneiÿÿÿÿt=t:s>invalid negative alias '%s': aliased option '%s' takes a valuesginvalid alias '%s': inconsistent with aliased option '%s' (one of them takes a value, the other doesn'tsinvalid long option name '%s' s'(must be letters, numbers, hyphens onlyN(R R R RtrepeatRtlent ValueErrorttypet StringTypeRtNoneRR RtgetRt longopt_retmatchRR (RRtlongtshortthelpR(talias_to((s./usr/lib64/python2.6/distutils/fancy_getopt.pyt_grok_option_table“sf      &  &       c Csë|djotid}n|djotƒ}d}nd}|iƒti|iƒ}y"ti|||i ƒ\}}Wn!ti j o}t |‚nXx(|D] \}}t |ƒdjo&|ddjo|i |d}n |d}|ii|ƒ} | o | }n|i|p3|ii|ƒ} | o| }d}q`d}n|i|} |o3|ii| ƒdj ot|| dƒd}nt|| |ƒ|ii||fƒq­W|o ||fS|SdS(sParse command-line options in args. Store as attributes on object. If 'args' is None or not supplied, uses 'sys.argv[1:]'. If 'object' is None or not supplied, creates a new OptionDummy object, stores option values there, and returns a tuple (args, object). If 'object' is supplied, it is modified in place and 'getopt()' just returns 'args'; in both cases, the returned 'args' is a modified copy of the passed-in 'args' list, which is left untouched. iiiRN(R-tsystargvt OptionDummyR5RtjoinR tgetoptR terrortDistutilsArgErrorR)R RR.R RR R(tgetattrtsetattrRR( Rtargstobjecttcreated_objectR toptstmsgR"tvalRtattr((s./usr/lib64/python2.6/distutils/fancy_getopt.pyR:ësD     " $       cCs(|idjo td‚n|iSdS(s«Returns the list of (option, value) tuples processed by the previous run of 'getopt()'. Raises RuntimeError if 'getopt()' hasn't been called yet. s!'getopt()' hasn't been called yetN(RR-t RuntimeError(R((s./usr/lib64/python2.6/distutils/fancy_getopt.pytget_option_order+s c Csñd}x‚|iD]w}|d}|d}t|ƒ}|ddjo|d}n|dj o|d}n||jo |}qqW|ddd}d}||} d|} |o |g} n d g} x|iD] }|d \}}} t| | ƒ} |ddjo|dd!}n|djoD| o"| id ||| dfƒqÃ| id ||fƒnKd ||f}| o"| id ||| dfƒn| id|ƒx#| dD]}| i| |ƒqÎWqÞW| S(sŒGenerate help text (a list of strings, one per suggested line of output) from the option table for this FancyGetopt object. iiiÿÿÿÿR&iiiNt sOption summary:is --%-*s %ss --%-*s s%s (-%s)s --%-*sN(RR)R-t wrap_textR(Rtheadertmax_optRR1R2tlt opt_widtht line_widtht text_widtht big_indenttlinesR3ttextt opt_names((s./usr/lib64/python2.6/distutils/fancy_getopt.pyt generate_help6sL            "  cCsI|djo ti}nx(|i|ƒD]}|i|dƒq*WdS(Ns (R-R6tstdoutRTtwrite(RRJtfiletline((s./usr/lib64/python2.6/distutils/fancy_getopt.pyt print_helpŠs   N(t__name__t __module__t__doc__R-RRRRRRR#R$R%R5R:RGRTRY(((s./usr/lib64/python2.6/distutils/fancy_getopt.pyR"s  ,      X@ TcCs)t|ƒ}|i|ƒ|i||ƒS(N(RR%R:(toptionst negative_optR@R?tparser((s./usr/lib64/python2.6/distutils/fancy_getopt.pyt fancy_getopt“s  RHcCs‘|djogSt|ƒ|jo|gSti|ƒ}ti|tƒ}tid|ƒ}td|ƒ}g}x|o g}d}x{|ost|dƒ}|||jo&|i |dƒ|d=||}qŽ|o |dddjo |d=nPqŽW|o_|djo.|i |dd|!ƒ|d||d [string] Split 'text' into multiple lines of no more than 'width' characters each, and return the list of strings that results. s( +|-+)iiÿÿÿÿRHtN( R-R)Rt expandtabsRtWS_TRANStretsplittfilterRR9(RRtwidthtchunksRQtcur_linetcur_lenRL((s./usr/lib64/python2.6/distutils/fancy_getopt.pyRI›s>   cCsti|tƒS(sXConvert a long option name to a valid Python identifier by changing "-" to "_". (RRR(R"((s./usr/lib64/python2.6/distutils/fancy_getopt.pyttranslate_longoptØsR8cBseZdZgd„ZRS(s_Dummy class just used as a place to hold command-line option values as instance attributes.cCs%x|D]}t||dƒqWdS(skCreate a new OptionDummy instance. The attributes listed in 'options' will be initialized to None.N(R>R-(RR]R"((s./usr/lib64/python2.6/distutils/fancy_getopt.pyRãs(RZR[R\R(((s./usr/lib64/python2.6/distutils/fancy_getopt.pyR8ßst__main__s¢Tra-la-la, supercalifragilisticexpialidocious. How *do* you spell that odd word, anyways? (Someone ask Mary -- she'll know [or she'll say, "How should I know?"].)i iii(s width: %ds (R\t __revision__R6RRdttypesR:tdistutils.errorst longopt_pattcompileR/t neg_alias_ret maketransRRR`t whitespaceR)RcRIRkR8RZRRtwR9(((s./usr/lib64/python2.6/distutils/fancy_getopt.pyt s.$   ÿr " =