B ĤÈa_ ã@s:ddlmZddlZddlmZGdd„deƒZdgZdS)é)Ú annotationsNé)ÚPlatformDirsABCc@s²eZdZdZeddœdd„ƒZeddœdd„ƒZeddœdd „ƒZeddœd d „ƒZeddœd d „ƒZ eddœdd„ƒZ eddœdd„ƒZ eddœdd„ƒZ eddœdd„ƒZ dS)ÚMacOSa– Platform directories for the macOS operating system. Follows the guidance from `Apple documentation `_. Makes use of the `appname ` and `version `. Ústr)Ú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 úC/opt/alt/python37/lib/python3.7/site-packages/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)r)r 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 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/Preferences)r)r 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/Caches)rr r r )r r r rÚuser_cache_dir$szMacOS.user_cache_dircCs|jS)zB:return: state directory tied to the user, same as `user_data_dir`)r)r 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/Logs)rr r r )r 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)r r r )r r r rÚuser_documents_dir3szMacOS.user_documents_dircCs| tj d¡¡S)zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItems)rr r r )r r r rÚuser_runtime_dir8szMacOS.user_runtime_dirN)Ú__name__Ú __module__Ú __qualname__Ú__doc__Úpropertyrrrrrrrrrr r r rrsr)Ú __future__rr ZapirrÚ__all__r r r rÚs  7