a R€a; ã@s.ddlZddlmZGdd„deƒZdgZdS)éNé)ÚPlatformDirsABCc@s²eZdZdZeedœdd„ƒZeedœdd„ƒZeedœdd„ƒZeedœd d „ƒZ eedœd d „ƒZ eedœd d„ƒZ eedœdd„ƒZ eedœ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 `. )ÚreturncCs| 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 úO/opt/alt/python39/lib/python3.9/site-packages/pip/_vendor/platformdirs/macos.pyÚ user_data_dirszMacOS.user_data_dircCs | d¡S)z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Support©rr r r rÚ site_data_dirszMacOS.site_data_dircCs| tj d¡¡S)z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/rr r r rÚuser_config_dirszMacOS.user_config_dircCs | d¡S)zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesrr r r rÚsite_config_dirszMacOS.site_config_dircCs| tj d¡¡S)zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesrr r r rÚuser_cache_dir"szMacOS.user_cache_dircCs|jS)zB:return: state directory tied to the user, same as `user_data_dir`)rr r r rÚuser_state_dir'szMacOS.user_state_dircCs| tj d¡¡S)zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsrr r r rÚ user_log_dir,szMacOS.user_log_dircCs tj d¡S)zC:return: documents directory tied to the user, e.g. ``~/Documents``z ~/Documents)rr r r r r rÚuser_documents_dir1szMacOS.user_documents_dircCs| tj d¡¡S)zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsrr r r rÚuser_runtime_dir6szMacOS.user_runtime_dirN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚpropertyÚstrrrrrrrrrrr r r rrs&r)rZapirrÚ__all__r r r rÚs 7ÿ