%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/ibus-table/engine/__pycache__/
Upload File :
Create Path :
Current File : //usr/share/ibus-table/engine/__pycache__/ibus_table_location.cpython-312.pyc

�

��Xe����UdZddlmZddlZddddd�Zeeefed<defd�Zdefd	�Zdefd
�Z	defd�Z
dd�ZGd
�d�Ze�Z
y)u�
Get locations where ibus-table stores stuff.

The directories used are according to the
“XDG Base Directory Specification”,
see: http://standards.freedesktop.org/basedir-spec/latest/index.html
�)�DictN�)�data�lib�	data_home�
cache_home�IBUS_TABLE_LOCATION�returnc��tdS)Nr�r	���3/usr/share/ibus-table/engine/ibus_table_location.pyrr%s
���v�&�&rc��tdS)Nrrr
rrrr(s
���u�%�%rc��tdS)Nrrr
rrrr+s
���{�+�+rc��tdS)Nrrr
rrrr.s
���|�,�,rc��tjd�r%ttjd��td<tdr&tjjtd�s	dtd<tjd�r%ttjd��td<tdr&tjjtd�s	dtd<tjd�r%ttjd��td<tdr&tjjtd�s:tjd	�r%ttjd	��td<tdr&tjjtd�s&tjj
d
�td<tjjtdd�td<tjtdtj�stjtdd�
�tjd�r%ttjd��td<tdr&tjjtd�s:tjd�r%ttjd��td<tdr&tjjtd�s&tjj
d�td<tjjtdd�td<tjtdtj�stjtdd�
�yy)Nr	rz/usr/share/ibus-table/�IBUS_TABLE_LIB_LOCATIONrz/usr/libexec�IBUS_TABLE_DATA_HOMEr�
XDG_DATA_HOMEz~/.local/sharez
ibus-tableT)�exist_ok�IBUS_TABLE_CACHE_HOMEr�XDG_CACHE_HOMEz~/.cache)�os�getenv�strr	�path�exists�
expanduser�join�access�F_OK�makedirsr
rr�_initr$1s���	�y�y�&�'�&)�"�)�)�4I�*J�&K��F�#���'��7�7�>�>�"5�f�"=�>�&>��F�#�	�y�y�*�+�%(����3L�)M�%N��E�"���&��7�7�>�>�"5�e�"<�=�%3��E�"�
�y�y�'�(�+.��I�I�,�-�,/��K�(���,��7�7�>�>�"5�k�"B�C�
�9�9�_�%�/2�2�9�9�_�3M�/N���,���,��7�7�>�>�"5�k�"B�C�+-�7�7�+=�+=�>N�+O��K�(�')�w�w�|�|��K�(�,�(8���$�
�9�9�(��5�r�w�w�?�
���'��4�t�D�
�y�y�(�)�,/��I�I�-�.�-0��L�)���-��7�7�>�>�"5�l�"C�D�
�9�9�%�&�03��	�	�*�+�1-���-���-��7�7�>�>�"5�l�"C�D�,.�G�G�,>�,>�z�,J��L�)�(*������L�)�<�)9���%�
�9�9�(��6����@�
���'��5��E�Arc��eZdZdd�Zdd�Zy)�__ModuleInitializerNc��t�y�N)r$��selfs r�__init__z__ModuleInitializer.__init__fs��
�rc��yr(r
r)s r�__del__z__ModuleInitializer.__del__is��r�r
N)�__name__�
__module__�__qualname__r+r-r
rrr&r&es���rr&r.)�__doc__�typingrrr	r�__annotations__rrrrr$r&�
__module_initr
rr�<module>r6s���&��	�
�
���	'��T�#�s�(�^��'�c�'�&�S�&�,�3�,�-�C�-�2F�h��$�%�
r

Zerion Mini Shell 1.0