403Webshell
Server IP : 104.21.93.192  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /lib/python3.8/site-packages/pip/_internal/commands/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.8/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-38.pyc
U

��.e��@svddlmZddlmZddlmZddlmZddlm	Z	ddl
mZddlm
Z
ddlmZGd	d
�d
ee�ZdS)�)�absolute_import)�canonicalize_name)�Command)�SessionCommandMixin)�InstallationError)�parse_requirements)�install_req_from_line)�(protect_pip_from_modification_on_windowscs,eZdZdZdZ�fdd�Zdd�Z�ZS)�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``.
    zU
      %prog [options] <package> ...
      %prog [options] -r <requirements file> ...c	sVtt|�j||�|jjddddgddd�|jjdd	d
ddd
�|j�d|j�dS)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.)rrrr)�superr
�__init__Zcmd_optsZ
add_option�parserZinsert_option_group)�self�args�kw��	__class__��D/usr/lib/python3.8/site-packages/pip/_internal/commands/uninstall.pyrs$�	�zUninstallCommand.__init__c	Cs�|�|�}i}|D]&}t||jd�}|jr||t|j�<q|jD],}t|||d�D]}|jrR||t|j�<qRq@|s�tdt|jd���t	d|kd�|�
�D]&}|j|j|j
dkd�}|r�|��q�dS)	N)�isolated)�options�sessionzLYou must give at least one requirement to %(name)s (see "pip help %(name)s"))�nameZpip)Z
modifying_pipr)Zauto_confirm�verbose)Zget_default_sessionrZ
isolated_moder"rrrr�dictr	�valuesZ	uninstallr�	verbosityZcommit)	rr rr!Zreqs_to_uninstallr"Zreq�filenameZuninstall_pathsetrrr�run2sB
�
�

����zUninstallCommand.run)�__name__�
__module__�__qualname__�__doc__Zusagerr(�
__classcell__rrrrr
s
r
N)Z
__future__rZpip._vendor.packaging.utilsrZpip._internal.cli.base_commandrZpip._internal.cli.req_commandrZpip._internal.exceptionsrZpip._internal.reqrZpip._internal.req.constructorsrZpip._internal.utils.miscr	r
rrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit