+
     h4  c                   s    ^ RI t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHtHt ^ RIHtHtHt ] P4                  ! ]4      t ! R R]
]4      tR# )i    N)Values)List)canonicalize_name)
cmdoptions)Command)SessionCommandMixin)SUCCESS)InstallationError)parse_requirements)install_req_from_line#install_req_from_parsed_requirement)check_externally_managed(protect_pip_from_modification_on_windowswarn_if_run_as_rootc                   sL   a  ] tR t^t o RtRtV 3R lR ltV 3R lR ltRtV t	R# )	UninstallCommanda*  
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> ...c                s   < V ^8  d   QhRR/# )   returnN Zformat__classdict__   "E/usr/lib/python3.14/site-packages/pip/_internal/commands/uninstall.py__annotate__UninstallCommand.__annotate__)   s     : :T :    c           
     s   V P                   P                  R RRR. RRR7       V P                   P                  RRR	R
RR7       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P
                  P                  ^ V P                   4       R# )z-rz--requirementrequirementsZappendZfilezjUninstall all the packages listed in the given requirements file.  This option can be used multiple times.)destactionZdefaultZmetavarhelpz-yz--yesyesZ
store_truez2Don't ask for confirmation of uninstall deletions.)r   r   r   N)Zcmd_optsZ
add_optionr   root_user_actionoverride_externally_managedZparserZinsert_option_group)selfs   &r   add_optionsZUninstallCommand.add_options)   s      A 	! 	
 	  E 	! 	
 	  !<!<!>?  !G!G!IJ''4==9r   c                s<   < V ^8  d   QhRS[ RS[S[,          RS[/# )r   optionsargsr   )r    r   ZstrZintr   r   r   r   r   A   s&     1 16 1c 1s 1r   c                sd   V P                  V4      p/ pV F[  p\        VVP                  R 7      pVP                  '       d   Wd\	        VP                  4      &   KE  \
        P                  RV4       K]  	  VP                   FX  p\        WqVR7       FD  p\        WP                  R 7      pVP                  '       g   K-  Wd\	        VP                  4      &   KF  	  KZ  	  V'       g'   \        RV P                   RV P                   R24      hVP                  '       g   \        4        \        RV9   R7       VP                  4        FG  pVP                  VP                   V P"                  ^ 8  R7      p	V	'       g   K7  V	P%                  4        KI  	  VP&                  R	8X  d   \)        4        \*        # )
)Z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")Zpip)Zmodifying_pip)Zauto_confirmZverboseZwarn)Zget_default_sessionr	   Zisolated_modenamer   loggerZwarningr   r   r
   r   r   r   r   ZvaluesZ	uninstallr   Z	verbosityZcommitr   r   r   )
r    r"   r#   r$   Zreqs_to_uninstallr%   ZreqZfilenameZ
parsed_reqZuninstall_pathsets
   &&&       r   runZUninstallCommand.runA   s   **73D' ..C xxxAD"3CHH"=>% 	   ,,H07
 :)>)> 888EH&7&AB - !#<TYYK H!YYKr+ 
 222$&0#44	
 %++-C #$[[* !. ! ! !((* . ##v-!r   r   N)
__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Zusager!   r'   Z__static_attributes__Z__classdictcell__)r   s   @r   r   r      s%     4E: :01 1r   r   )ZloggingZoptparser    Ztypingr   Zpip._vendor.packaging.utilsr   Zpip._internal.clir   Zpip._internal.cli.base_commandr   Zpip._internal.cli.index_commandr   Zpip._internal.cli.status_codesr   Zpip._internal.exceptionsr   Zpip._internal.reqr   Zpip._internal.req.constructorsr	   r
   Zpip._internal.utils.miscr   r   r   Z	getLoggerr(   r&   r   r   r   r   <module>r)      sU       9 ( 2 ? 2 6 0  
		8	$Xw 3 Xr   