관리-도구
편집 파일: __init__.cpython-37.pyc
B Ĥ�aH1 � @ sV d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z e rPddl mZ ddlm Z dd lmZmZ d d�dd �Ze� ZeZdAdddddd�dd�ZdBdddddd�dd�ZdCdddddd�dd�ZdDdddddd�dd�ZdEdddddd�dd �ZdFdddddd�d!d"�ZdGdddddd�d#d$�Zdd�d%d&�ZdHdddddd�d'd(�ZdIddddd)d�d*d+�ZdJddddd)d�d,d-�ZdKddddd)d�d.d/�ZdLddddd)d�d0d1�Z dMddddd)d�d2d3�Z!dNddddd)d�d4d5�Z"dOddddd)d�d6d7�Z#d)d�d8d9�Z$dPddddd)d�d:d;�Z%d<d=d>d?d@ddd d"d$d&d(ddd+d/d3d5d7d9d;d-d1gZ&dS )Qz� Utilities for determining application-specific dirs. See <https://github.com/platformdirs/platformdirs> for details and usage. � )�annotationsN)�Path)� TYPE_CHECKING)�Literal� )�PlatformDirsABC)�__version__�__version_info__ztype[PlatformDirsABC])�returnc C sj t �d�dkr&t �d�dkr&d\} }n0tjdkr:d\} }ntjdkrNd \} }nd \} }tt�| �|�}|S )NZANDROID_DATAz/dataZANDROID_ROOTz/system)zplatformdirs.androidZAndroid�win32)zplatformdirs.windows�Windows�darwin)zplatformdirs.macos�MacOS)zplatformdirs.unixZUnix)�os�getenv�sys�platform�getattr� importlib� import_module)�module�name�result� r �F/opt/alt/python37/lib/python3.7/site-packages/platformdirs/__init__.py�_set_platform_dir_class s r Fz str | Nonezstr | None | Literal[False]�bool�str)�appname� appauthor�version�roamingr c C s 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 r r r! )�PlatformDirs� user_data_dir)r r r r! r r r r# % s r# )r r r � multipathr c C s t | |||d�jS )at :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 multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`. :returns: data directory shared by users )r r r r$ )r"