|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/alt/python33/lib/python3.3/site-packages/pip/commands/ |
Upload File : |
�
�2{Yc @ sV 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 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( ( sG /opt/alt/python33/lib/python3.3/site-packages/pip/commands/uninstall.pyR s c C s� | j | � } t d d d d d d d | � } x$ | D] } | j t j | � � q7 WxA | j D]6 } x- t | d | d | �D] } | j | � q� Wqa W| j s� t d t
d | j � � � n | j d | j
� d S( Nt build_dirt src_dirt download_dirt sessiont optionssL You must give at least one requirement to %(name)s (see "pip help %(name)s")t namet auto_confirm( t _build_sessionR t Nonet add_requirementR t from_lineR R t has_requirementsR t dictR R R ( R R R R t requirement_setR t filenamet req( ( sG /opt/alt/python33/lib/python3.3/site-packages/pip/commands/uninstall.pyt run( s"