관리-도구
편집 파일: list.cpython-34.pyc
� �Re� � @ s� d d l m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z m Z Gd d � d e � Z d S)� )�Command)�DistributionNotFound�BestVersionAlreadyInstalled)� PackageFinder)�logger)�InstallRequirement)�get_installed_distributions�dist_is_editable)�make_option_group�index_groupc s� e Z d Z d Z d Z d Z d Z d g Z � f d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z � S)�ListCommandz-List installed packages, including editables.�listz %prog [options]zList installed packages.�pythonc s t t | � j | | � | j } | j d d d d d d d d �| j d d d d d d d d �| j d d d d d d d d �| j d d d d d d d d �| j d d d d d d d �t t | j � } | j j d | � | j j d | � d S)Nz-oz --outdated�action� store_true�defaultF�helpz,List outdated packages (excluding editables)z-uz --uptodatez,List uptodate packages (excluding editables)z-ez --editablezList editable projects.z-lz--localzSIf in a virtualenv that has global access, do not list globally-installed packages.z--prezYInclude pre-release and development versions. By default, pip only finds stable versions.r ) �superr �__init__�cmd_opts� add_optionr r �parser�insert_option_group)�self�args�kwr � index_opts)� __class__� �,/tmp/pip-ztkk0jow-build/pip/commands/list.pyr s<