Your IP : 3.147.86.30


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

�
�Rec@@s�ddlmZddlmZddlmZddlmZddlm	Z	ddl
mZddlm
Z
ddlmZmZdd	lmZdd
lmZer�ddlmZddlmZnd
eefd��YZdS(i(tabsolute_import(tcanonicalize_name(tCommand(tSessionCommandMixin(tSUCCESS(tInstallationError(tparse_requirements(tinstall_req_from_linet#install_req_from_parsed_requirement(t(protect_pip_from_modification_on_windows(tMYPY_CHECK_RUNNING(tValues(tListtUninstallCommandcB@s&eZdZdZd�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``.
    sU
      %prog [options] <package> ...
      %prog [options] -r <requirements file> ...c
C@sp|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(tcmd_optst
add_optiontparsertinsert_option_group(tself((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/uninstall.pytadd_options%s				c
C@sK|j|�}i}xB|D]:}t|d|j�}|jr||t|j�<qqWxh|jD]]}xTt|d|d|�D]:}t|d|j�}|jr�||t|j�<q�q�WqdW|s�tdj	t
����ntdd|k�xK|j�D]=}|j
d|jd|jd	k�}	|	r|	j�qqWtS(
NtisolatedtoptionstsessionsRYou must give at least one requirement to {self.name} (see "pip help {self.name}")t
modifying_piptpiptauto_confirmtverbosei(tget_default_sessionRt
isolated_modetnameRRRRRtformattlocalsR	tvaluest	uninstallRt	verbositytcommitR(
RRtargsR treqs_to_uninstallR'treqtfilenamet
parsed_reqtuninstall_pathset((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/uninstall.pytrun8s:
	
	
	(t__name__t
__module__t__doc__tusageRR4(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/uninstall.pyR
s		N(t
__future__Rtpip._vendor.packaging.utilsRtpip._internal.cli.base_commandRtpip._internal.cli.req_commandRtpip._internal.cli.status_codesRtpip._internal.exceptionsRtpip._internal.reqRtpip._internal.req.constructorsRRtpip._internal.utils.miscR	tpip._internal.utils.typingR
toptparseRttypingRR
(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/uninstall.pyt<module>s

?>