a
Re;
@ s. d dl Z ddlmZ G dd deZdgZdS ) N )PlatformDirsABCc @ s e Zd ZdZeedddZeedddZeedddZeedd d
Z eedddZ
eedd
dZeedddZeedddZ
eedddZdS )MacOSa
Platform directories for the macOS operating system. Follows the guidance from `Apple documentation
`_.
Makes use of the `appname ` and
`version `.
)returnc C s | tjdS )zb:return: data directory tied to the user, e.g. ``~/Library/Application Support/$appname/$version``z~/Library/Application Support/_append_app_name_and_versionospath
expanduserself r
/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_vendor/platformdirs/macos.py
user_data_dir s zMacOS.user_data_dirc C s
| dS )z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Supportr r r
r
r
site_data_dir s zMacOS.site_data_dirc C s | tjdS )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
| dS )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 | tjdS )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 | tjdS )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 jdS )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 | tjdS )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__propertystrr r r r r r r r r r
r
r
r r s&