o ai; @s.ddlZddlmZGdddeZdgZdS)N)PlatformDirsABCc@seZdZdZedefddZedefddZedefddZedefd d Z edefd d Z edefd dZ edefddZ edefddZ edefddZdS)MacOSa Platform directories for the macOS operating system. Follows the guidance from `Apple documentation `_. Makes use of the `appname ` and `version `. returncC|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-python310-pip-21.3.1-5.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/platformdirs/macos.py user_data_dirzMacOS.user_data_dircC |dS)z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Supportrr rrr site_data_dir zMacOS.site_data_dircCr)z\:return: config directory tied to the user, e.g. ``~/Library/Preferences/$appname/$version``z~/Library/Preferences/rr rrruser_config_dirrzMacOS.user_config_dircCr)zU:return: config directory shared by the users, e.g. ``/Library/Preferences/$appname``z/Library/Preferencesrr rrrsite_config_dirrzMacOS.site_config_dircCr)zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesrr rrruser_cache_dir"rzMacOS.user_cache_dircCs|jS)zB:return: state directory tied to the user, same as `user_data_dir`)rr rrruser_state_dir'szMacOS.user_state_dircCr)zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsrr rrr user_log_dir,rzMacOS.user_log_dircCs tjdS)zC:return: documents directory tied to the user, e.g. ``~/Documents``z ~/Documents)r r r r rrruser_documents_dir1s zMacOS.user_documents_dircCr)zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsrr rrruser_runtime_dir6rzMacOS.user_runtime_dirN)__name__ __module__ __qualname____doc__propertystrrrrrrrrrrrrrrrs(r)r apirr__all__rrrrs  7