3
Q'ícD ã @ s` d dl mZ d dlZd dlmZ d dlmZmZmZ d dl m
Z
d dlmZ G dd de
Z
dS ) é )Úabsolute_importN)Ú
WheelCache)ÚInstallRequirementÚRequirementSetÚparse_requirements)ÚCommand)ÚInstallationErrorc s4 e Zd ZdZdZdZdZ fddZdd Z Z S ) ÚUninstallCommandaB
Uninstall packages.
pip is able to uninstall most installed packages. Known exceptions are:
- Pure distutils packages installed with ``python setup.py install``, which
leave behind no metadata to determine what files were installed.
- Script wrappers installed by ``python setup.py develop``.
Ú uninstallzU
%prog [options] <package> ...
%prog [options] -r <requirements file> ...zUninstall packages.c sV t t| j|| | jjddddg ddd | jjdd d
ddd
| jjd| j d S )Nz-rz
--requirementÚrequirementsÚappendÚfilezjUninstall all the packages listed in the given requirements file. This option can be used multiple times.)ÚdestÚactionÚdefaultÚmetavarÚhelpz-yz--yesÚyesÚ
store_truez2Don't ask for confirmation of uninstall deletions.)r r r r )Úsuperr Ú__init__Úcmd_optsÚ
add_optionÚparserÚinsert_option_group)ÚselfÚargsÚkw)Ú __class__© ú5/tmp/pip-build-l_bcah40/pip/pip/commands/uninstall.pyr s zUninstallCommand.__init__c