a Re; @s.ddlZddlmZGdddeZdgZdS)N)PlatformDirsABCc@seZdZdZeedddZeedddZeedddZeedd d Z eedd d Z eedd dZ eedddZ eedddZ eedddZdS)MacOSa Platform directories for the macOS operating system. Follows the guidance from `Apple documentation `_. Makes use of the `appname ` and `version `. )returncCs|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 expanduserselfr /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_dirszMacOS.user_data_dircCs |dS)z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Supportrr r r r site_data_dirszMacOS.site_data_dircCs|tjdS)z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/rr r r ruser_config_dirszMacOS.user_config_dircCs |dS)zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesrr r r rsite_config_dirszMacOS.site_config_dircCs|tjdS)zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesrr r r ruser_cache_dir"szMacOS.user_cache_dircCs|jS)zB:return: state directory tied to the user, same as `user_data_dir`)rr r r ruser_state_dir'szMacOS.user_state_dircCs|tjdS)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 tjdS)zC:return: documents directory tied to the user, e.g. ``~/Documents``z ~/Documents)rr r r r r ruser_documents_dir1szMacOS.user_documents_dircCs|tjdS)zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsrr r r ruser_runtime_dir6szMacOS.user_runtime_dirN)__name__ __module__ __qualname____doc__propertystrrrrrrrrrrr r r rrs&r)rapirr__all__r r r rs 7