%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/keyring/util/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/keyring/util/__pycache__/platform_.cpython-312.pyc

�

�e�����ddlZddlZddlZd�Zd�Zd�Zd�ZeZd�Zd�Z	e
�jdej�ze�Z
e
�jd	ej�ze	�Zy)
�Nc�d�tjjtjdd�S)N�USERPROFILEzLocal Settings)�os�path�join�environ���8/usr/lib/python3/dist-packages/keyring/util/platform_.py�_settings_root_XPrs!��
�7�7�<�<��
�
�=�1�3C�D�Dr
c�~�tjjdtjjdd��S)N�LOCALAPPDATA�ProgramData�.)rr�getr	r
r�_settings_root_Vistar
s&��
�:�:�>�>�.�"�*�*�.�.���*L�M�Mr
c��tj�\}}}}|dk(r
t�n	t�}t	j
|d�S)N�XPzPython Keyring)�platform�	win32_verrr�pathlib�Path)�release�version�csd�ptype�roots     r�_data_root_Windowsrs@��#+�#5�#5�#7� �G�W�c�5�")�T�/���7K�7M�D��<�<��.�/�/r
c��tjj�dz}tjjdd�xs|}tj|d�S)zW
    Use freedesktop.org Base Dir Specification to determine storage
    location.
    z.local/share�
XDG_DATA_HOMEN�python_keyring)rr�homerrr)�fallbackrs  r�_data_root_Linuxr$sF��
�|�|� � �"�^�3�H�
�:�:�>�>�/�4�0�<�H�D��<�<��.�/�/r
c�f�d�t�d<tjjt	�d�}tjjt�d�}tjj
|�r4tjj
|�sd|�d|�d�}t|��yy)a
    Prior versions of keyring would search for the config
    in XDG_DATA_HOME, but should probably have been
    searching for config in XDG_CONFIG_HOME. If the
    config exists in the former but not in the latter,
    raise a RuntimeError to force the change.
    c��y)Nr	r	r
r�<lambda>z(_check_old_config_root.<locals>.<lambda>*s�r
�_check_old_config_rootz
keyringrc.cfgz/Keyring config exists only in the old location z and should be moved to z& to work with this version of keyring.N)�globalsrrr�_config_root_Linuxr$�isfile�RuntimeError)�config_file_new�config_file_old�msgs   rr(r(!s���+7�G�I�&�'��g�g�l�l�#5�#7��I�O��g�g�l�l�#3�#5��G�O�	�w�w�~�~�o�&�r�w�w�~�~�o�/N�=���7��7H�I4�
4�	�
�3���
0O�&r
c���t�tjj�dz}d}tj
j
|d�xs|}tj|d�S)zV
    Use freedesktop.org Base Dir Specification to determine config
    location.
    z.config�XDG_CONFIG_HOMENr!)r(rrr"rrr)r#�keyrs   rr*r*6sQ��
���|�|� � �"�Y�.�H�
�C�
�:�:�>�>�#�t�$�0��D��<�<��.�/�/r
�_data_root_�
_config_root_)rrrrrrr$�_config_root_Windowsr(r*r)r�system�	data_root�config_rootr	r
r�<module>r9sz��	���E�N�0�0�*�� �*	0�
�I�M�M�-�/�(�/�/�*;�;�=M�N�	��i�m�m�O�o�h�o�o�.?�?�AS�T�r

Zerion Mini Shell 1.0