Your IP : 18.221.160.29


Current Path : /lib/python2.7/site-packages/pip/commands/
Upload File :
Current File : //lib/python2.7/site-packages/pip/commands/uninstall.pyc

�
��abc@@s�ddlmZddlZddlmZddlmZmZmZddl	m
Z
ddlmZde
fd��YZ
dS(	i(tabsolute_importN(t
WheelCache(tInstallRequirementtRequirementSettparse_requirements(tCommand(tInstallationErrortUninstallCommandcB@s2eZdZdZdZdZd�Zd�ZRS(sB
    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``.
    t	uninstallsU
      %prog [options] <package> ...
      %prog [options] -r <requirements file> ...sUninstall packages.c
O@s�tt|�j||�|jjdddddddgdd	d
d�|jjdd
ddddd
d�|jjd|j�dS(Ns-rs
--requirementtdesttrequirementstactiontappendtdefaulttmetavartfilethelpsjUninstall all the packages listed in the given requirements file.  This option can be used multiple times.s-ys--yestyest
store_trues2Don't ask for confirmation of uninstall deletions.i(tsuperRt__init__tcmd_optst
add_optiontparsertinsert_option_group(tselftargstkw((s:/usr/lib/python2.7/site-packages/pip/commands/uninstall.pyRs				c
C@s4|j|��}tjjt�t��}t|j|�}tddddddd|j	d|d|�}x3|D]+}|j
tj|d|j	d|��qvWxG|j
D]<}x3t|d|d|d|�D]}	|j
|	�q�Wq�W|jstdtd	|j���n|jd
|j�WdQXdS(Nt	build_dirtsrc_dirtdownload_dirtisolatedtsessiontwheel_cachetoptionssLYou must give at least one requirement to %(name)s (see "pip help %(name)s")tnametauto_confirm(t_build_sessiontpiptindext
FormatControltsetRt	cache_dirRtNonet
isolated_modetadd_requirementRt	from_lineR
Rthas_requirementsRtdictR#RR(
RR"RR tformat_controlR!trequirement_setR#tfilenametreq((s:/usr/lib/python2.7/site-packages/pip/commands/uninstall.pytrun-s6		

	(t__name__t
__module__t__doc__R#tusagetsummaryRR5(((s:/usr/lib/python2.7/site-packages/pip/commands/uninstall.pyR
s		(t
__future__RR&t	pip.wheelRtpip.reqRRRtpip.basecommandRtpip.exceptionsRR(((s:/usr/lib/python2.7/site-packages/pip/commands/uninstall.pyt<module>s

?>