관리-도구
편집 파일: baseparser.cpython-34.pyc
� �Re� � @ s� d Z d d l Z d d l 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 d d l m Z m Z d d l m Z Gd d � d e j � Z Gd d � d e � Z Gd d � d e j � Z Gd d � d e � Z d S)zBase option parser setup� N)� strtobool)�ConfigParser�string_types)�default_config_file)�get_terminal_size�get_prog)� pkg_resourcesc @ s| e Z d Z d Z d d � Z d d � Z d d d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�PrettyHelpFormatterz4A prettier/less verbose help formatter for optparse.c O sC d | d <d | d <t � d d | d <t j j | | | � d S)N� �max_help_position� �indent_incrementr � �width)r �optparse�IndentedHelpFormatter�__init__)�self�args�kwargs� r �)/tmp/pip-ztkk0jow-build/pip/baseparser.pyr s zPrettyHelpFormatter.__init__c C s | j | d d � S)Nz <%s>z, )�_format_option_strings)r �optionr r r �format_option_strings s z)PrettyHelpFormatter.format_option_stringsz <%s>z, c C s� g } | j r&