HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-39.pyc
a

?�fE�@s^dZddlmZddlZddlmZddlmZer@ddl	m
Z
dd�Zdd
d�Zdd
�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.
�)�absolute_importN)�appdirs)�MYPY_CHECK_RUNNING)�ListcCstj|dd�S)NF)�	appauthor)�_appdirs�user_cache_dir)�appname�r
�?/usr/lib/python3.9/site-packages/pip/_internal/utils/appdirs.pyrsrTcCsHtj|d|d�}tjdkrDtj�|�sDtj�d�}|rDtj�||�}|S)NF)r�roaming�darwinz
~/.config/)r�user_config_dir�system�os�path�isdir�
expanduser�join)r	rrr
r
rrsrcCs2tj|ddd�}tjdvr,|�tj�dgS|gS)NFT)rZ	multipath)Zwin32r
z/etc)rZsite_config_dirr�splitr�pathsep)r	Zdirvalr
r
r�site_config_dirs&s
r)T)�__doc__Z
__future__rrZpip._vendorrrZpip._internal.utils.typingr�typingrrrrr
r
r
r�<module>s