_iE d Z ddlZddlZddlZddlZddlmZmZ dZ ej dez Z ej dj ee Ze j dd Z G d d Zd Zej$ D ci c] } e| d c} Zd Zd Z G d d Zedk( r:dZdD ]2 Z edez edj9 eee e 4 yyc c} w )a6 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 N )DistutilsGetoptErrorDistutilsArgErrorz[a-zA-Z](?:[a-zA-Z0-9-]*)z^%s$z^({})=!({})$-_c n e Zd ZdZddZd Zd ZddZd Zd Z d Z d Zd Zd Z dd Zd ZddZddZy)FancyGetopta 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 Nc || _ i | _ | j r| j i | _ i | _ g | _ g | _ i | _ i | _ i | _ g | _ y N)option_tableoption_index_build_indexaliasnegative_alias short_opts long_opts short2long attr_name takes_argoption_orderselfr s /builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_distutils/fancy_getopt.py__init__zFancyGetopt.__init__, sm ) ! c ~ | j j | j D ] }|| j |d <