AlkantarClanX12

Your IP : 3.128.31.76


Current Path : /opt/alt/python34/lib/python3.4/site-packages/pip/commands/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib/python3.4/site-packages/pip/commands/__pycache__/uninstall.cpython-34.pyc

�
�Re��@sVddlmZmZmZddlmZddlmZGdd�de�ZdS)�)�InstallRequirement�RequirementSet�parse_requirements)�Command)�InstallationErrorcsFeZdZdZdZdZdZ�fdd�Zdd�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
s�tt|�j||�|jjdddddddgdd	d
d�|jjdd
ddddd
d�|jjd|j�dS)Nz-rz
--requirement�dest�requirements�action�append�default�metavar�file�helpzjUninstall all the packages listed in the given requirements file.  This option can be used multiple times.z-yz--yes�yes�
store_truez2Don't ask for confirmation of uninstall deletions.r)�superr�__init__�cmd_opts�
add_option�parser�insert_option_group)�self�args�kw)�	__class__��1/tmp/pip-ztkk0jow-build/pip/commands/uninstall.pyrs				zUninstallCommand.__init__c	Cs�|j|�}tddddddd|�}x$|D]}|jtj|��q7WxA|jD]6}x-t|d|d|�D]}|j|�q�WqaW|js�tdt	d|j
���n|jd|j�dS)	N�	build_dir�src_dir�download_dir�session�optionszLYou must give at least one requirement to %(name)s (see "pip help %(name)s")�name�auto_confirm)
�_build_sessionr�add_requirementr�	from_liner
r�has_requirementsr�dictr$rr)rr#rr"�requirement_setr$�filename�reqrrr�run(s"	
	zUninstallCommand.run)	�__name__�
__module__�__qualname__�__doc__r$�usage�summaryrr.rr)rrrs	rN)	�pip.reqrrr�pip.basecommandr�pip.exceptionsrrrrrr�<module>s