//usr/lib64/lib64//lib64/lib64//ó
ÛœSec @ sý d Z d Z d d l Z d d l Z d d l Z d d l Z d d l m Z m Z d Z e j
d e ƒ Z e j
d e e f ƒ Z e j
d d ƒ Z d
f d „ ƒ YZ d „ Z e j
e j d
e e j ƒ ƒ Z d „ Z d „ Z d f d „ ƒ YZ d S( s6 distutils.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
s $Id$iÿÿÿÿN( t DistutilsGetoptErrort DistutilsArgErrors [a-zA-Z](?:[a-zA-Z0-9-]*)s ^%s$s ^(%s)=!(%s)$t -t _t FancyGetoptc B s¤ e Z d Z d d „ Z d „ Z d „ Z d d d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z d
„ Z
d d d „ Z d „ Z d d
„ Z d d d „ Z RS( 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
c C st | | _ i | _ | j r( | j ƒ n i | _ i | _ g | _ g | _ i | _ i | _ i | _ g | _
d S( N( t option_tablet option_indext _build_indext aliast negative_aliast
short_optst long_optst
short2longt attr_namet takes_argt option_order( t selfR ( ( s. /usr/lib64/python2.7/distutils/fancy_getopt.pyt __init__- s
c C s6 | j j ƒ x" | j D] } | | j | d