| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.6/site-packages/pip/_internal/commands/__pycache__/ |
Upload File : |
3
�N�a�
� @ s� d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl m
Z
mZ d dlm
Z
d dlmZ d d lmZ d d
lmZmZ d dlmZ e je�ZG dd
� d
ee
�ZdS )� N)�Values)�List)�canonicalize_name)�Command)�SessionCommandMixin�warn_if_run_as_root)�SUCCESS)�InstallationError)�parse_requirements)�install_req_from_line�#install_req_from_parsed_requirement)�(protect_pip_from_modification_on_windowsc @ s8 e Zd ZdZdZdd�dd�Zeee e d�dd �Z
dS )
�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> ...N)�returnc C sD | j jddddg ddd� | j jdd d
ddd
� | jjd| 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 )Zcmd_optsZ
add_option�parserZinsert_option_group)�self� r �/usr/lib/python3.6/uninstall.py�add_options$ s zUninstallCommand.add_options)�options�argsr c
C s | j |�}i }x<|D ]4}t||jd�}|jr<||t|j�<