관리-도구
편집 파일: __init__.cpython-310.pyc
o ƚRe;2 � @ sP d Z ddlZddlZddlZddlmZ ddlmZmZm Z m Z er(ddlmZ ddl mZ ddlmZmZ d e e fd d�Ze� ZeZ d:d ee de eddf dee ded ef dd�Z d:d ee de eddf dee ded ef dd�Z d:d ee de eddf dee ded ef dd�Z d:d ee de eddf dee ded ef dd�Z d;d ee de eddf dee ded ef dd�Z d:d ee de eddf dee ded ef dd �Z d;d ee de eddf dee ded ef d!d"�Zd efd#d$�Z d;d ee de eddf dee ded ef d%d&�Z d:d ee de eddf dee ded ef d'd(�Z d:d ee de eddf dee ded ef d)d*�Z! d:d ee de eddf dee ded ef d+d,�Z" d:d ee de eddf dee ded ef d-d.�Z# d;d ee de eddf dee ded ef d/d0�Z$ d:d ee de eddf dee ded ef d1d2�Z% d;d ee de eddf dee ded ef d3d4�Z&d efd5d6�Z' d;d ee de eddf dee ded ef d7d8�Z(g d9�Z)dS )<z� Utilities for determining application-specific dirs. See <https://github.com/platformdirs/platformdirs> for details and usage. � N)�Path)� TYPE_CHECKING�Optional�Type�Union)�Literal� )�PlatformDirsABC)�__version__�__version_info__�returnc C sj t �d�dkrt �d�dkrd\} }ntjdkrd\} }ntjdkr'd \} }nd \} }tt�| �|�}|S )N�ANDROID_DATAz/data�ANDROID_ROOTz/system)z pip._vendor.platformdirs.android�Android�win32)z pip._vendor.platformdirs.windows�Windows�darwin)zpip._vendor.platformdirs.macos�MacOS)zpip._vendor.platformdirs.unix�Unix)�os�getenv�sys�platform�getattr� importlib� import_module)�module�name�result� r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/platformdirs/__init__.py�_set_platform_dir_class s r! F�appname� appauthorzLiteral[False]�version�roamingc C � t | |||d�jS )aq :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`. :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`. :param version: See `version <platformdirs.api.PlatformDirsABC.version>`. :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`. :returns: data directory tied to the user �r"