ok

Mini Shell

Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/site.cpython-311.opt-2.pyc

�

�f�Y��F�	ddlZddlZddlZddlZddlZddlZejejgada	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"ej#j$s
e"��d�Z%e&dkre%��dSdS)�Nc�b�tjjrt|tj���dSdS)N��file)�sys�flags�verbose�print�stderr)�messages �+/opt/alt/python311/lib64/python3.11/site.py�_tracer
\s4��
�y��(�
�g�C�J�'�'�'�'�'�'�(�(�c���tjj|�}	tj�|��}n#t$rYnwxYw|tj�|��fS�N)�os�path�join�abspath�OSError�normcase)�paths�dirs  r�makepathrase��
�'�,��
�C�
��g�o�o�c�"�"�����
�
�
���
������� � ��%�%�%�%s�5�
A�Ac��	ttj�����D]�}d}	|jj}n3#t$r&	|jjj}n#t$rYnwxYwYnwxYw|dvr�J	tj
�|j��|_n#tttf$rYnwxYw	tj
�|j��|_��#tttf$rY��wxYwdS)N>�_frozen_importlib�_frozen_importlib_external)�setr�modules�values�
__loader__�
__module__�AttributeError�__spec__�loaderrrr�__file__r�	TypeError�
__cached__)�m�
loader_modules  r�	abs_pathsr*js6��O�
���#�#�%�%�
&�
&�����
�	��L�3�M�M���	�	�	�
� !�
� 1� <�
�
��!�
�
�
���
������	����
� S�S�S��	�������4�4�A�J�J�����3�	�	�	��D�	����	��7�?�?�1�<�8�8�A�L�L�����3�	�	�	��D�	����#�sW�?�
A/�
A�A/�
A)�&A/�(A)�)A/�.A/�8)B"�"B<�;B<�)C*�*D�Dc���	g}t��}tjD]B}t|��\}}||vr*|�|��|�|���C|tjdd�<|Sr)rrrr�append�add)�L�known_pathsr�dircases    r�removeduppathsr1�s{���	�A��%�%�K��x�%�%�� ��}�}���W��+�%�%�
�H�H�S�M�M�M��O�O�G�$�$�$���C�H�Q�Q�Q�K��rc���	t��}tjD]Y}	tj�|��r't|��\}}|�|���J#t$rY�VwxYw|Sr)rrrr�existsrr-r&)�d�item�_�itemcases    r�_init_pathinfor8�s~��O����A������	��w�~�~�d�#�#�
 �&�t�n�n���8����h�������	�	�	��H�	�����Hs�AA&�&
A3�2A3c	�r�	|�t��}d}nd}tj�||��}	tj|��}n#t
$rYdSwxYwt
|dd��tjzst
|dd��tj	zrtd|����dStd|����	tjtj
|��d�	��}n#t
$rYdSwxYw|5t|��D�]�\}}|�d
��r�|���dkr�5	|�d��rt#|���[|���}t'||��\}	}
|
|vrStj�|	��r4t*j�|	��|�|
����#t0$r�t3d
�|dz|��t*j���ddl}|jt+j���D]7}|���D] }t3d|zt*j����!�8t3dt*j���YnwxYwddd��n#1swxYwY|rd}|S)NTF�st_flagsr�st_file_attributeszSkipping hidden .pth file: zProcessing .pth file: �locale��encoding�#�)zimport zimport	z"Error processing line {:d} of {}:
�rz  z
Remainder of file ignored) r8rrr�lstatr�getattr�stat�	UF_HIDDEN�FILE_ATTRIBUTE_HIDDENr
�io�
TextIOWrapper�	open_code�	enumerate�
startswith�strip�exec�rstriprr3rr,r-�	Exceptionr	�formatr
�	traceback�format_exception�exc_info�
splitlines)
�sitedir�namer/�reset�fullname�st�f�n�linerr0rQ�records
             r�
addpackager^�s=�����$�&�&��������w�|�|�G�T�*�*�H��
�X�h�
�
���������������	��Z��	#�	#�d�n�	4��	��)�1�	-�	-��0J�	J���9�X�9�9�:�:�:���
�0�H�0�0�1�1�1��
��R�\�(�3�3�h�G�G�G���������������	
��� ��|�|�	�	�G�A�t����s�#�#�
���z�z�|�|�r�!�!��
��?�?�#:�;�;����J�J�J���{�{�}�}��'���6�6���W��+�-�-�"�'�.�.��2E�2E�-��H�O�O�C�(�(�(��O�O�G�,�,�,����
�
�
��;�B�B�1�Q�3��Q�Q��:�'�'�'�'� � � � �8�i�8�#�,�.�.�I�:�:�F� &� 1� 1� 3� 3�:�:���d�4�i�c�j�9�9�9�9�9�:��3�#�*�E�E�E�E����
����������������������0
�����sh�A
�
A�A�(C*�*
C8�7C8�=AJ(�$G'�'J(�(A>G'�&J(�'B.J�J(�J�J(�(J,�/J,c��	td|����|�t��}d}nd}t|��\}}||vr4tj�|��|�|��	tj|��}n#t$rYdSwxYwd�|D��}t|��D]}t|||���|rd}|S)NzAdding directory: TFc�f�g|].}|�d���|�d���,|��/S)z.pth�.)�endswithrK)�.0rVs  r�
<listcomp>zaddsitedir.<locals>.<listcomp>�sT��
D�
D�
D�d��
�
�f�%�%�
D�.2�o�o�c�.B�.B�
D�T�
D�
D�
Dr)r
r8rrrr,r-r�listdirr�sortedr^)rUr/rW�sitedircase�namesrVs      r�
addsitedirri�s���
�+��+�+�,�,�,���$�&�&�������#�G�,�,��G�[��+�%�%������ � � �����$�$�$���
�7�#�#���������������
D�
D�e�
D�
D�
D�E��u�
�
�/�/���7�D�+�.�.�.�.������s�4B	�	
B�Bc�~�	tjjrdSttd��r?ttd��r*t	j��t	j��krdSttd��r?ttd��r*t	j��t	j��krdSdS)NF�getuid�geteuid�getgid�getegidT)	rr�no_user_site�hasattrrrlrkrnrm�rr�check_enableusersiterr�s�����y����u��r�8������Y�!7�!7��
�:�<�<�2�9�;�;�&�&��4��r�8������Y�!7�!7��
�:�<�<�2�9�;�;�&�&��4��4rc	��tj�dd��}|r|StjdvrdSd�}tjdkr-tj�d��pd}||d��Stjdkr9tjr-|dd	tjd
tjdd�z��S|dd��S)
N�PYTHONUSERBASE>�wasi�vxworks�
emscriptenc�b�tj�tjj|���Sr)rr�
expanduserr)�argss r�joinuserz_getuserbase.<locals>.joinusers!���w�!�!�"�'�,��"5�6�6�6r�nt�APPDATA�~�Python�darwin�Libraryz%d.%d�z.local)r�environ�getr�platformrV�
_framework�version_info)�env_baser{�bases   r�_getuserbaser�s����z�~�~�.��5�5�H������|�8�8�8��t�7�7�7�
�w�$����z�~�~�i�(�(�/�C���x��h�'�'�'�
�|�x���C�N���x��Y����#�"2�2�A�2�"6�6�8�8�	8��8�C��"�"�"rc��tj}tjdkr(tj�dd��}|�d|�d�Stjdkrtjr|�d�S|�d|d	�d|d
�d�S)Nr|rar@z\Pythonz\site-packagesr�z/lib/python/site-packagesz/lib/pythonrrAz/site-packages)rr�rrV�winver�replacer�r�)�userbase�version�	ver_nodots   r�	_get_pathr�*s�����G�	�w�$����J�&�&�s�B�/�/�	��>�>�I�>�>�>�>�
�|�x���C�N���5�5�5�5��J�J�7�1�:�J�J���
�J�J�J�Jrc�<�	t�t��atSr)�	USER_BASEr�rqrr�getuserbaser�7s����� �N�N�	��rc�d�	t��}t�|�dant|��atS)NF)r��	USER_SITE�ENABLE_USER_SITEr�)r�s r�getusersitepackagesr�Ds:����}�}�H�����$���!�(�+�+�I��rc��	td��t��}tr/tj�|��rt
||��|S)NzProcessing user site-packages)r
r�r�rr�isdirri)r/�	user_sites  r�addusersitepackagesr�UsV����*�+�+�+�#�%�%�I��+�B�G�M�M�)�4�4�+��9�k�*�*�*��rc
�6�	g}t��}|�t}|D]�}|r||vr�	|�|��tjdkr�t
jg}t
jdkr|�d��|D]N}tj�	||dt
j
dd�zd��}|�|���O��|�|��|�tj�	|dd������|S)N�/�libzpython%d.%dr�z
site-packages�Lib)r�PREFIXESr-r�sepr�
platlibdirr,rrr�)�prefixes�sitepackages�seen�prefix�libdirs�libdirrs       r�getsitepackagesr�ds.����L��5�5�D������N�N���	��4�����������
�6�S�=�=��~�&�G��~��&�&����u�%�%�%�!�
*�
*���w�|�|�F�F�$1�C�4D�R�a�R�4H�$H�$3�5�5���#�#�D�)�)�)�)�	
*�
����'�'�'��������V�U�O� L� L�M�M�M�M��rc��	td��t|��D]1}tj�|��rt||���2|S)NzProcessing global site-packages)r
r�rrr�ri)r/r�rUs   r�addsitepackagesr��sX��'�
�,�-�-�-�"�8�,�,�-�-��
�7�=�=��!�!�	-��w��,�,�,���rc��	tjdkrd}nd}tjd|��t_tjd|��t_dS)N�\zCtrl-Z plus ReturnzCtrl-D (i.e. EOF)�quit�exit)rr��
_sitebuiltins�Quitter�builtinsr�r�)�eofs r�setquitr��sL���
�v��~�~�"���!��!�)�&�#�6�6�H�M�!�)�&�#�6�6�H�M�M�Mrc���	tjdtj��t_tjdd�dkr tjdd��t_ntjdd��t_gg}}ttdd��}|s>ttd��r)tj
�tj��}|ra|�
d	d
g��|�
tj
�|tj��|tjg��tjdd||��t_dS)
N�	copyright��java�creditsz?Jython is maintained by the Jython developers (www.jython.org).z�    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�rCrprr�dirnamer%�extendr�pardir�curdirr�)�files�dirs�heres   r�setcopyrightr��s2��3�&�/��S�]�K�K�H��
�|�B�Q�B��6�!�!�(�1��M�O�O����)�1�)�>T�U�U����b�4�E��3�
�t�,�,�D��,�G�B�
�+�+�,��w���r�{�+�+���F�
���m�Y�/�0�0�0����R�W�\�\�$��	�2�2�D�"�)�D�E�E�E�$�-��1�
�t���H���rc�@�tj��t_dSr)r��_Helperr��helprqrr�	sethelperr��s��!�)�+�+�H�M�M�Mrc�&�	d�}|t_dS)Nc�J���ddl}	ddl�ddl}n#t$rYdSwxYwt	�dd��}|�d|vr��d��n��d��	����n#t$rYnwxYw����dkr�tj
�tj
�d��d���	��
���n#t$rYnwxYw��fd	�}|�|��dSdS)
Nr�__doc__r@�libeditzbind ^I rl_completez
tab: completer~z.python_historyc�V��	�����dS#t$rYdSwxYwr)�write_history_filer)�history�readlines��r�
write_historyzCenablerlcompleter.<locals>.register_readline.<locals>.write_history�sF�����/�/��8�8�8�8�8�������D�D����s��
(�()�atexitr��rlcompleter�ImportErrorrC�parse_and_bind�read_init_filer�get_current_history_lengthrrrry�read_history_file�register)r�r��readline_docr�r�r�s    @@r�register_readlinez,enablerlcompleter.<locals>.register_readline�s������
�
�
�	��O�O�O��������	�	�	��F�F�	����
�x��B�7�7���#�	�\�(A�(A��#�#�$9�:�:�:�:��#�#�O�4�4�4�	��#�#�%�%�%�%���	�	�	�

�D�	�����.�.�0�0�A�5�5��g�l�l�2�7�#5�#5�c�#:�#:�#4�6�6�G�
��*�*�7�3�3�3�3���
�
�
���
����
�
�
�
�
�
�
�O�O�M�*�*�*�*�*�+6�5s0��
��%A:�:
B�B� C6�6
D�D)r�__interactivehook__)r�s r�enablerlcompleterr��s'���.+�.+�.+�`0�C���rc�d�tj}tjdkr#d|vrtjdx}t_ntj}tj�tj�|����\}}tj�	|��}dt_
d}d�tj�||��tj�||��fD��}|�r+|d}d}	t|d���5}
|
D]�}d	|vr�|�
d	��\}}}
|������}|
���}
|d
kr|
���}	�t|dkr|
t_
��	ddd��n#1swxYwY|xt_t_t%|tjg��|	dkr&t&�dtj��ntjgada|S)
Nr��__PYVENV_LAUNCHER__z
pyvenv.cfgc�P�g|]#}tj�|���!|��$Srq)rr�isfile)rc�conffiles  rrdzvenv.<locals>.<listcomp>s>��
�
�
���7�>�>�(�#�#�
��
�
�
rr�truezutf-8r=�=zinclude-system-site-packages�homeF)rr�rr��_base_executable�
executabler�splitrr��_homer�open�	partitionrL�lowerr��exec_prefixr�r��insertr�)r/�envr��exe_dirr6�site_prefix�
conf_basename�candidate_confs�virtual_conf�system_siterZr\�key�values              r�venvr��s3��
�*�C�
�|�x���$9�S�$@�$@�,.�J�7L�,M�M�
�S�)�)��^�
�����r�w���z�:�:�;�;�J�G�Q��'�/�/�'�*�*�K��C�I� �M�
�
��G�L�L��-�0�0��G�L�L��m�4�4�"�
�
�
�O��%�&�q�)�����,��
1�
1�
1�		*�Q��
*�
*���$�;�;�$(�N�N�3�$7�$7�M�C��E��)�)�+�+�+�+�-�-�C�!�K�K�M�M�E��<�<�<�&+�k�k�m�m�������$)��	��
*�		*�		*�		*�		*�		*�		*�		*�		*�		*�		*�		*����		*�		*�		*�		*�(3�2��
�S�_�	��c�j�\�2�2�2��&� � ��O�O�A�s�z�*�*�*�*��
�|�H�$���s� B
F7�7F;�>F;c�\�			ddl}dS#t$r}|jdkrn�Yd}~dSd}~wwxYw#t$rr}tjjr t	jt	j���n6tj	�
d|jj�d|�d���Yd}~dSYd}~dSd}~wwxYw)Nr�
sitecustomizez9Error in sitecustomize; set PYTHONVERBOSE for traceback:
�: �
)
r�r�rVrOrrr�
excepthookrSr
�write�	__class__�__name__)r��exc�errs   r�execsitecustomizer*���6�/�	� � � � � � ���	�	�	��x�?�*�*�������������	�����
�/�/�/��9��	/��N�C�L�N�N�+�+�+��J������'�'�'����.�
/�
/�
/�
/�
/�
/�
/�
/�
/�
,�+�+�+�+�+�����/����)�
�
,�
'�/�,�/�
B+�A!B&�&B+c�\�			ddl}dS#t$r}|jdkrn�Yd}~dSd}~wwxYw#t$rr}tjjr t	jt	j���n6tj	�
d|jj�d|�d���Yd}~dSYd}~dSd}~wwxYw)Nr�
usercustomizez9Error in usercustomize; set PYTHONVERBOSE for traceback:
r�r�)
r	r�rVrOrrrr�rSr
rrr)r	rrs   r�execusercustomizer
>rrc���	tjdd�}t��}|tjkrt��t	|��}t
�t
��at|��}t|��}t��t��t��tjj
st��t��t
rt!��dSdSr)rrr1r*r�r�rrr�r�r�r�r�r�isolatedr�rr
)�	orig_pathr/s  r�mainrRs����������I� �"�"�K��C�H���	�����{�#�#�K���/�1�1��%�k�2�2�K�!�+�.�.�K��I�I�I��N�N�N�
�K�K�K��9��������������������rc�.�d}tjdd�}|s�t��}t��}t	d��tjD]}t	d|�d����t	d��d�}t	d|�d	||���d
���t	d|�d	||���d
���t	dt����tjd
��g}d|vr|�t��d|vr|�t��|r�t	tj�
|����trtjd
��dStdurtjd��dSt�tjd��dStjd��dSd
dl}t	|�|tjd
tjfz����tjd��dS)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
    rAzsys.path = [z    �,�]c�L�|�!tj�|��rdSdS)Nr3z
doesn't exist)rrr�)rs rr3z_script.<locals>.exists�s%����B�G�M�M�$�$7�$7���x�&�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�rz�	user_baser�rr3�bufferrs        r�_scriptrts��
�D��8�A�B�B�<�D����M�M�	�'�)�)�	�
�n�����8�	&�	&�C��E�s�s�s�$�%�%�%�%�
�c�
�
�
�	'�	'�	'�
	�?�I�?�?�6�6�)�+<�+<�?�?�?�@�@�@�
�?�I�?�?�6�6�)�+<�+<�?�?�?�@�@�@�
�7�#3�7�7�8�8�8�������
�F������
�
�i� � � ������
�
�i� � � �
�
�
�b�j�o�o�f�%�%�&�&�&��	��H�Q�K�K�K�K�K�
��
&�
&��H�Q�K�K�K�K�K�
�
%��H�Q�K�K�K�K�K��H�Q�K�K�K�K�K�����
�h�o�o�d�c�h�q�k�2�:�%>�>�?�?�@�@�@��������r�__main__r)'rrr�r�rGrDr�r�r�r�r�r�r
rr*r1r8r^rirrr�r�r�r�r�r�r�r�r�r�r�r�rr
rr�no_siterrrqrr�<module>rs)��E�N�
�
�
�	�	�	�	���������	�	�	�	�����
�J���(����

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

�

�

�4�4�4�n����4���@#�#�#�0
K�
K�
K�
�
�
����"
�
�
�����B����
7�
7�
7� ���4,�,�,�90�90�90�v1�1�1�h/�/�/�(/�/�/�(���>�y����D�F�F�F�4�4�4�l�z����G�I�I�I�I�I��r

Zerion Mini Shell 1.0