관리-도구
편집 파일: __init__.cpython-311.pyc
� �܋f� � �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 )N�VIRTUALENV_OVERRIDE_APP_DATA� virtualenv�pypa)�appname� appauthorr )�env�keys �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/virtualenv/app_data/__init__.py�_default_app_data_dirr s, � � (�C� �c�z�z��3�x���\�V�D�D�D�D� 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 �os�path�abspathr �isdir�makedirs�logging�debug�OSError�info�access�W_OKr r )�folder�kwargs�is_read_onlyr � exceptions r � make_app_datar( sD � ��:�:�k�*�*�L� �*�*�U� � �C� � 3��1�2�2�2� �~�&�s�+�+�� �W�_�_�V� $� $�F�� '��v�&�&�&� �7�=�=�� � � ]� ]��K������M�6��?�?�?�?��� ]� ]� ]��L�H�&�R[�\�\�\�\�\�\�\�\����� ]���� �y����!�!� � ��(�(�(�� �>��G�G�G��}�}�s �)C � C1�C,�,C1)r r r r r( )�__doc__r r �platformdirsr �nar r r �via_disk_folderr �via_tempdirr r r( �__all__� r r �<module>r0 s� ��� � ���� � � � � &� &� &� &� &� &� � � � � � � &� &� &� &� &� &� .� .� .� .� .� .� $� $� $� $� $� $�E� E� E�� � �6���r