403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/pip/_internal/commands/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/pip/_internal/commands/__pycache__/uninstall.cpython-311.pyc
�

�/�c.����ddlZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZm
Z
ddlmZdd	lmZdd
lmZddlmZmZddlmZmZeje��ZGd
�de
e��ZdS)�N)�Values)�List)�canonicalize_name)�
cmdoptions)�Command)�SessionCommandMixin�warn_if_run_as_root)�SUCCESS)�InstallationError)�parse_requirements)�install_req_from_line�#install_req_from_parsed_requirement)�check_externally_managed�(protect_pip_from_modification_on_windowsc�>�eZdZdZdZd	d�Zdedeede	fd�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> ...�returnNc	�r�|j�ddddgdd���|j�dd	d
dd�
��|j�tj����|j�tj����|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)�cmd_opts�
add_optionr�root_user_action�override_externally_managed�parser�insert_option_group)�selfs �B/usr/lib/python3/dist-packages/pip/_internal/commands/uninstall.py�add_optionszUninstallCommand.add_options(s����
� � �������A�	!�	
�	
�	
�	
�
� � �����E�	!�	
�	
�	
�	
�
� � ��!<�!>�!>�?�?�?��
� � ��!G�!I�!I�J�J�J���'�'��4�=�9�9�9�9�9��options�argsc��|�|��}i}|D]R}t||j���}|jr||t	|j��<�7t
�d|���S|jD]K}t|||���D]6}t||j���}|jr||t	|j��<�7�L|s td|j�d|j�d����|jst��td|v���|���D]=}|�|j|jd	k�
��}	|	r|	����>|jdkrt)��t*S)N)�isolatedzSInvalid requirement: %r ignored - the uninstall command expects named requirements.)r)�sessionz*You must give at least one requirement to z (see "pip help z")�pip)�
modifying_pipr)�auto_confirm�verbose�warn)�get_default_sessionr
�
isolated_mode�namer�logger�warningrrrrr"rr�values�	uninstallr�	verbosity�commitr!r	r
)
r%r)r*r-�reqs_to_uninstallr5�req�filename�
parsed_req�uninstall_pathsets
          r&�runzUninstallCommand.run@s���*�*�7�3�3�����
	�
	�D�'�� �.����C��x�
�AD�!�"3�C�H�"=�"=�>�>����%��	���� �,�	I�	I�H�0��'�7����
I�
I�
�:���)>������8�I�EH�%�&7���&A�&A�B��
I�!�	�#�+�T�Y�+�+�!�Y�+�+�+���
�
�2�	'�$�&�&�&�0��#4�4�	
�	
�	
�	
�%�+�+�-�-�	+�	+�C� #�
�
�$�[����*�!.�!�!��!�
+�!�(�(�*�*�*���#�v�-�-��!�!�!��r()rN)�__name__�
__module__�__qualname__�__doc__�usager'rr�str�intrA�r(r&rrsf��������
4�E�:�:�:�:�01�6�1��c��1�s�1�1�1�1�1�1r(r)�logging�optparser�typingr�pip._vendor.packaging.utilsr�pip._internal.clir�pip._internal.cli.base_commandr�pip._internal.cli.req_commandrr	�pip._internal.cli.status_codesr
�pip._internal.exceptionsr�pip._internal.reqr�pip._internal.req.constructorsr
r�pip._internal.utils.miscrr�	getLoggerrBr6rrIr(r&�<module>rWs[������������������9�9�9�9�9�9�(�(�(�(�(�(�2�2�2�2�2�2�R�R�R�R�R�R�R�R�2�2�2�2�2�2�6�6�6�6�6�6�0�0�0�0�0�0�����������������

��	�8�	$�	$��X�X�X�X�X�w� 3�X�X�X�X�Xr(

Youez - 2016 - github.com/yon3zu
LinuXploit