a
ˆlj;
ã @ s. d dl Z ddlmZ G dd„ deƒZdgZdS )é Né )ÚPlatformDirsABCc @ s² e Zd ZdZeedœdd„ƒZeedœdd„ƒZeedœdd„ƒZeedœd d
„ƒZ eedœdd„ƒZ
eedœd
d„ƒZeedœdd„ƒZeedœdd„ƒZ
eedœdd„ƒZdS )ÚMacOSa–
Platform directories for the macOS operating system. Follows the guidance from `Apple documentation
`_.
Makes use of the `appname ` and
`version `.
)Úreturnc C s | tj d¡¡S )zb:return: data directory tied to the user, e.g. ``~/Library/Application Support/$appname/$version``z~/Library/Application Support/©Ú_append_app_name_and_versionÚosÚpathÚ
expanduser©Úself© r
úB/usr/lib/python3.9/site-packages/pip/_vendor/platformdirs/macos.pyÚ
user_data_dir s zMacOS.user_data_dirc C s
| d¡S )z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Support©r r r
r
r Ú
site_data_dir s zMacOS.site_data_dirc C s | tj d¡¡S )z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/r r r
r
r Úuser_config_dir s zMacOS.user_config_dirc C s
| d¡S )zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesr r r
r
r Úsite_config_dir s zMacOS.site_config_dirc C s | tj d¡¡S )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr r r
r
r Úuser_cache_dir" s zMacOS.user_cache_dirc C s | j S )zB:return: state directory tied to the user, same as `user_data_dir`)r r r
r
r Úuser_state_dir' s zMacOS.user_state_dirc C s | tj d¡¡S )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr r r
r
r Úuser_log_dir, s zMacOS.user_log_dirc C s t j d¡S )zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documents)r r r
r r
r
r Úuser_documents_dir1 s zMacOS.user_documents_dirc C s | tj d¡¡S )zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr r r
r
r Úuser_runtime_dir6 s zMacOS.user_runtime_dirN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚpropertyÚstrr r r r r r r r r r
r
r
r r s&