| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
�
�/�c� � � � d Z ddlZddlZddlmZ ddlmZ dedefd�Z d
ded e
defd
�Zd
ded e
defd�Zdedee fd�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 �. � t j | d�� � S )NF)� appauthor)�_appdirs�user_cache_dir)r s �=/usr/lib/python3/dist-packages/pip/_internal/utils/appdirs.pyr
r
s � ��"�7�e�<�<�<�<� T�roamingc � � t j | d|�� � }t j � |� � r|S d}| r t j � || � � }t j � |� � S )NF�r r
z
~/.config/)r �
user_data_dir�os�path�isdir�join�
expanduser)r r
r �linux_like_paths r �_macos_user_config_dirr so � ��!�'�U�G�L�L�L�D� �w�}�}�T��� ��� #�O�� A��'�,�,���@�@��
�7���o�.�.�.r c �p � t j dk rt | |� � S t j | d|�� � S )N�darwinFr )�sys�platformr r �user_config_dir)r r
s r r r "