R`i^ D d Z ddlmZ ddlZddlmZ G d de ZdgZy)zmacOS. )annotationsN )PlatformDirsABCc e Zd ZdZedd Zedd Zedd Zedd Zedd Z edd Z
edd Zedd Zedd
Z
edd Zedd Zedd
Zedd Zedd Zy)MacOSa
Platform directories for the macOS operating system. Follows the guidance from `Apple documentation
`_.
Makes use of the `appname `,
`version `,
`ensure_exists `.
c ^ | j t j j 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_versionospath
expanduserselfs /builddir/build/BUILDROOT/alt-python312-pip-23.3.1-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py
user_data_dirzMacOS.user_data_dir s% 001C1CDc1dee c $ | j d S )z`:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``z/Library/Application Supportr
r s r
site_data_dirzMacOS.site_data_dir s 001OPPr c | j S )zC:return: config directory tied to the user, same as `user_data_dir`r r s r user_config_dirzMacOS.user_config_dir !!!r c | j S )zF:return: config directory shared by the users, same as `site_data_dir`)r r s r site_config_dirzMacOS.site_config_dir! r r c ^ | j t j j d S )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr r s r user_cache_dirzMacOS.user_cache_dir&