Current File : //proc/self/root/proc/2/cwd/opt/alt/python35/lib/python3.5/site-packages/pip/commands/uninstall.pyc
�
�wMVc@sVddlmZmZmZddlmZddlmZdefd��YZdS(i����(tInstallRequirementtRequirementSettparse_requirements(tCommand(tInstallationErrortUninstallCommandcBs2eZdZdZdZdZd�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
Os�tt|�j||�|jjdddddddgdd d
d�|jjdd
ddddd
d�|jjd|j�dS(Ns-rs
--requirementtdesttrequirementstactiontappendtdefaulttmetavartfilethelpsjUninstall 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((sG/opt/alt/python35/lib/python3.5/site-packages/pip/commands/uninstall.pyRs c Cs�|j|�}tddddddd|�}x$|D]}|jtj|��q7WxA|jD]6}x-t|d|d|�D]}|j|�q�WqaW|js�t dt
d|j���n|jd|j
�dS( Nt build_dirtsrc_dirtdownload_dirtsessiontoptionssLYou must give at least one requirement to %(name)s (see "pip help %(name)s")tnametauto_confirm(t_build_sessionRtNonetadd_requirementRt from_lineRRthas_requirementsRtdictRRR(RRRRtrequirement_setRtfilenametreq((sG/opt/alt/python35/lib/python3.5/site-packages/pip/commands/uninstall.pytrun(s"
(t__name__t
__module__t__doc__RtusagetsummaryRR*(((sG/opt/alt/python35/lib/python3.5/site-packages/pip/commands/uninstall.pyRs N( tpip.reqRRRtpip.basecommandRtpip.exceptionsRR(((sG/opt/alt/python35/lib/python3.5/site-packages/pip/commands/uninstall.pyt<module>s