
    4Քh	                    T   % S SK Jr  S SKrS SKrS SKrS SKrS SKrS SKJr  S SK	J
r
  S SKJr  \
R                  " S5      r\R                  " S5      rS\S	'   SS
 jrSS jrSS jr \R*                  " 5       rS\S'   \R2                  SS j5       rg! \ a    \R0                  r N)f = f)    )annotationsN)InstallationError)appdirs)running_under_virtualenvpippurelibstrsite_packagesc                 <    SR                   " [        R                  6 $ )zY
Return the major-minor version of the current Python as a string, e.g.
"3.7" or "3.10".
z{}.{})formatsysversion_info     T/var/www/auris/envauris/lib/python3.13/site-packages/pip/_internal/locations/base.pyget_major_minor_versionr      s    
 >>3++,,r   c                   [         R                  S:X  ae  [         R                  R                  U5      (       d  [         R                  R	                  X5      $ [         R                  R	                  XSS 5      $ [         R                  S:X  aN  [         R                  R                  U5      u  p#US   S:X  a  USS n[         R                  R	                  X5      $ [        S[         R                   S35      e)	a=  Return 'pathname' with 'new_root' prepended.

If 'pathname' is relative, this is equivalent to os.path.join(new_root, pathname).
Otherwise, it requires making 'pathname' relative and then joining the
two, which is tricky on DOS/Windows and Mac OS.

This is borrowed from Python's standard library's distutils module.
posix   Nntr   \zUnknown platform: z5
Can not change root path prefix on unknown platform.)osnamepathisabsjoin
splitdriver   )new_rootpathnamedriver   s       r   change_rootr!      s     
ww'ww}}X&&77<<3377<<12,77	D**847d?8Dww||H++   	 *C C
 	
r   c                 p   [        5       (       a/  [        R                  R                  [        R
                  S5      n O4 [        R                  R                  [        R                  " 5       S5      n [        R                  R                  W 5      $ ! [         a    [        R                  " S5         NAf = f)Nsrcz=The folder you are executing pip from can no longer be found.)
r   r   r   r   r   prefixgetcwdOSErrorexitabspath)
src_prefixs    r   get_src_prefixr*   8   sx    !!WW\\#**e4
	Vbiik59J 77??:&&  	VHHTU	Vs    3B  B54B5z
str | None	user_sitec                 @    [        [        R                  " S5      5      $ )NPYTHONFRAMEWORK)bool	sysconfigget_config_varr   r   r   is_osx_frameworkr1   P   s    	(():;<<r   )returnr	   )r   r	   r   r	   r2   r	   )r2   r.   )
__future__r   	functoolsr   siter   r/   pip._internal.exceptionsr   pip._internal.utilsr   pip._internal.utils.virtualenvr   user_cache_dirUSER_CACHE_DIRget_pathr
   __annotations__r   r!   r*   getusersitepackagesr+   AttributeError	USER_SITEcacher1   r   r   r   <module>rA      s    "  	  
  6 ' C ''. ''	2s 2-
8'  !446Iz6
 = =  Is   'B B'&B'