관리-도구
편집 파일: __init__.cpython-38.pyc
U )�evV � % @ s� d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl m Z ddl mZ erldd l mZ dd lmZ dd�d d�Ze� ZeZd^ddddddd�dd�Zd_ddddddd�dd�Zd`ddddddd�dd�Zdaddddddd�dd�Zdbddddddd�d d!�Zdcddddddd�d"d#�Zddddddddd�d$d%�Zdeddddddd�d&d'�Zdd�d(d)�Zdd�d*d+�Zdd�d,d-�Zdd�d.d/�Zdd�d0d1�Zdd�d2d3�Z dfddddddd�d4d5�Z!dgddddddd�d6d7�Z"dhdddddd8d�d9d:�Z#didddddd8d�d;d<�Z$djdddddd8d�d=d>�Z%dkdddddd8d�d?d@�Z&dldddddd8d�dAdB�Z'dmdddddd8d�dCdD�Z(dndddddd8d�dEdF�Z)dodddddd8d�dGdH�Z*d8d�dIdJ�Z+d8d�dKdL�Z,d8d�dMdN�Z-d8d�dOdP�Z.d8d�dQdR�Z/d8d�dSdT�Z0dpdddddd8d�dUdV�Z1dqdddddd8d�dWdX�Z2dYdZd[d\d]ddd!d%d'd)d+d-d/d1d3d5ddd#d7d:d>dDdFdHdJdLdNdPdRdTdVd<d@dBdXg%Z3dS )rz� Utilities for determining application-specific dirs. See <https://github.com/platformdirs/platformdirs> for details and usage. � )�annotationsN)� TYPE_CHECKING� )�PlatformDirsABC)�__version__)�__version_tuple__)�Path)�Literalztype[PlatformDirsABC])�returnc C s� t jdkrddlm} n$t jdkr0ddlm} nddlm} t� d�dkr�t� d �d kr�t� d�slt� d�rp| S dd l m} |� d k r�ddl m} |S | S )N�win32r )�Windows�darwin)�MacOS)�Unix�ANDROID_DATAz/data�ANDROID_ROOTz/system�SHELL�PREFIX)�_android_folder)�Android) �sys�platformZplatformdirs.windowsr Zplatformdirs.macosr Zplatformdirs.unixr �os�getenvZplatformdirs.androidr r )�Resultr r � r �C/opt/hc_python/lib/python3.8/site-packages/platformdirs/__init__.py�_set_platform_dir_class s r Fz str | Nonezstr | None | Literal[False]�bool�str)�appname� appauthor�version�roaming� ensure_existsr c C s t | ||||d�jS )a� :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.roaming>`. :param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`. :returns: data directory tied to the user �r r! r"