Your IP : 3.139.234.68


Current Path : /opt/alt/python312/lib64/python3.12/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/__pycache__/site.cpython-312.opt-2.pyc

�

�Q�f}Z��\�	ddlZddlZddlZddlZddlZddlZejejgada	da
dad�Zd�Z
d�Zd�Zd�Zd�Zdd�Zd	�Zd
�Zd�Zd�Zd
�Zd�Zdd�Zdd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d�Z"ejFjHse"�d�Z%e&dk(re%�yy)�Nc�p�tjjrt|tj��yy)N��file)�sys�flags�verbose�print�stderr)�messages �+/opt/alt/python312/lib64/python3.12/site.py�_tracer
\s"��
�y�y���
�g�C�J�J�'��c���tjj|�}	tjj|�}|tjj|�fS#t$rY�,wxYw�N)�os�path�join�abspath�OSError�normcase)�paths�dirs  r�makepathras[��
�'�'�,�,��
�C�
��g�g�o�o�c�"������ � ��%�%�%���
��
�s�A�	A*�)A*c�>�	ttjj��D]~}d}	|jj
}|dvr�!	tjj|j�|_	tjj|j�|_��y#t$r4	|jjj
}n#t$rYnwxYwY��wxYw#tttf$rY��wxYw#tttf$rY��wxYw)N>�_frozen_importlib�_frozen_importlib_external)�setr�modules�values�
__loader__�
__module__�AttributeError�__spec__�loaderrrr�__file__r�	TypeError�
__cached__)�m�
loader_modules  r�	abs_pathsr*js���O�
����#�#�%�
&���
�	��L�L�3�3�M�� S�S��	���������4�A�J�	��7�7�?�?�1�<�<�8�A�L�!'���	�
� !�
�
� 1� 1� <� <�
��!�
��
��	�����3�	��	�����3�	��	�sY�B+�.C+�:.D�+	C(�5 C�C(�	C"�C(�!C"�"C(�'C(�+D�D�D�Dc���	g}t�}tjD]7}t|�\}}||vs�|j	|�|j|��9|tjdd|Sr)rrrr�append�add)�L�known_pathsr�dircases    r�removeduppathsr1�sf���	�A��%�K��x�x�� ��}���W��+�%�
�H�H�S�M��O�O�G�$���C�H�H�Q�K��rc���	t�}tjD]A}	tjj	|�rt|�\}}|j
|��C|S#t$rY�QwxYwr)rrrr�existsrr-r&)�d�item�_�itemcases    r�_init_pathinfor8�sc��O���A�����	��w�w�~�~�d�#�&�t�n���8����h���	�
�H���	��	�s�>A"�"	A.�-A.c	���	|�
t�}d}nd}tjj||�}	tj|�}t
|dd�tjzst
|dd�tjzrtd|���ytd|���	tj|�5}|j�}ddd�	jd�}t%|j'�d�D]�\}	}
|
j)d�r�|
j+�d
k(r�,	|
j)d�rt-|
��J|
j/�}
t1||
�\}}||vrOtjj3|�r0t4jj7|�|j9|���|rd}|S#t
$rYywxYw#1swY��	xYw#t
$rYywxYw#t$rFddl}j|j#��}td	|�d
|j#����Y��WwxYw#t:$r�}
t=d|	d�d|�d�t4j>��ddl }|jC|
�D]5}|j'�D] }
t=d|
zt4j>���"�7t=dt4j>��Yd}
~
��d}
~
wwxYw)NTF�st_flagsr�st_file_attributeszSkipping hidden .pth file: zProcessing .pth file: z	utf-8-sigzCannot read z# as UTF-8. Using fallback encoding ��#�)zimport zimport	zError processing line r4z of z:
rz  z
Remainder of file ignored)"r8rrr�lstatr�getattr�stat�	UF_HIDDEN�FILE_ATTRIBUTE_HIDDENr
�io�	open_code�read�decode�UnicodeDecodeError�locale�getencoding�	enumerate�
splitlines�
startswith�strip�exec�rstriprr3rr,r-�	Exceptionr	r
�	traceback�format_exception)�sitedir�namer/�reset�fullname�st�f�pth_contentrI�n�linerr0�excrR�records                r�
addpackager_�s������$�&�������w�w�|�|�G�T�*�H��
�X�X�h�
��
��Z��	#�d�n�n�	4�	��)�1�	-��0J�0J�	J��,�X�L�9�:��
�
#�H�<�0�1��
�\�\�(�
#�q��&�&�(�K�$�

D�"�(�(��5���[�3�3�5�q�9���4��?�?�3����:�:�<�2���	����6�7��T�
���;�;�=�D�#�G�T�2�L�C���k�)�b�g�g�n�n�S�.A�������$�����(��:�.
������e�����$�
#��������D�	�!�(�(��);�);�)=�>����h�\�**�*0�*<�*<�*>�)A�C�	D�D��,�	��*�1�Q�%�t�H�:�S�A��z�z�
#��#�4�4�S�9��"�-�-�/�D��$�t�)�#�*�*�5�0�:�
�/�c�j�j�A���	�sn�G�#G�8G�	G�G,�*H>�A2H>�	G
�G
�G�G�	G)�(G)�,AH;�:H;�>	K�BK�Kc���	td|���|�
t�}d}nd}t|�\}}||vr0tjj|�|j
|�	tj|�}|D�cgc]&}|jd�r|jd�s|��(}}t|�D]}t|||��|rd}|S#t$rYywxYwcc}w)NzAdding directory: TFz.pth�.)r
r8rrrr,r-r�listdirr�endswithrM�sortedr_)rTr/rV�sitedircase�namesrUs      r�
addsitedirrg�s����
�
��{�+�,���$�&������#�G�,��G�[��+�%������� �����$���
�
�7�#��$�
D�e�d��
�
�f�%�d�o�o�c�.B��e�E�
D��u�
���7�D�+�.�������������
Ds�$C
�=+C�
	C�Cc�d�	tjjryttd�r:ttd�r*t	j
�t	j�k7ryttd�r:ttd�r*t	j�t	j�k7ryy)NF�getuid�geteuid�getgid�getegidT)	rr�no_user_site�hasattrrrjrirlrk�rr�check_enableusersiterp�sp����y�y�����r�8����Y�!7�
�:�:�<�2�9�9�;�&���r�8����Y�!7�
�:�:�<�2�9�9�;�&��rc	��tjjdd�}|r|Stjdvryd�}tj
dk(r,tjjd�xsd}||d�Stjdk(r=tjr-|dd	tjd
tjddz�S|dd�S)
N�PYTHONUSERBASE>�wasi�vxworks�
emscriptenc�t�tjjtjj|��Sr)rr�
expanduserr)�argss r�joinuserz_getuserbase.<locals>.joinuser&s$���w�w�!�!�"�'�'�,�,��"5�6�6r�nt�APPDATA�~�Python�darwin�Libraryz%d.%d�z.local)r�environ�getr�platformrU�
_framework�version_info)�env_basery�bases   r�_getuserbaser�s����z�z�~�~�.��5�H�����|�|�8�8��7�
�w�w�$���z�z�~�~�i�(�/�C����h�'�'�
�|�|�x��C�N�N���Y�����#�"2�"2�2�A�"6�6�8�	8��C��"�"rc�
�tj}tjdk(r(tjjdd�}|�d|�d�Stjdk(rtjr|�d�S|�d|d	�d|d
�d�S)Nrzrar>z\Pythonz\site-packagesr~z/lib/python/site-packagesz/lib/pythonrr<z/site-packages)rr�rrU�winver�replacer�r�)�userbase�version�	ver_nodots   r�	_get_pathr�5s������G�	�w�w�$���J�J�&�&�s�B�/�	���8�I�;�o�>�>�
�|�|�x��C�N�N���4�5�5��Z�{�7�1�:�,�a���
�|�>�J�Jrc�0�	t�
t�atSr)�	USER_BASEr�rorr�getuserbaser�Bs����� �N�	��rc�Z�	t�}t�|�datSt|�atS)NF)r��	USER_SITE�ENABLE_USER_SITEr�)r�s r�getusersitepackagesr�Os<����}�H�����$����"�(�+�I��rc��	td�t�}tr+tjj|�rt
||�|S)NzProcessing user site-packages)r
r�r�rr�isdirrg)r/�	user_sites  r�addusersitepackagesr�`s<����*�+�#�%�I��B�G�G�M�M�)�4��9�k�*��rc
��	g}t�}|�t}|D]�}|r||vr�
|j|�tjdk(r�t
jg}t
jdk7r|jd�|D]I}tjj||dt
jddzd�}|j|��K��|j|�|jtjj|dd����|S)N�/�libzpython%d.%dr�z
site-packages�Lib)r�PREFIXESr-r�sepr�
platlibdirr,rrr�)�prefixes�sitepackages�seen�prefix�libdirs�libdirrs       r�getsitepackagesr�os�����L��5�D���������4��������
�6�6�S�=��~�~�&�G��~�~��&����u�%�!���w�w�|�|�F�F�$1�C�4D�4D�R�a�4H�$H�$3�5���#�#�D�)�	"�
����'���������V�U�O� L�M�#�$�rc��	td�t|�D].}tjj	|�s�#t||��0|S)NzProcessing global site-packages)r
r�rrr�rg)r/r�rTs   r�addsitepackagesr��s?��'�
�,�-�"�8�,��
�7�7�=�=��!��w��,�-��rc��	tjdk(rd}nd}tjd|�t_tjd|�t_y)N�\zCtrl-Z plus ReturnzCtrl-D (i.e. EOF)�quit�exit)rr��
_sitebuiltins�Quitter�builtinsr�r�)�eofs r�setquitr��sF���
�v�v��~�"��!��!�)�)�&�#�6�H�M�!�)�)�&�#�6�H�Mrc�N�	tjdtj�t_tjdd�t_gg}}t
tdd�}|s=ttd�r-tjjtj�}|ra|jddg�|jtjj|tj�|tjg�tjdd	||�t_y)
N�	copyright�creditsz�    Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
    for supporting Python development.  See www.python.org for more information.�_stdlib_dirr%zLICENSE.txt�LICENSE�licensez'See https://www.python.org/psf/license/)r��_Printerrr�r�r�r@rnrr�dirnamer%�extendr�pardir�curdirr�)�files�dirs�heres   r�setcopyrightr��s���3�&�/�/��S�]�]�K�H��$�-�-�i�:T�U�H���b�4�E��3�
�t�,�D��G�B�
�+��w�w���r�{�{�+���
���m�Y�/�0����R�W�W�\�\�$��	�	�2�D�"�)�)�D�E�$�-�-��1�
�t��H�rc�>�tj�t_yr)r��_Helperr��helprorr�	sethelperr��s��!�)�)�+�H�Mrc�"�	d�}|t_y)Nc����ddl}	ddl�ddl}t	�dd�}|�d|vr�jd�n�jd�	�j
��j�dk(rgtjjtjjd�d��	�j����fd	�}|j|�yy#t$rYywxYw#t$rY��wxYw#t$rY�BwxYw)
Nr�__doc__r>�libeditzbind ^I rl_completez
tab: completer|z.python_historyc�H��	�j��y#t$rYywxYwr)�write_history_filer)�history�readlines��r�
write_historyzCenablerlcompleter.<locals>.register_readline.<locals>.write_history�s*�����/�/��8������s��	!�!)�atexitr��rlcompleter�ImportErrorr@�parse_and_bind�read_init_filer�get_current_history_lengthrrrrw�read_history_file�register)r�r��readline_docr�r�r�s    @@r�register_readlinez,enablerlcompleter.<locals>.register_readline�s�����	����x��B�7���#�	�\�(A��#�#�$9�:��#�#�O�4�	��#�#�%��.�.�0�A�5��g�g�l�l�2�7�7�#5�#5�c�#:�#4�6�G�
��*�*�7�3�
�
�O�O�M�*�+6��)�	��	���	�

�	��"�
��
�s5�C�C!�(C0�	C�C�!	C-�,C-�0	C<�;C<)r�__interactivehook__)r�s r�enablerlcompleterr��s���.+�`0�C�rc�B�tj}tjdk(r#d|vrtjdx}t_ntj
}tjjtjj|��}tjj|�}dt_	d}td�tjj||�tjj||�fD�d�}|�r|}d}t|d��5}	|	D]q}
d|
vs�|
jd�\}}}
|j�j�}|
j�}
|d	k(r|
j�}�a|d
k(s�g|
t_	�s	ddd�|xt_t_t%|tj g�|dk(r&t&j)dtj �|Stj gada|S#1swY�zxYw)
Nr~�__PYVENV_LAUNCHER__z
pyvenv.cfgc3�^K�|]%}tjj|�r|���'y�wr)rr�isfile)�.0�conffiles  r�	<genexpr>zvenv.<locals>.<genexpr>	s.����	
�&���w�w�~�~�h�'�	
�&�s�+-�truezutf-8)�encoding�=zinclude-system-site-packages�homerF)rr�rr��_base_executable�
executablerr�r�_home�nextr�open�	partitionrN�lowerr��exec_prefixr�r��insertr�)r/�envr��exe_dir�site_prefix�
conf_basename�candidate_conf�virtual_conf�system_siterYr\�keyr6�values              r�venvr��s���
�*�*�C�
�|�|�x��$9�S�$@�,.�J�J�7L�,M�M�
�S�)��^�^�
��g�g�o�o�b�g�g�o�o�j�9�:�G��'�'�/�/�'�*�K��C�I� �M��	
������W�m�4������[�-�8�&�	
�	
�	�N��%�����,��
1�Q����$�;�$(�N�N�3�$7�M�C��E��)�)�+�+�+�-�C�!�K�K�M�E��<�<�&+�k�k�m�����$)��	��2�(3�2��
�S�_�	��c�j�j�\�2��&� ��O�O�A�s�z�z�*�
���
�
�|�H�$����12�
1�s�$
H�/AH�
H�Hc��			ddl}y#t$r}|jdk(rn�Yd}~yd}~wwxYw#t$r�}tj
jr%t	jt	j��n?tjjd|jj�d|�d��Yd}~yYd}~yd}~wwxYw)Nr�
sitecustomizez9Error in sitecustomize; set PYTHONVERBOSE for traceback:
�: �
)
r�r�rUrQrrr�
excepthook�exc_infor
�write�	__class__�__name__)r�r]�errs   r�execsitecustomizer3���6�/�	� ���	��x�x�?�*�����	��
�/��9�9����N�N�C�L�L�N�+��J�J������'�'��.�
/�
/�
,��/��)�	�	-�(�0�-�0�	C�A9B<�<Cc��			ddl}y#t$r}|jdk(rn�Yd}~yd}~wwxYw#t$r�}tj
jr%t	jt	j��n?tjjd|jj�d|�d��Yd}~yYd}~yd}~wwxYw)Nr�
usercustomizez9Error in usercustomize; set PYTHONVERBOSE for traceback:
r�r�)
rr�rUrQrrrr�r�r
rrr)rr]rs   r�execusercustomizer	Grrc��	tjdd}t�}|tjk7r
t�t	|�}t
�
t
�at|�}t|�}t�t�t�tjjs
t�t�t
rt!�yyr)rrr1r*r�r�rpr�r�r�r�r�r�isolatedr�rr	)�	orig_pathr/s  r�mainr
[s���������I� �"�K��C�H�H��	���{�#�K���/�1��%�k�2�K�!�+�.�K��I��N�
�K��9�9����������rc���d}tjdd}|s�t�}t�}t	d�tj
D]}t	d|�d���t	d�d�}t	d|�d	||��d
��t	d|�d	||��d
��t	dt���tjd
�g}d|vr|jt�d|vr|jt�|r�t	tjj|��trtjd
�ytdurtjd�yt�tjd�ytjd�yd
dl}t	|j|tjd
tjfz��tjd�y)Na�    %s [--user-base] [--user-site]

    Without arguments print some useful information
    With arguments print the value of USER_BASE and/or USER_SITE separated
    by '%s'.

    Exit codes with --user-base or --user-site:
      0 - user site directory is enabled
      1 - user site directory is disabled by user
      2 - user site directory is disabled by super user
          or for security reasons
     >2 - unknown error
    r<zsys.path = [z    �,�]c�H�|� tjj|�ryy)Nr3z
doesn't exist)rrr�)rs rr3z_script.<locals>.exists�s����B�G�G�M�M�$�$7��&rzUSER_BASE: z (�)zUSER_SITE: zENABLE_USER_SITE: rz--user-basez--user-siteFr���
)r�argvr�r�r	rr�r�r,r�r�r�pathsepr�textwrap�dedent)r�rx�	user_baser�rr3�bufferrs        r�_scriptr}si��
�D��8�8�A�B�<�D���M�	�'�)�	�
�n���8�8�C��s�$�%��
�c�
�	'�
	��I�=��6�)�+<�*=�Q�?�@�
��I�=��6�)�+<�*=�Q�?�@�
�"�#3�"6�7�8������
�F�����
�
�i� �����
�
�i� �
�
�b�j�j�o�o�f�%�&���H�H�Q�K�
��
&��H�H�Q�K�
�
%��H�H�Q�K��H�H�Q�K��
�h�o�o�d�c�h�h�q�k�2�:�:�%>�>�?�@�����r�__main__r)'rrr�r�rDrAr�r�r�r�r�r�r
rr*r1r8r_rgrpr�r�r�r�r�r�r�r�r�r�r�r�rr	r
r�no_siterrrorr�<module>rs���E�N�	���	��
�J�J����(����

�	��	�(�
&��.�&

�?�D�4�@#�0
K�
��"
��B�
7� �*,�90�v4�n/�(/�(�>�y�y����F�4�l�z���I�r

?>