| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE 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
�lj� � @ 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 "