ok
Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/ |
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/main_parser.pyc |
� x�_c @ s� d Z d d l Z d d l Z d d l m Z d d l m Z m Z d d l m Z m Z d d l m Z d d l m Z m Z d d l m Z e r� d d l m Z m Z n d d g Z d � Z d � Z d S( s= A single place for constructing and exposing the main parser i����N( t cmdoptions( t ConfigOptionParsert UpdatingDefaultsHelpFormatter( t commands_dictt get_similar_commands( t CommandError( t get_pip_versiont get_prog( t MYPY_CHECK_RUNNING( t Tuplet Listt create_main_parsert parse_commandc C s� i d d 6t d 6t � d 6d d 6t � d 6} t | � } | j � t � | _ t j t j | � } | j | � t | _ d g g t j � D] \ } } d j t � � ^ q� } d j | � | _ | S( s6 Creates and returns the main parser for pip's CLI s %prog <command> [options]t usaget add_help_optiont formattert globalt namet progt s {name:27} {command_info.summary}s ( t FalseR R R t disable_interspersed_argsR t versionR t make_option_groupt general_groupt add_option_groupt Truet mainR t itemst formatt localst joint description( t parser_kwt parsert gen_optsR t command_infoR ( ( sN /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/main_parser.pyR s"