| Server IP : 185.143.233.131 / Your IP : 185.215.232.195 Web Server : LiteSpeed System : Linux jambul.7ho.st 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : renecafe ( 1327) PHP Version : 8.1.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.9/site-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
a
[��f� � @ s| d Z ddlZddlZddlmZ ddlmZ eed�dd�Z dee
ed �d
d�Zdee
ed �dd
�Zeee d�dd�Z
dS )z�
This code wraps the vendored appdirs module to so the return values are
compatible for the current pip code base.
The intention is to rewrite current usages gradually, keeping the tests pass,
and eventually drop this after all usages are changed.
� N)�List)�platformdirs)�appname�returnc C s t j| dd�S )NF)� appauthor)�_appdirs�user_cache_dir)r � r �?/usr/lib/python3.9/site-packages/pip/_internal/utils/appdirs.pyr s r T)r �roamingr c C sB t j| d|d�}tj�|�r |S d}| r6tj�|| �}tj�|�S )NF�r r z
~/.config/)r Z
user_data_dir�os�path�isdir�join�
expanduser)r r r Zlinux_like_pathr r r
�_macos_user_config_dir s r c C s$ t jdkrt| |�S tj| d|d�S )N�darwinFr )�sys�platformr r �user_config_dir)r r r r r
r "