+
    ÎiW                    J   R t ^ RIHt  ]! R4      P	                  4        ^ RIt^ RIt^ 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 ]P6                  ! ]4      tRRR/R R llltRR R lltR R lt R R lt!R R lt"R#   ]]3 d     Li ; i)z7Locations where we look for configs, install stuff, etc)annotations_distutils_hackN)Command)SCHEME_KEYS)installget_python_lib)Scheme)WINDOWS)running_under_virtualenv)get_major_minor_versionFignore_config_filesc               8    V ^8  d   QhRRRRRRRRRRR	RR
RRR/# )   	dist_namestruserboolhome
str | Nonerootisolatedprefixr   returnzdict[str, str] )formats   "q/Users/ahmad/.openclaw/workspace/scripts/.venv/lib/python3.14/site-packages/pip/_internal/locations/_distutils.py__annotate__r   $   sb     M MM
M M 	M
 M M M M    c               v   ^ RI Hp RV /pV'       d   R.VR&   V! V4      p	V'       g    V	P                  4        RpV	P                  R	R
R7      pVf   Q hTpV'       d   V'       d   Q RV RV 24       hV'       d   V'       d   Q RV RV 24       hT;'       g    VP                  Vn	        V'       g	   V'       d   RVn
        T;'       g    VP                  Vn
        T;'       g    VP                  Vn        T;'       g    VP                  Vn        VP                  4        / p\         F  p\        VRV,           4      W&   K  	  RV	P!                  R	4      9   d*   VP#                  RVP$                  RVP$                  /4       \'        4       '       d   V'       d   TpM!V'       d   VP(                  pMVP                  p\*        P,                  P                  VRRR\/        4        2V 4      VR&   Vet   \*        P,                  P1                  \*        P,                  P3                  VR,          4      4      ^,          p\*        P,                  P                  W?R,          4      VR&   V#   \         dA    T	P	                  4       p
\
        P                  RRP                  R T
 4       4      4        EL}i ; i)z#
Return a distutils install scheme
)Distributionnamez--no-user-cfgscript_argsz6Ignore distutils configs in %s due to encoding errors.z, c              3  `   "   T F$  p\         P                  P                  V4      x  K&  	  R # 5i)N)ospathbasename).0ps   & r   	<genexpr>#distutils_scheme.<locals>.<genexpr>?   s"     =u!"''**1--us   ,.Nr   T)createzuser=z prefix=zhome= install_install_libpurelibplatlibincludesitepythonheaders:   NN)distutils.distr    parse_config_filesUnicodeDecodeErrorfind_config_filesloggerwarningjoinget_command_objr   r   r   r   finalize_optionsr   getattrget_option_dictupdater.   r   install_userbaser$   r%   r   
splitdriveabspath)r   r   r   r   r   r   r   r    	dist_argsdpathsobjischemekeypath_no_drives   &&&&&&$         r   distutils_schemerM   $   sH    ,-3Y,?I$3#4	- YA	  " $(C


Id

3C??#&A @E$xx"@@ @E$xx"@@ ^^QVVAFt!!AH^^QVVAF^^QVVAFFac!12  )))44y!--AMMJK!!F''FXXFGGLL,./0
y GG..rwwvi?P/QRSTUM "T3D EF9Mm " 	'')ENNH		=u==	s   I- -AJ87J8c               4    V ^8  d   QhRRRRRRRRRRR	RR
R/# )r   r   r   r   r   r   r   r   r   r   r   r	   r   )r   s   "r   r   r   t   sN         
    	 
      r   c                    \        WW#WE4      p\        VR,          VR,          VR,          VR,          VR,          R7      # )a  
Get the "scheme" corresponding to the input parameters. The distutils
documentation provides the context for the available schemes:
https://docs.python.org/3/install/index.html#alternate-installation

:param dist_name: the name of the package to retrieve the scheme for, used
    in the headers scheme path
:param user: indicates to use the "user" scheme
:param home: indicates to use the "home" scheme and provides the base
    directory for the same
:param root: root under which other directories are re-based
:param isolated: equivalent to --no-user-cfg, i.e. do not consider
    ~/.pydistutils.cfg (posix) or ~/pydistutils.cfg (non-posix) for
    scheme paths
:param prefix: indicates to use the "prefix" scheme and provides the
    base directory for the same
r0   r/   r4   scriptsdata)r0   r/   r4   rP   rQ   )rM   r	   )r   r   r   r   r   r   rJ   s   &&&&&& r   
get_schemerR   t   sF    2 it8LFy!y!y!y!F^ r   c                   V ^8  d   QhRR/# r   r   r   r   )r   s   "r   r   r      s     ' ' 'r   c                    \         P                  P                  \        P                  4      p \
        '       dh   \         P                  P                  V R 4      p\         P                  P                  V4      '       g!   \         P                  P                  V R4      pV# \        P                  R,          R8X  d   V R,          R8X  d   R# \         P                  P                  V R4      # )Scriptsbin:N   Ndarwin:N   Nz/System/Library/z/usr/local/bin)	r$   r%   normpathsysr   r
   r<   existsplatform)r   bin_pys     r   get_bin_prefixr`      s     WWcjj)Fwfi0ww~~f%%WW\\&%0F ||B8#s7I(I77<<&&r   c                   V ^8  d   QhRR/# rT   r   )r   s   "r   r   r      s     / /S /r   c                     \        R R7      # )Fplat_specificr   r   r   r   get_purelibre      s    ..r   c                   V ^8  d   QhRR/# rT   r   )r   s   "r   r   r      s     . .S .r   c                     \        R R7      # )Trc   r   r   r   r   get_platlibrh      s    --r   )FNNFN)#__doc__
__future__r   
__import__remove_shimImportErrorAttributeErrorloggingr$   r\   distutils.cmdr   DistutilsCommanddistutils.command.installr   r   distutils_install_commanddistutils.sysconfigr   pip._internal.models.schemer	   pip._internal.utils.compatr
   pip._internal.utils.virtualenvr   baser   	getLogger__name__r:   rM   rR   r`   re   rh   r   r   r   <module>r{      s    = #	 !--/  	 
 5 1 J . . . C )			8	$M !&M M` F'"/.y 	^$ 		s   B 	B"!B"