ok

Mini Shell

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

�

�fkv�
��	ddlZddlZddlmZmZgd�ZdhZddddd	d
ddd
�ddddddddd
�ddddddddd
�ddddd	d
ddd
�ddddddddd
�d�Zejdkreded<neded<d�Z	e	��duZ
e
r!eddddddd d!�d"d"d#d#d$d%d d!�d&d&d'd'd$d%d d!�d(�zZd!Zej�
��dZejd�d)ejd*��Zejd�ejd*��Zej�ej��Zej�ej��Zej�ej��Zej�ej��ZdadZd+Zd,Zd-Z d.�Z!ej"r)ej�#e!ej"����Z$ne!ej%����Z$e&ed/d��Z'e're'Z$ejdkr,e!e$���(e!e�d0�����reZ$d1ej)vre!ej)d1��Z$dTd2�Z*e*��Z+e+r#d3D]Z,ee,Z,e,d4e,d5<d6e,d4<d7e,d8<� [,d9�Z-d:�Z.d;�Z/d<�Z0d=�Z1d>�Z2dUd@�Z3dA�Z4dB�Z5dC�Z6dD�Z7dE�Z8dTdF�Z9dG�Z:dH�Z;dI�Z<e2��dd?fdJ�Z=e2��dd?fdK�Z>dL�Z?dM�Z@dN�ZAdO�ZBdP�ZCdQ�ZDdR�ZEeFdSkreE��dSdS)V�N)�pardir�realpath)�get_config_h_filename�get_config_var�get_config_vars�get_makefile_filename�get_path�get_path_names�	get_paths�get_platform�get_python_version�get_scheme_names�parse_config_h�MACOSX_DEPLOYMENT_TARGETz6{installed_base}/{platlibdir}/python{py_version_short}z0{platbase}/{platlibdir}/python{py_version_short}z1{base}/lib/python{py_version_short}/site-packagesz>{platbase}/{platlibdir}/python{py_version_short}/site-packagesz;{installed_base}/include/python{py_version_short}{abiflags}z?{installed_platbase}/include/python{py_version_short}{abiflags}z
{base}/binz{base})�stdlib�
platstdlib�purelib�platlib�include�platinclude�scripts�dataz{installed_base}/lib/pythonz{base}/lib/pythonz{installed_base}/include/pythonz{installed_base}/Libz
{base}/Libz{base}/Lib/site-packagesz{installed_base}/Includez{base}/Scripts)�posix_prefix�
posix_home�nt�
posix_venv�nt_venvrr�venvrc	��tj�dd��}|r|StjdvrdSd�}tjdkr-tj�d��pd}||d��StjdkrItjr=|dd	tjtjd
�dtjd����S|dd
��S)N�PYTHONUSERBASE>�wasi�vxworks�
emscriptenc�b�tj�tjj|���S�N)�os�path�
expanduser�join)�argss �0/opt/alt/python311/lib64/python3.11/sysconfig.py�joinuserz_getuserbase.<locals>.joinuservs!���w�!�!�"�'�,��"5�6�6�6�r�APPDATA�~�Python�darwin�Libraryr�.�z.local)r&�environ�get�sys�platform�name�
_framework�version_info)�env_baser,�bases   r+�_getuserbaser>ms����z�~�~�.��5�5�H������|�8�8�8��t�7�7�7�
�w�$����z�~�~�i�(�(�/�C���x��h�'�'�'�
�|�x���C�N���x��Y����+�A�.�F�F��1A�!�1D�F�F�H�H�	H��8�C��"�"�"r-z({userbase}/Python{py_version_nodot_plat}z6{userbase}/Python{py_version_nodot_plat}/site-packagesz0{userbase}/Python{py_version_nodot_plat}/Includez0{userbase}/Python{py_version_nodot_plat}/Scriptsz
{userbase})rrrrrrrz0{userbase}/{platlibdir}/python{py_version_short}z5{userbase}/lib/python{py_version_short}/site-packagesz+{userbase}/include/python{py_version_short}z{userbase}/binz{userbase}/lib/pythonz#{userbase}/lib/python/site-packages)�nt_user�
posix_user�osx_framework_userr3r4z"([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)z\$\(([A-Za-z][A-Za-z0-9_]*)\)z\${([A-Za-z][A-Za-z0-9_]*)}c�F�	t|��S#t$r|cYSwxYwr%)r�OSError)r's r+�_safe_realpathrD�s7�����~�~��������������s�� � �_homez\PCbuild�_PYTHON_PROJECT_BASEc���|�!ddl}|�dtd���dD]H}tj�tj�td|����rdS�IdS)	Nrz.check_home argument is deprecated and ignored.�)�
stacklevel)�SetupzSetup.local�ModulesTF)�warnings�warn�DeprecationWarningr&r'�isfiler)�
_PROJECT_BASE)�
check_homerL�fns   r+�is_python_buildrS�s|���������
�
�F�(�Q�	�	8�	8�	8�&����
�7�>�>�"�'�,�,�}�i��D�D�E�E�	��4�4�	��5r-)rrr�headersz{srcdir}/Includez{projectbase}/.rc��	|jdi|��S#t$rA}	|jditj��cYd}~S#t$rt	|���d�wxYwd}~wwxYw)N�)�format�KeyErrorr&r5�AttributeError)�s�
local_vars�vars   r+�_subst_varsr]�s���5��q�x�%�%�*�%�%�%���5�5�5�	5��1�8�)�)�b�j�)�)�)�)�)�)�)�)���	5�	5�	5� �C��*�*��4�	5��������5���s#��
A�6�A�A�A�Ac�v�|���}|���D]\}}||vr�
|||<�dSr%)�keys�items)�target_dict�
other_dict�target_keys�key�values     r+�_extend_dictrf�sW���"�"�$�$�K� �&�&�(�(�!�!�
��U��+���� ��C���!�!r-c�|�i}|�i}t|t����tjdkr|ddiz}t|���D]b\}}tjdvrtj�|��}tj�t||����||<�c|S)Nr�
platlibdir�lib)�posixr)
rfrr&r9�_INSTALL_SCHEMESr`r'r(�normpathr])�scheme�vars�resrdres     r+�_expand_varsrps���
�C��|������(�(�)�)�)�	�w�$����|�U�+�+��&�v�.�4�4�6�6�>�>�
��U�
�7�o�%�%��G�&�&�u�-�-�E��7�#�#�K��t�$<�$<�=�=��C����Jr-c�~�tjdkrdddd�Stjdkrtjrdddd�Sdddd�S)	Nrrr?)�prefix�home�userr1rrAr@)r&r9r7r8r:rVr-r+�_get_preferred_schemesrusm��	�w�$���� ��
�
�	
�
�|�x���C�N��$� �(�
�
�	
�!�����r-c��|dkrtjtjkrdSt��|}|tvrt|�d|�d����|S)Nrrrz
 returned z., which is not a valid scheme on this platform)r7rr�base_prefixrurk�
ValueError)rdrms  r+�get_preferred_schemery+sq��
�h���3�:���8�8��v�
#�
%�
%�c�
*�F�
�%�%�%���
 �
 ��
 �
 �
 �
�
�	
��Mr-c� �td��S)Nrr)ryrVr-r+�get_default_schemer{7s����)�)�)r-Tc�R�	ddl}|�i}i}i}t|tj��d���5}|���}ddd��n#1swxYwY|D]�}|�d��s|���dkr�0|�t|��}	|	r�|	�	dd��\}
}|���}|�
dd��}d	|vr|||
<��	|
tvrt�t|��}|||
<��#t$r|�
dd	��||
<Y��wxYw��t|�����}
d
}t!|
��dk�rLt#|
��D�]'}||}|�t&|��}|�t(|��}|r1|r/|���|���kr|n|}	n|r|n|}	|	���|	�	d��}
d}|
|vrt-||
��}nz|
|vrd}ns|
t.jvrt.j|
}nR|
|vrG|�d
��r|dd�|vrd}n*d
|
z|vrd}n t-|d
|
z��}ndx||
<}|r�||	���d�}|d|	����|z|z}d	|vr|||<��s	|tvrt�t|��}|||<n'#t$r|���||<YnwxYw|
�|��|�d
��r|dd�|vr|dd�}||vr|||<��|r|||<|
�|����)t!|
��dk��L|���D]1\}}t9|t,��r|���||<�2|�|��|S)Nr�surrogateescape)�encoding�errors�#�r4rHz$$�$)�CFLAGS�LDFLAGS�CPPFLAGSTF�PY_�)�re�openr7�getfilesystemencoding�	readlines�
startswith�strip�match�_variable_rx�group�replace�_ALWAYS_STRrx�int�listr_�len�tuple�search�_findvar1_rx�_findvar2_rx�start�strr&r5�end�remover`�
isinstance�update)�filenamern�keep_unresolvedr��done�notdone�f�lines�line�m�n�v�tmpv�	variables�renamed_variablesr9re�m1�m2�found�item�after�ks                       r+�_parse_makefiler�;s�����I�I�I��|���
�D��G�	
�h��!:�!<�!<�&�
(�
(�
(��+,����
�
��������������������� � ���?�?�3���	�4�:�:�<�<�2�#5�#5���H�H�\�4�(�(���	 ��7�7�1�a�=�=�D�A�q����	�	�A��9�9�T�2�&�&�D��d�{�{����
�
�	 ��K�'�'�(�(��A���A�
 �D��G�G��	"�3�3�3��i�i��c�2�2�D��G�G�G�3����	 �*�W�\�\�^�^�$�$�I�:��

�i�.�.�1�
�
��)�$�$�@	'�@	'�D��D�M�E����<��/�/�B����<��/�/�B��
%�b�
%��(�(�*�*�r�x�x�z�z�1�1�B�B�r����$�B�B�"���}��G�G�A�J�J������9�9��t�A�w�<�<�D�D��'�\�\�!�E�E��"�*�_�_��:�a�=�D�D��+�+�+�����.�.�4��Q�R�R��$5�5�5�!������g�-�-� %��� #�4���	�?�3�3���&(�'�D��G�d��3�!�!�%�%�'�'�(�(�O�E�!�*�1�7�7�9�9�*�-��4�u�<�E��e�|�|�(-���
�
�/�#�{�2�2�&0� 0�$'��J�J�E�*/�D��J�J�� *�7�7�7�).�����D��J�J�J�7����"�(�(��.�.�.��?�?�5�1�1�3� ����H�(9�9�9�#'����8�D�#�4�/�/�-2��T�
��
#�'�!&�D��J�� � ��&�&�&�&�C�i�.�.�1�
�
�H�
�
��� � ���1��a����	 ��g�g�i�i�D��G��	�K�K������Ks5�A�A�A�:D�#E�E�L(�(!M�Mc�v�	tr%tj�td��Sttd��rdt�tj��}nd}ttj	d��r|dtj	j
��z
}tj�td��|d��S)N�Makefile�abiflagszconfig-�config�
_multiarch�-r)�
_PYTHON_BUILDr&r'r)rP�hasattrr7�_PY_VERSION_SHORTr��implementationr�r	)�config_dir_names r+rr�s���*��7��w�|�|�M�:�6�6�6��s�J���#�E�$5�E�s�|�E�E���"���s�!�<�0�0�?��>�s�1�<�>�>�>��
�7�<�<���*�*�O�Z�H�H�Hr-c	��ttjdd��}tj�ddtj�dtj�d|����S)Nr�r��_PYTHON_SYSCONFIGDATA_NAME�_sysconfigdata_�_)�getattrr7r�r&r5r6r�r8)�	multiarchs r+�_get_sysconfigdata_namer��sP����*�L�"�=�=�I�
�:�>�>�$�C�#�,�C�C���C�C�	�C�C���r-c���	ddl}i}t��}	t||��nC#t$r6}d|��}t	|d��r
|�d|j�d�}t|���d}~wwxYwt
��}	t|d���5}t||��ddd��n#1swxYwYnC#t$r6}d|��}t	|d��r
|�d|j�d�}t|���d}~wwxYwtr|d|d	<t��}d
tjvr/ddl
}|�|��}	||	_|	tj|<dt#���dt$��}
t	td
��r|
dz
}
t'j|
d���t&j�|
|dz��}t|dd���5}|�d��|�d��|�||���ddd��n#1swxYwYtddd���5}|�|
��ddd��dS#1swxYwYdS)Nrz,invalid Python installation: unable to open �strerrorz (�)zutf-8)r~�LDSHARED�	BLDSHAREDr1z
build/lib.r��gettotalrefcountz-pydebugT)�exist_okz.py�w�utf8zB# system configuration generated and used by the sysconfig module
zbuild_time_vars = )�streamzpybuilddir.txt)�pprintrr�rCr�r�rr�rr�r�r7r8�types�
ModuleType�build_time_vars�modulesrr�r&�makedirsr'r)�write)r�rn�makefile�e�msg�config_hr�r9r��module�
pybuilddir�destfiles            r+�_generate_posix_varsr��s���E��M�M�M�
�D�$�&�&�H����$�'�'�'�'������G�X�G�G���1�j�!�!�	*��)�)�A�J�)�)�)�C��c�l�l������	����%�&�&�H��
�(�W�
-�
-�
-�	$���1�d�#�#�#�	$�	$�	$�	$�	$�	$�	$�	$�	$�	$�	$����	$�	$�	$�	$�������G�X�G�G���1�j�!�!�	*��)�)�A�J�)�)�)�C��c�l�l������	�����-� ��,��[��#�$�$�D��3�<��������!�!�$�'�'��!%���"���D��B�l�n�n�B�B�/@�B�B�J��s�&�'�'�!��j� �
��K�
�T�*�*�*�*��w�|�|�J��u��5�5�H�	
�h��f�	-�	-�	-�&��	���*�	+�	+�	+�	���$�%�%�%��
�
�d�1�
�%�%�%�	&�&�&�&�&�&�&�&�&�&�&����&�&�&�&�
���f�	5�	5�	5���	���
������������������������su�(�
A(�1A#�#A(�:B4�B(�B4�(B,�,B4�/B,�0B4�4
C4�>1C/�/C4�AH � H$�'H$�=I � I$�'I$c��	t��}t|t��t��dgd��}|j}|�|��dS)Nr�r)r��
__import__�globals�localsr�r�)rnr9�_tempr�s    r+�_init_posixr�sQ��A�"�$�$�D��t�W�Y�Y����3D�2E�q�I�I�E��+�O��K�K�� � � � � r-c�P�	ddl}td��|d<td��|d<td��|d<|���d|d<d	|d
<t|d<tj�ttj	����|d<d
|d<dS)Nrr�LIBDESTr�
BINLIBDESTr�	INCLUDEPY�
EXT_SUFFIXz.exe�EXE�VERSION�BINDIRr��TZPATH)
�_impr	�extension_suffixes�_PY_VERSION_SHORT_NO_DOTr&r'�dirnamerDr7�
executable)rnr�s  r+�_init_non_posixr�s���5��K�K�K��x�(�(�D��O�!�,�/�/�D��� ��+�+�D����0�0�2�2�1�5�D����D��K�.�D��O��W�_�_�^�C�N�%C�%C�D�D�D��N��D��N�N�Nr-c���	|�i}ddl}|�d��}|�d��}	|���}|sn�|�|��}|rP|�dd��\}}	|t
vrt�t|��}n#t$rYnwxYw|||<n/|�|��}|rd||�d��<��|S)Nrz"#define ([A-Z][A-Za-z0-9_]+) (.*)
z&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/
Tr4rH)r��compile�readliner�r�r�rxr�)	�fprnr��	define_rx�undef_rxr�r�r�r�s	         r+rr)s����|���
�I�I�I��
�
�@�A�A�I��z�z�C�D�D�H�%��{�{�}�}���	���O�O�D�!�!���	%��7�7�1�a�=�=�D�A�q�
���#�#�$�$���F�F�����
�
�
���
�����D��G�G����t�$�$�A��
%�#$��Q�W�W�Q�Z�Z� �#%�$�Ks�=B�
B*�)B*c���	tr>tjdkr&tj�t
d��}nt
}nt
d��}tj�|d��S)Nr�PCrz
pyconfig.h)r�r&r9r'r)rPr	)�inc_dirs r+rrKsY��(��*�
�7�d�?�?��g�l�l�=�$�7�7�G�G�#�G�G��=�)�)��
�7�<�<���.�.�.r-c�F�	ttt����Sr%)r��sortedrkrVr-r+rrWs��6���(�)�)�*�*�*r-c��	tSr%)�_SCHEME_KEYSrVr-r+r
r
\s��4��r-c�B�	|rt||��St|Sr%)rprk)rmrn�expands   r+rras,���
�(��F�D�)�)�)���'�'r-c�2�	t|||��|Sr%)r)r9rmrnrs    r+r	r	ms ����V�T�6�*�*�4�0�0r-c��	t���iattd<ttd<ttd<ttd<t
td<ttd<ttd<ttd<ttd	<ttd
<tj
td<	tjtd<n#t$r
d
td<YnwxYw	tj
�dd
��td<n#t$r
d
td<YnwxYwtjdkr(t#t��tjtd<tjdkrt't��t(rt+��td<t�dt��}tjdkr~t.rLtj�t5����}tj�||��}n+tj�t5����}t9|��td<tjdkrddl}|�t��|r6g}|D]/}|� t�|�����0|StS)Nrr�exec_prefix�
py_version�py_version_short�py_version_nodot�installed_baser=�installed_platbase�platbase�projectbaserhr�r�r3�py_version_nodot_platr�VPATHrj�userbase�srcdirr1r)!�_CONFIG_VARS�_PREFIX�_EXEC_PREFIX�_PY_VERSIONr�r��_BASE_PREFIX�_BASE_EXEC_PREFIXrPr7rhr�rY�winverr�r&r9r��_vpathr��_HAS_USER_BASEr>r6r�r'r�rr)rDr8�_osx_support�customize_config_vars�append)r*rr=r�valsr9s      r+rrus{�������")��X��&2��]�#�%0��\�"�+<��'�(�+C��'�(�)5��%�&�&��V��->��)�*�#/��Z� �&3��]�#�%(�^��\�"�	*�'*�|�L��$�$���	*�	*�	*�')�L��$�$�$�	*����	7�47�J�4F�4F�s�B�4O�4O�L�0�1�1���	7�	7�	7�46�L�0�1�1�1�	7�����7�d�?�?��L�)�)�)�$'�J�L��!�
�7�g�����%�%�%��	6�(4�~�~�L��$��!�!�(�M�:�:��
�7�g����
B��w���'<�'>�'>�?�?������d�F�3�3�������)>�)@�)@�A�A��!/��!7�!7��X���<�8�#�#������.�.�|�<�<�<������	0�	0�D��K�K��(�(��.�.�/�/�/�/����s$�7C�C#�"C#�'(D�D'�&D'c�F�	t���|��Sr%)rr6)r9s r+rr�s#���
��� � ��&�&�&r-c���	tjdkrrdtj���vrdSdtj���vrdSdtj���vrdStjStjdkst
td	��stjSd
tjvrtjd
Stj��\}}}}}|����	dd��}|�	d
d��}|�	dd��}|dd�dkr|�d|��S|dd�dkrQ|ddkrDd}t|d��dz
�d|dd���}ddd�}|d|tj��z
}n�|dd�dkrddlm
}|��S|dd�dkrGd}ddl}|�d ��}|�|��}	|	r|	���}n:|dd�d!kr,ddl}
|
�t)��|||��\}}}|�d|�d|��S)"Nr�amd64z	win-amd64z(arm)z	win-arm32z(arm64)z	win-arm64rj�uname�_PYTHON_HOST_PLATFORM�/r�� r�r���linux�sunosr�5�solarisr�r3rH�32bit�64bit)i���l�����aix)�aix_platform��cygwinz[\d.]+r1)r&r9r7�version�lowerr8r�r5r!r�r��maxsize�_aix_supportr-r�r�r�r�r�get_platform_osxr)�osname�host�releaser0�machine�bitnessr-r��rel_rer�rs           r+rr�s����(
�w�$����c�k�'�'�)�)�)�)��;��c�k�'�'�)�)�)�)��;����)�)�+�+�+�+��;��|��	�w�'�����W�!5�!5���|���"�*�,�,��z�1�2�2�/1�h�j�j�+�F�D�'�7�G��\�\�^�^�
#�
#�C��
,�
,�F��o�o�c�3�'�'�G��o�o�c�3�'�'�G�
�b�q�b�z�W����%�%�G�%�%�%�	�����w�	�	��1�:�����F��W�Q�Z���1�,�<�<�w�q�r�r�{�<�<�G�#*�w�G�G�G��1�7�3�;�/�1�1�1�G��	�����u�	�	�-�-�-�-�-�-��|�~�~��	�����x�	�	����	�	�	����I�&�&���L�L��!�!���	 ��g�g�i�i�G��	�����x�	�	�����#/�#@�#@�,;�,=�,=�,2�G�W�$F�$F� �����*�*�w�*�*��*�*�*r-c��tSr%)r�rVr-r+r
r
s���r-c�2�	ddl}	|�t|��p|�t|��}|rV|���\}}|d|�|�|�d����z||d�z}nn��|S)NrTr4)r�r�r�r��spanr6r�)rZrnr�r��begr�s      r+�expand_makefile_varsr?#s�����I�I�I���I�I�l�A�&�&�D�"�)�)�L�!�*D�*D���	������J�S�#��!�C�%��4�8�8�A�G�G�A�J�J�/�/�/�!�C�D�D�'�9�A�A��
�
�Hr-c���tt|�������D]6\}\}}|dkrt|�d���td|�d|�d����7dS)Nrz: �	z = "�")�	enumerater�r`�print)�titler�indexrdres     r+�_print_dictrG=s~��(���
�
���)=�)=�>�>�&�&���|��U��A�:�:��U�,�,�,����
�$�3�$�$�E�$�$�$�%�%�%�%�&�&r-c��	dtjvrt��dStdt	���d���tdt���d���tdt
���d���t��tdt����t��tdt����dS)Nz--generate-posix-varszPlatform: "rBzPython version: "zCurrent installation scheme: "�Paths�	Variables)
r7�argvr�rDrr
r{rGrrrVr-r+�_mainrLDs���4��#�(�*�*�������	�
)����
)�
)�
)�*�*�*�	�
5�0�2�2�
5�
5�
5�6�6�6�	�
B�+=�+?�+?�
B�
B�
B�C�C�C�	�G�G�G������%�%�%�	�G�G�G���_�.�.�/�/�/�/�/r-�__main__r%)NT)Gr&r7�os.pathrr�__all__r�rkr9r>rrr0�splitrr;r�r�r'rlrrrrwrrr�base_exec_prefixrr�
_USER_BASEr�r�r�rDr�r�rP�getcwdr��	_sys_homer�r5rSr�rmr]rfrpruryr{r�rr�r�r�r�rrrr
rr	rrrr
r?rGrL�__name__rVr-r+�<module>rVs��3�	�	�	�	�
�
�
�
�$�$�$�$�$�$�$�$����� ���K�H�F�S�I�M���
�
�0�)�&�&�4�8���	
�	
�)�"�-�-�-�1�#��	
�	
�8K�H�F�S�I�M���
�
�)�"�-�-�-�1�#��	
�	
�}H�H��V�7�d�?�?�/�	�:��V���/��=��V��
#�#�#�,�,�.�.��,�����A�D�O�O�I�I� ���I�L�N�N�D�'� ���.�1�<�<�D�'� ���)����>#���k���!�!�!�$���'��*�B�B�S�-=�a�-@�B�B��!�.�q�1�H�3�3C�A�3F�H�H��
�'�
�
�3�:�
&�
&���w�����0�0���w�����0�0���G�$�$�S�%9�:�:����
�
�5��/��-������>�0��G�O�O�N�N�3�>�$B�$B�C�C�M�M�#�N�9�2�9�;�;�/�/�M�

�G�C��$�'�'�	����M��7�d�?�?��~�m�$�$�/�/��N�l�5�5�5�6�6�8�8�%�$�
��R�Z�'�'�"�N�2�:�.D�#E�F�F�M����� ��!�!�
��
�0�2�2��
"�&�)��"�9�-��y��.��y�� 1��}����5�5�5�!�!�!����$���(	�	�	�*�*�*�}�}�}�}�@
I�
I�
I����=�=�=�~!�!�!����$����D	/�	/�	/�+�+�+�
���
(�'�)�)��T�	(�	(�	(�	(�-�,�.�.�T�$�1�1�1�1�M�M�M�`'�'�'�N+�N+�N+�b���
�
�
�4&�&�&�0�0�0��z���	�E�G�G�G�G�G��r-

Zerion Mini Shell 1.0