HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/python38/lib/python3.8/site-packages/pip/_internal/locations/__pycache__/base.cpython-38.pyc
U

�{�e�	�@s�UddlZddlZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZe	�d�Z
e�d�Zeed<ed�d	d
�Zeeed�dd
�Zed�dd�Zze��Zejeed<Wnek
r�ejZYnXejdd�ed�dd��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�@/tmp/pip-unpacked-wheel-_0scjqea/pip/_internal/locations/base.py�get_major_minor_versionsr)�new_root�pathnamercCs�tjdkr<tj�|�s$tj�||�Stj�||dd��SnRtjdkr|tj�|�\}}|ddkrn|dd�}tj�||�Stdtj�d���dS)	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	

�rcCsZt�rtj�tjd�}n6ztj�t��d�}Wntk
rLt�d�YnXtj�	|�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_prefix7sr$�	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(