+
     h   c                   sf   R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIH	t	H
t
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Ht ^ R
IHtHtHtHtH t H!t! ^ RI"H#t# ^ RI$H%t%H&t& ^ RI'H(t(H)t) ^ RI*H+t, ^ RI*H-t-H.t. ^ RI/H0t0 R.t1]Pd                  ! ]34      t4 ! R R]4      t5R# )z(Base Command class, and related routinesNValues)ListOptionalTuple)reconfigure)	traceback)
cmdoptions)CommandContextMixIn)ConfigOptionParserUpdatingDefaultsHelpFormatter)ERRORPREVIOUS_BUILD_DIR_ERRORUNKNOWN_ERRORVIRTUALENV_NOT_FOUND)
BadCommandCommandErrorDiagnosticPipErrorInstallationErrorNetworkConnectionErrorPreviousBuildDirError)check_path_owner)BrokenStdoutLoggingErrorsetup_logging)get_prognormalize_path)TempDirectoryTypeRegistry)global_tempdir_managertempdir_registry)running_under_virtualenvCommandc                   s   a a ] tR t^,t oRtRtRV3R lV 3R llltV3R lR ltV3R lR ltV3R	 lR
 lt	V3R lR lt
V3R lR ltV3R lR ltV3R lR ltV3R ltRtVtV ;t# )r   Z Fc                s0   < V ^8  d   QhRS[ RS[ RS[RR/# )   namesummaryisolatedreturnNstrZboolformat__classdict__   "C/usr/lib/python3.14/site-packages/pip/_internal/cli/base_command.py__annotate__Command.__annotate__0   s)      S 3 $ 4     c           
     s  < \         SV `  4        Wn        W n        \	        V P
                  \        4        R V 2\        4       RVV P                  VR7      V n	        RV n
        V P                  P                  4        R2p\        P                  ! V P                  V4      V n        \        P                   ! \        P"                  V P                  4      pV P                  P%                  V4       V P'                  4        R# ) F)usageZprogZ	formatterZadd_help_optionr    Zdescriptionr"   Nz Options)Zsuper__init__r    r!   r	   r/   r   r
   __doc__parserr   Z
capitalizeoptparseZOptionGroupcmd_optsr   Zmake_option_groupZgeneral_groupZadd_option_groupadd_options)selfr    r!   r"   Zoptgroup_nameZgen_opts	__class__s   &&&&  r*   r0   ZCommand.__init__0   s    	(**J<q'35!
 <@  99//12(; ,,T[[-H //$$KK
 	$$X.r-   c                s   < V ^8  d   QhRR/# )r   r#   N r&   r)   r*   r+   r,   N   s      T r-   c                s    R # Nr8   )r6   s   &r*   r5   ZCommand.add_optionsN   s    r-   c                s$   < V ^8  d   QhRS[ RR/# )r   optionsr#   Nr    r&   r)   r*   r+   r,   Q   s     0 0 04 0r-   c                s    R# )zN
This is a no-op so that commands by default do not do the pip version
check.
Nr8   )r6   r:      &&r*   handle_pip_version_checkZ Command.handle_pip_version_checkQ   s    r-   c                s<   < V ^8  d   QhRS[ RS[S[,          RS[/# )r   r:   argsr#   )r   r   r%   intr&   r)   r*   r+   r,   Z   s&     " "6 "c "s "r-   c                s    \         hr9   )ZNotImplementedError)r6   r:   r=   s   &&&r*   runZCommand.runZ   s    !!r-   c                sB   < V ^8  d   QhRS[ RS[RS[S[,          RS[ /# )r   level_numberr:   r=   r#   )r>   r   r   r%   r&   r)   r*   r+   r,   ]   s.     7! 7! 7!v 7!T#Y 7!SV 7!r-   c                s  a aa R  VVV 3R llpSP                   '       d   \        P                  ! RR7       V! 4       #  V! 4       pV#   \         dB   p\        P                  RTRR/R7       \        P                  RRR7       \        u R	p?# R	p?i\         dF   p\        P                  \        T4      4       \        P                  RRR7       \        u R	p?# R	p?i\        \        \        3 dF   p\        P                  \        T4      4       \        P                  RRR7       \        u R	p?# R	p?i\         d>   p\        P                  RT4       \        P                  RRR7       \        u R	p?# R	p?i\          d_    \#        R
\$        P&                  R7       T\(        P*                  8:  d&   \,        P.                  ! \$        P&                  R7       \        u # \0         d6    \        P                  R4       \        P                  RRR7       \        u # \2         d!    \        P                  RRR7       \4        u # i ; i)c                s$    V ^8  d   QhR\         /# )r   r#   )r>   )r'   s   "r*   r+   Z*Command._run_wrapper.<locals>.__annotate__^   s     	7 	7C 	7r-   c                  sx   <  SP                  SS 4      SP                  S4       #   SP                  S4       i ; ir9   )r?   r<   )r=   r:   r6   s   r*   
_inner_runZ(Command._run_wrapper.<locals>._inner_run^   s3    7xx.--g6--g6s   & 9T)Zshow_localsz%sZrich)ZextrazException information:)Zexc_infoNz ERROR: Pipe to stdout was broken)ZfilezOperation cancelled by userz
Exception:)
debug_moderich_tracebackZinstallr   loggerZerrorZdebugr   r   criticalr%   r   r   r   r   r   r   ZprintsysZstderrloggingZDEBUGr   Z	print_excZKeyboardInterruptZBaseExceptionr   )r6   r@   r:   r=   rA   ZstatusZexcs   f&ff   r*   _run_wrapperZCommand._run_wrapper]   s   	7 	7 ""t4<,	!\FM! 	LLs64.L9LL1DLAL$ 	,OOCH%LL1DLA++"
 	
 OOCH%LL1DLAL 	OOD#&LL1DLAL' 	 43::Fw}},##4L  	OO9:LL1DLAL 	!OOL4O8  	!s    A	 	I6B
III:CII6I7:D71I7II2E=7I=I
AI(I13I&I/IIc                s\   < V ^8  d   QhRS[ S[,          RS[S[S[ S[,          3,          /# r   r=   r#   )r   r%   r   r   r&   r)   r*   r+   r,      s-     , ,tCy ,U6493D-E ,r-   c                s8    V P                   P                  V4      # r9   )r2   
parse_argsr6   r=   r;   r*   rJ   ZCommand.parse_args   s    {{%%d++r-   c                6   < V ^8  d   QhRS[ S[,          RS[/# rI   r   r%   r>   r&   r)   r*   r+   r,      s      c s r-   c                s     V P                  4       ;_uu_ 4        V P                  V4      uuR R R 4       \        P                  ! 4        #   + '       g   i     M; i \        P                  ! 4        R #   \        P                  ! 4        i ; ir9   )Zmain_context_mainrG   ZshutdownrK   r;   r*   mainZCommand.main   s_    	""$$zz$' %$  %$$ Gs!   A6 A
A6 A	A6 6Bc                rL   rI   rM   r&   r)   r*   r+   r,      s#     H> H>$s) H> H>r-   c                s   V P                  \        4       4      V n        V P                  \        4       4       V P                  V4      w  r!VP                  VP
                  ,
          V n        VP                  '       d   ^V n        \        VP                  R7       \        V P                  VP                  VP                  R7      p\        VP                  4      \        \        P                  4      ,          pV'       d/   \         P#                  RRP%                  \'        V4      4      4       VP(                  '       dE   R\*        P,                  9  d0   \         P/                  R4       \0        P2                  ! \4        4       VP6                  '       d   R\*        P,                  R&   VP8                  '       d-   R	P%                  VP8                  4      \*        P,                  R
&   VP:                  '       dR   V P<                  '       g@   \?        4       '       g0   \         P/                  R4       \0        P2                  ! \@        4       VPB                  '       d]   \E        VPB                  4      Vn!        \G        VPB                  4      '       g(   \         P#                  RVPB                  4       RVn!        V PI                  W2V4      # )r   )no_color)	verbosityrP   Zuser_log_filez/The following features are always enabled: %s. z, Z_PIP_RUNNING_IN_SUBPROCESSzAThe --python option must be placed before the pip subcommand nameZ1ZPIP_NO_INPUTr.   ZPIP_EXISTS_ACTIONz2Could not find an activated virtualenv (required).zThe directory '%s' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.N)%Zenter_contextr   r   rJ   ZverboseZquietrQ   rB   r   rP   r   ZlogZsetZfeatures_enabledr   ZALWAYS_ENABLED_FEATURESrD   ZwarningZjoinZsortedZpythonosZenvironrE   rF   Zexitr   Zno_inputZexists_actionZrequire_venvignore_require_venvr   r   Z	cache_dirr   r   rH   )r6   r=   r:   r@   Zalways_enabled_featuress   &&   r*   rN   ZCommand._main   s    !% 2 23C3E F 	134- !7==8DNW--.$nn%%!++
 #&g&>&>"?#..C
 #
 #NNA		&!89: >>>:"**LOOS HHUO ),BJJ~&   .1hhw7L7L.MBJJ*+(@(@(@+-- TU-. .w/@/@ AG#G$5$566*
 %% %)!  ==r-   c                s2   < V ^8  d   Qh/ S[ ;R&   S[;R&   # )r   r/   rS   r$   r&   r)   r*   r+   r,   ,   s     O % r-   )r4   r    r2   r!   r   rQ   )F)__name__Z
__module__Z__qualname__Z__firstlineno__r/   rS   r0   r5   r<   r?   rH   rJ   rO   rN   Z__annotate_func__Z__static_attributes__Z__classdictcell__Z__classcell__)r7   r(   s   @@r*   r   r   ,   sk     E % < 0 0" "7! 7!r, , H> H>k  r-   )6r1   rG   Zlogging.configr3   rR   rF   r   r   Ztypingr   r   r   Zpip._vendor.richr   rC   Zpip._internal.clir   Z!pip._internal.cli.command_contextr   Zpip._internal.cli.parserr	   r
   Zpip._internal.cli.status_codesr   r   r   r   Zpip._internal.exceptionsr   r   r   r   r   r   Zpip._internal.utils.filesystemr   Zpip._internal.utils.loggingr   r   Zpip._internal.utils.miscr   r   Zpip._internal.utils.temp_dirr   ZTempDirRegistryr   r   Zpip._internal.utils.virtualenvr   Z__all__Z	getLoggerrT   rD   r   r8   r-   r*   <module>rU      s    .    	 
   ( ( ( 8 ( A V   < O = U Q C+			8	$}>! }>r-   