관리-도구
편집 파일: appdirs.cpython-37.pyc
B ��ReE � @ s^ d Z ddlmZ ddlZddlmZ ddlmZ er@ddl m Z dd� Zdd d�Zdd � 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)�Listc C s t j| dd�S )NF)� appauthor)�_appdirs�user_cache_dir)�appname� r ��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/appdirs.pyr s r Tc C sH t j| d|d�}t jdkrDtj�|�sDtj�d�}| rDtj�|| �}|S )NF)r �roaming�darwinz ~/.config/)r �user_config_dir�system�os�path�isdir� expanduser�join)r r r r r r r s r c C s2 t j| ddd�}t jdkr,|�tj�dg S |gS )NFT)r � multipath)�win32r z/etc)r �site_config_dirr �splitr �pathsep)r �dirvalr r r �site_config_dirs&