Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc

�

4Μg�	���UddlZddlZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZe	jd�Z
ejd�Zeed<defd	�Zd
ededefd�Zdefd
�Z	ej*�Zej.eed<ej4d��defd��Zy#e$rej2ZY�0wxYw)�N)�InstallationError)�appdirs)�running_under_virtualenv�pip�purelib�
site_packages�returnc�<�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���G/usr/local/lib/python3.12/site-packages/pip/_internal/locations/base.py�get_major_minor_versionrs��
�7�>�>�3�+�+�,�,r�new_root�pathnamec���tjdk(rbtjj|�s tjj	||�Stjj	||dd�Stjdk(rOtjj|�\}}|ddk(r|dd}tjj	||�St
dtj�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�drivers    r�change_rootr s���
�w�w�'���w�w�}�}�X�&��7�7�<�<��(�3�3��7�7�<�<��(�1�2�,�7�7�	���D�����*�*�8�4�
�����7�d�?����8�D��w�w�|�|�H�d�+�+� � ����	�*C�
C�
�	
rc�`�t�r/tjjtj
d�}n3	tjjtj�d�}tjj�S#t$rt	jd�Y�?wxYw)N�srcz=The folder you are executing pip from can no longer be found.)
rrrrr�prefix�getcwd�OSError�exit�abspath)�
src_prefixs r�get_src_prefixr)7su���!��W�W�\�\�#�*�*�e�4�
�	V������b�i�i�k�5�9�J��7�7�?�?�:�&�&��
�	V��H�H�T�U�	V�s�2B�B-�,B-�	user_site)�maxsizec�>�ttjd��S)N�PYTHONFRAMEWORK)�bool�	sysconfig�get_config_varrrr�is_osx_frameworkr1Os���	�(�(�):�;�<�<r)�	functoolsr�siterr/�typing�pip._internal.exceptionsr�pip._internal.utilsr�pip._internal.utils.virtualenvr�user_cache_dir�USER_CACHE_DIR�get_pathr�str�__annotations__rr r)�getusersitepackagesr*�Optional�AttributeError�	USER_SITE�	lru_cacher.r1rrr�<module>rBs����	��
��
�6�'�C�(��'�'��.��(�Y�'�'�	�2�
�s�2�-��-�
�#�
��
��
�8
'��
'� �'?�d�&>�&>�&@�I�v���s�#�@�
����T�"�=�$�=�#�=�������I��s�,#B,�,C�?C

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists