| Server IP : 66.29.153.156 / Your IP : 216.73.216.70 Web Server : LiteSpeed System : Linux premium322.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64 User : lastyfjz ( 1521) PHP Version : 8.1.34 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 : |
U
��.e� � @ sv d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
d dlmZ G d d
� d
ee�ZdS )� )�absolute_import)�canonicalize_name)�Command)�SessionCommandMixin)�InstallationError)�parse_requirements)�install_req_from_line)�(protect_pip_from_modification_on_windowsc s, e Zd ZdZdZ� 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 sV t t| �j||� | jjddddg ddd� | jjdd d
ddd
� | j�d| 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__Zcmd_optsZ
add_option�parserZinsert_option_group)�self�args�kw�� __class__� �D/usr/lib/python3.8/site-packages/pip/_internal/commands/uninstall.pyr s$ � �zUninstallCommand.__init__c C s� | � |�}i }|D ]&}t||jd�}|jr||t|j�<