관리-도구
편집 파일: list.cpython-36.pyc
3 �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) ej*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 jtj� � | j jddddd� | j jddddd+dd� | j jdddd d!� | j jd"d#d$d%d!� | j jd&dd$d'd(d)� tjtj| j�}| jjd*|� | jjd*| 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�freeze�jsonzBSelect the output format among: columns (default), freeze, or json)r r r �choicesr z--not-required�not_requiredz>List packages that are not dependencies of installed packages.)r r r z--exclude-editable�store_false�include_editablez%Exclude editable package from output.z--include-editablez%Include editable package from output.T)r r r r r )r"