1j f d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ d Z
d
ZdZdS )z(
Application data stored by virtualenv.
N
user_data_dir )AppDataDisabled)ReadOnlyAppData)AppDataDiskFolder)TempAppDatac @ d}|| v r| | S t dd S )NVIRTUALENV_OVERRIDE_APP_DATA
virtualenvpypa)appname appauthorr )envkeys n/builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/virtualenv/app_data/__init__.py_default_app_data_dirr s,
(C
czz3x\VDDDD c | d }| d }|rt d | t | } t j | } |rt
| S t j | sX t j | t j
d| n-# t $ r }t j d| | Y d }~nd }~ww xY wt j
| t j rt | S t j
d| t! S )N read_onlyr zunexpected keywords: {}zcreated app data folder %sz-could not create app data folder %s due to %rz&app data folder %s has no write access)pop TypeErrorr ospathabspathr isdirmakedirsloggingdebugOSErrorinfoaccessW_OKr r )folderkwargsis_read_onlyr exceptions r
make_app_datar( sD ::k**L
**U
C
31222
~&s++
W__V
$
$F 'v&&&
7== ] ]KM6???? ] ] ]LH&R[\\\\\\\\ ]
y!! (((
>GGG}}s )C
C1C,,C1)r r r r r( )__doc__r r platformdirsr nar r r via_disk_folderr via_tempdirr r r( __all__ r r