HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: sport3497 (1034)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/pip/_internal/locations/__pycache__/base.cpython-310.pyc
o

��h�	�@s�UddlmZddlZddlZddlZddlZddlZddlmZddl	m
Z
ddlmZe
�
d�Ze�d�Zded	<ddd�Zddd�Zddd�Zz
e��Zded<Wney`ejZYnwejddd��ZdS)�)�annotationsN)�InstallationError)�appdirs)�running_under_virtualenv�pip�purelib�str�
site_packages�returncCsdjtj�S)ze
    Return the major-minor version of the current Python as a string, e.g.
    "3.7" or "3.10".
    z{}.{})�format�sys�version_info�rr�G/usr/local/lib/python3.10/dist-packages/pip/_internal/locations/base.py�get_major_minor_versionsr�new_root�pathnamecCs�tjdkrtj�|�stj�||�Stj�||dd��Stjdkr=tj�|�\}}|ddkr6|dd�}tj�||�Stdtj�d���)	aQReturn '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�\zUnknown platform: z5
Can not change root path prefix on unknown platform.)�os�name�path�isabs�join�
splitdriver)rr�driverrrr�change_roots
	
�rcCsXt�rtj�tjd�}nztj�t��d�}Wnty%t�d�Ynwtj�	|�S)N�srcz=The folder you are executing pip from can no longer be found.)
rrrrr�prefix�getcwd�OSError�exit�abspath)�
src_prefixrrr�get_src_prefix8s�r&z
str | None�	user_site�boolcCstt�d��S)N�PYTHONFRAMEWORK)r(�	sysconfig�get_config_varrrrr�is_osx_frameworkPsr,)r
r)rrrrr
r)r
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__rrr&�getusersitepackagesr'�AttributeError�	USER_SITE�cacher,rrrr�<module>s*




�