| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pip/_internal/utils/__pycache__/ |
Upload File : |
�
�k�f� � � � d Z ddlZddlZddlmZ ddlmZ dedefd�Z ddede
defd �Zddede
defd
�Zdedee fd�Z
y)
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 �0 � t j | d�� S )NF)� appauthor)�_appdirs�user_cache_dir)r s �=C:\Python312\Lib\site-packages\pip/_internal/utils/appdirs.pyr
r
s � ��"�"�7�e�<�<� �roamingc � � t j | d|�� }t j j |� r|S d}| r t j j || � }t j 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 s^ � ��!�!�'�U�G�L�D� �w�w�}�}�T���� #�O���'�'�,�,���@��
�7�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 "