HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/site-packages/pip/_internal/locations/__pycache__/base.cpython-310.pyc
o

��i�	�@s�UddlZddlZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZe	�d�Z
e�d�Zeed<defd	d
�Zdededefd
d�Zdefdd�Zz
e��Zejeed<WneykejZYnwejdd�defdd��ZdS)�N)�InstallationError)�appdirs)�running_under_virtualenv�pip�purelib�
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�rr�G/usr/local/lib/python3.10/site-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�driverrrr
�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_prefixrrr
�get_src_prefix7s�r$�	user_site)�maxsizecCstt�d��S)N�PYTHONFRAMEWORK)�bool�	sysconfig�get_config_varrrrr
�is_osx_frameworkOsr+)�	functoolsr�siter
r)�typing�pip._internal.exceptionsrZpip._internal.utilsr�pip._internal.utils.virtualenvr�user_cache_dir�USER_CACHE_DIR�get_pathr�str�__annotations__rrr$�getusersitepackagesr%�Optional�AttributeError�	USER_SITE�	lru_cacher(r+rrrr
�<module>s*


�