HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib/python3.6/site-packages/pip/commands/__pycache__/uninstall.cpython-36.pyc
3

g
�dD�@s`ddlmZddlZddlmZddlmZmZmZddl	m
Z
ddlmZGdd�de
�Z
dS)	�)�absolute_importN)�
WheelCache)�InstallRequirement�RequirementSet�parse_requirements)�Command)�InstallationErrorcs4eZdZdZdZdZdZ�fdd�Zdd�Z�Z	S)	�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``.
    �	uninstallzU
      %prog [options] <package> ...
      %prog [options] -r <requirements file> ...zUninstall packages.c	sVtt|�j||�|jjddddgddd�|jjdd	d
ddd
�|jjd|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__��/usr/lib/python3.6/uninstall.pyrszUninstallCommand.__init__c
Cs�|j|���}tjjt�t��}t|j|�}tddd|j||d�}x$|D]}|j	t
j||j|d��qFWx2|jD](}x"t
||||d�D]}	|j	|	�q�WqnW|js�tdt|jd���|j|jd�WdQRXdS)N)Z	build_dirZsrc_dirZdownload_dir�isolated�session�wheel_cache)rr )�optionsrr zLYou must give at least one requirement to %(name)s (see "pip help %(name)s"))�name)Zauto_confirm)Z_build_session�pip�indexZ
FormatControl�setr�	cache_dirrZ
isolated_modeZadd_requirementrZ	from_linerrZhas_requirementsr�dictr"r
r)
rr!rrZformat_controlr Zrequirement_setr"�filenameZreqrrr�run-s6
zUninstallCommand.run)
�__name__�
__module__�__qualname__�__doc__r"ZusageZsummaryrr)�
__classcell__rr)rrr	
s	r	)Z
__future__rr#Z	pip.wheelrZpip.reqrrrZpip.basecommandrZpip.exceptionsrr	rrrr�<module>s