관리-도구
편집 파일: uninstall.pyc
� ��abc @@ s� d d l m Z d d l Z d d l m Z d d l m Z m Z m Z d d l m Z d d l m Z d e f d � � YZ d S( i ( t absolute_importN( t WheelCache( t InstallRequirementt RequirementSett parse_requirements( t Command( t InstallationErrort UninstallCommandc B@ s2 e Z d Z d Z d Z d Z d � Z d � Z RS( sB 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``. t uninstallsU %prog [options] <package> ... %prog [options] -r <requirements file> ...s Uninstall packages.c O@ s� t t | � j | | � | j j d d d d d d d g d d d d �| j j d d d d d d d d �| j j d | j � d S( Ns -rs --requirementt destt requirementst actiont appendt defaultt metavart filet helpsj Uninstall all the packages listed in the given requirements file. This option can be used multiple times.s -ys --yest yest store_trues2 Don't ask for confirmation of uninstall deletions.i ( t superR t __init__t cmd_optst add_optiont parsert insert_option_group( t selft argst kw( ( s: /usr/lib/python2.7/site-packages/pip/commands/uninstall.pyR s c C@ s4 | j | � �} t j j t � t � � } t | j | � } t d d d d d d d | j d | d | � } x3 | D]+ } | j t j | d | j d | �� qv WxG | j D]<