+
     hH  c                   s   ^ RI t ^ RIt^ RIt^ RIt^ RIHtHt ^ RIHt ^ RI	H
t
 RR]P                  P                   2R]P                  P                   R]P                  P                   2.t]
'       d7   RR0t] P                   ! ]]4       U u. uF  p RP#                  V 4      NK  	  up tRR	 R
 lltR R ltR R ltR# u up i )i    N)ListOptional)main)WINDOWSZpipZ. z.exec                sh    V ^8  d   QhR\         \        \        ,          ,          R\        R\        /# )   args_nowarnreturn)r   r    strZboolZintZformat   "D/usr/lib/python3.14/site-packages/pip/_internal/utils/entrypoints.py__annotate__r      s*      8DI&       c                sf    V'       g    \         P                  P                  R4       \        V 4      # )a  Central wrapper for all old entrypoints.

Historically pip has had several entrypoints defined. Because of issues
arising from PATH, sys.path, multiple Pythons, their interactions, and most
of them having a pip installed, users suffer every time an entrypoint gets
moved.

To alleviate this pain, and provide a mechanism for warning users and
directing them to an appropriate place for help, we now define all of
our old entrypoints as wrappers for the current one.
a  WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
)sysZstderrZwriter   )r   r   s   &&r   _wrapperr      s*     

&	
 :r   c                $    V ^8  d   QhR\         /# r   r   r	   r
   r   r   r   r   /   s     = =# =r   c                 s   \         '       d   RMRp \        P                  P                  \        P
                  V 4      p\        P                  P                  \        P                  P                  RR4      4      P                  \        P                  4      p\        P                  P                  V4      V9   pV'       d   \         F  p\        P                  ! V4      p\        P                  P                  W4      pV'       g   KB  \        P                  P                  V4      '       g   Ki  \        P                  P                  VV4      '       g   K  Vu # 	  \!        4        R2# )zHTry to figure out the best way to invoke pip in the current environment.ZScriptsZbinZPATHr   z -m pip)r   ospathjoinr   ZprefixZnormcaseZenvironZgetZsplitZpathsep_EXECUTABLE_NAMESshutilwhichZexistsZsamefile#get_best_invocation_for_this_python)Zbinary_directoryZbinary_prefixZ
path_partsZexe_are_in_PATHexe_namefound_executableZbinary_executables          r    get_best_invocation_for_this_pipr   /   s    $+GyGGLL-=>M !!"**.."<=CCBJJOJgg&&}5CO)H%||H5 "] E  GGNN#455GG$$$% 
   * 234G<<r   c                r   r   r   r
   r   r   r   r   J   s      S r   c                 s@   \         P                  p \        P                  P	                  V 4      p\
        P                  ! V4      pV'       dQ   \        P                  P                  \        P                  ! V4      \        P                  ! V 4      4      '       d   V# V # )z<Try to figure out the best way to invoke the current Python.)	r   Z
executabler   r   Zbasenamer   r   ZsamestatZlstat)Zexer   r   s      r   r   r   J   sj    
..Cww$H ||H- BGG,,RXX6F-GRUWW Jr   )NF)Z	itertoolsr   r   r   Ztypingr    r   Zpip._internal.cli.mainr   Zpip._internal.utils.compatr   Zversion_infoZmajorZminorr   Z_allowed_extensionsZproductr   r   r   r   )Zpartss   0r   <module>r      s     	  
 ! ' . 
	#


 
 	!"	#


 
 	!3#3#3#9#9":; 
 v, &&'8:MNNE 	N0=6ss   C