\bgVdZddlmZddlZddlZddlmZddlmZddl m Z ddl m Z er dd l mZdd lmZd=d ZeZeZ d>d?dZ d>d@dZ d>d?dZ d>d@dZ dAdBdZ dAdBd Z d>d?d!Z dAdBd"ZdCd#ZdCd$ZdCd%ZdCd&ZdCd'ZdCd(Z dAdBd)Z! dAdBd*Z" d>dDd,Z# d>dEd-Z$ d>dDd.Z% d>dEd/Z& dAdFd0Z' dAdFd1Z( d>dDd2Z) dAdFd3Z*dGd4Z+dGd5Z,dGd6Z-dGd7Z.dGd8Z/dGd9Z0 dAdFd:Z1 dAdFd;Z2gd<Z3dS)Hz Utilities for determining application-specific dirs. See for details and usage. ) annotationsN) TYPE_CHECKING)PlatformDirsABC) __version__)__version_tuple__)Path)Literalreturntype[PlatformDirsABC]cRtjdkrddlm}ntjdkrddlm}nddlm}tj ddkrZtj d d krBtj d stj d r|Sdd l m }|ddl m }|S|S)Nwin32r)Windowsdarwin)MacOS)Unix ANDROID_DATAz/data ANDROID_ROOTz/systemSHELLPREFIX)_android_folder)Android) sysplatformplatformdirs.windowsrplatformdirs.macosrplatformdirs.unixrosgetenvplatformdirs.androidrr)Resultrrs y/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/setuptools/_vendor/platformdirs/__init__.py_set_platform_dir_classr#s |w:::::::  ! !6666666444444 y  G++ .0I0IY0V0V 9W   8!4!4 M888888 ?   ( 4 4 4 4 4 4N MFappname str | None appauthorstr | None | Literal[False]versionroamingbool ensure_existsstrc4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param roaming: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: data directory tied to the user r%r'r)r*r,) PlatformDirs user_data_dirr/s r"r1r11/ #      r$ multipathc4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param multipath: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: data directory shared by users r%r'r)r3r,)r0 site_data_dirr5s r"r6r6Is/ #      r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param roaming: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: config directory tied to the user r/)r0user_config_dirr/s r"r8r8a/ #      r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param multipath: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: config directory shared by the users r5)r0site_config_dirr5s r"r;r;ys/ #      r$Topinionc4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: cache directory tied to the user r%r'r)r<r,)r0user_cache_dirr>s r"r?r?/ #      r$c4t|||||jSa :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `opinion `. :param ensure_exists: See `ensure_exists `. :returns: cache directory tied to the user r>)r0site_cache_dirr>s r"rCrCr@r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param roaming: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: state directory tied to the user r/)r0user_state_dirr/s r"rErEr@r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: log directory tied to the user r>)r0 user_log_dirr>s r"rGrGs/ #      r$c(tjS)z.:returns: documents directory tied to the user)r0user_documents_dirr$r"rIrI >> ,,r$c(tjS)z.:returns: downloads directory tied to the user)r0user_downloads_dirrJr$r"rMrMrKr$c(tjS)z-:returns: pictures directory tied to the user)r0user_pictures_dirrJr$r"rOrO >> ++r$c(tjS)z+:returns: videos directory tied to the user)r0user_videos_dirrJr$r"rRrR >> ))r$c(tjS)z*:returns: music directory tied to the user)r0user_music_dirrJr$r"rUrUs >> ((r$c(tjS)z,:returns: desktop directory tied to the user)r0user_desktop_dirrJr$r"rWrW  >> **r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `opinion `. :param ensure_exists: See `ensure_exists `. :returns: runtime directory tied to the user r>)r0user_runtime_dirr>s r"rZrZ/ #      r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `opinion `. :param ensure_exists: See `ensure_exists `. :returns: runtime directory shared by users r>)r0site_runtime_dirr>s r"r]r]'r[r$r c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param roaming: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: data path tied to the user r/)r0user_data_pathr/s r"r_r_?r@r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param multipath: See `multipath `. :param ensure_exists: See `ensure_exists `. :returns: data path shared by users r5)r0site_data_pathr5s r"raraWs/ #      r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param roaming: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: config path tied to the user r/)r0user_config_pathr/s r"rcrcor[r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param multipath: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: config path shared by the users r5)r0site_config_pathr5s r"reres/ #      r$c4t|||||jSrB)r0site_cache_pathr>s r"rgrgr9r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: cache path tied to the user r>)r0user_cache_pathr>s r"ririr9r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param roaming: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: state path tied to the user r/)r0user_state_pathr/s r"rkrkr9r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `roaming `. :param ensure_exists: See `ensure_exists `. :returns: log path tied to the user r>)r0 user_log_pathr>s r"rmrmr2r$c(tjS)z+:returns: documents a path tied to the user)r0user_documents_pathrJr$r"roro >> --r$c(tjS)z):returns: downloads path tied to the user)r0user_downloads_pathrJr$r"rrrrrpr$c(tjS)z(:returns: pictures path tied to the user)r0user_pictures_pathrJr$r"rtrt rKr$c(tjS)z&:returns: videos path tied to the user)r0user_videos_pathrJr$r"rvrvrXr$c(tjS)z%:returns: music path tied to the user)r0user_music_pathrJr$r"rxrxrSr$c(tjS)z':returns: desktop path tied to the user)r0user_desktop_pathrJr$r"rzrzrPr$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `opinion `. :param ensure_exists: See `ensure_exists `. :returns: runtime path tied to the user r>)r0user_runtime_pathr>s r"r|r|/ #      r$c4t|||||jS)a :param appname: See `appname `. :param appauthor: See `appauthor `. :param version: See `version `. :param opinion: See `opinion `. :param ensure_exists: See `ensure_exists `. :returns: runtime path shared by users r>)r0site_runtime_pathr>s r"rr5r}r$)%AppDirsr0rr__version_info__rCrgr;rer6rar]rr?rir8rcr1r_rWrzrIrorMrrrGrmrUrxrOrtrZr|rErkrRrv)r r )NNNFF) r%r&r'r(r)r&r*r+r,r+r r-) r%r&r'r(r)r&r3r+r,r+r r-)NNNTF) r%r&r'r(r)r&r<r+r,r+r r-)r r-) r%r&r'r(r)r&r*r+r,r+r r ) r%r&r'r(r)r&r3r+r,r+r r ) r%r&r'r(r)r&r<r+r,r+r r )r r )4__doc__ __future__rrrtypingrapirr)rrrpathlibr r r#r0rr1r6r8r;r?rCrErGrIrMrOrRrUrWrZr]r_rarcrergrirkrmrorrrtrvrxrzr|r__all__rJr$r"rs#""""" ::::::,'&(( -1 2-1 2-1 2-1 2-1 2-1 2-1 2-1 0---- ---- ,,,, **** )))) ++++ -1 2-1 2-1 2-1 2-1 2-1 2-1 2-1 2-1 2-1 0.... .... ---- ++++ **** ,,,, -1 2-1 0& & & r$