U
��.e�
� @ s| d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dl m
Z
d dlmZ d dl
mZ d d
ddhZG d
d� de�ZdS )� )�absolute_importN)�
WheelCache)�
cmdoptions)�Command)�
FormatControl)�freeze)�stdlib_pkgsZpipZ
setuptoolsZ
distributeZwheelc s0 e Zd ZdZdZdZ� fdd�Zdd� Z� ZS )�
FreezeCommandzx
Output installed packages in requirements format.
packages are listed in a case-insensitive sorted order.
z
%prog [options])�ext://sys.stderrr
c s� t t| �j||� | jjddddg ddd� | jjdd d
dg ddd� | jjd
dddddd� | jjdddddd� | j�t�� � | jjddddd�t� d� | jjddddd� | j �
d| j� d S ) Nz-rz
--requirement�requirements�append�filez}Use the order in the given requirements file and its comments when generating output. This option can be used multiple times.)�dest�action�default�metavar�helpz-fz--find-links�
find_linksZURLz