관리-도구
편집 파일: list.cpython-37.pyc
B ��Re0, � @ s& d dl mZ d dlZd dlZd dlmZ d dlmZ d dlm Z d dl mZ d dlm Z d dlmZ d d lmZ d d lmZ d dlmZmZmZmZ d dlmZ d d lmZ d dlmZ er�d dlm Z d dl!m"Z"m#Z#m$Z$m%Z% d dl&m'Z' d dl(m)Z) e�*e+�Z,G dd� de �Z-dd� Z.dd� Z/dS )� )�absolute_importN)�six)� cmdoptions)�IndexGroupCommand)�SUCCESS)�CommandError)� LinkCollector)� PackageFinder)�SelectionPreferences)�dist_is_editable�get_installed_distributions�tabulate�write_output)� get_installer)�map_multithread)�MYPY_CHECK_RUNNING)�Values)�List�Set�Tuple�Iterator)� PipSession)�Distributionc @ s` e Zd ZdZdZdZdd� Zdd� Zdd � Zd d� Z dd � Z dd� Zdd� Zdd� Z dd� ZdS )�ListCommandzt List installed packages, including editables. Packages are listed in a case-insensitive sorted order. Tz %prog [options]c C s | j jdddddd� | j jddddd d� | j jd ddddd� | j jd ddddd� | j jdddddd� | j �t�� � | j jddddd� | j jddddddd� | j jddddd � | j jd!d"d#d$d � | j jd%dd#d&d'd(� t�tj| j�}| j�d)|� | j�d)| j � d S )*Nz-oz --outdated� store_trueFzList outdated packages)�action�default�helpz-uz --uptodatezList uptodate packagesz-ez --editablezList editable projects.z-lz--localzSIf in a virtualenv that has global access, do not list globally-installed packages.z--user�userz,Only output packages installed in user-site.)�destr r r z--prezYInclude pre-release and development versions. By default, pip only finds stable versions.z--format�store�list_format�columns)r"