Your IP : 18.117.184.236
�
c��fV � � � d dl Z d dlZd dlZg d�ZdZdZdZdd�Zdd�Zd � Z da
d
� Zdad� Z
d� Zd
� Zdad� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� ZdS )� N)�compiler_fixup�customize_config_vars�customize_compiler�get_platform_osx)
�CFLAGS�LDFLAGS�CPPFLAGS�
BASECFLAGS� BLDSHARED�LDSHARED�CC�CXX� PY_CFLAGS�
PY_LDFLAGS�PY_CPPFLAGS�PY_CORE_CFLAGS�PY_CORE_LDFLAGS)r r r
r �_OSX_SUPPORT_INITIAL_c � � |�t j d }|� t j � � }t j � | � � \ }}t j dk r|dk r| dz } t j � | � � sJ|D ]E}t j � || � � }t j � |� � r|c S �Fd S | S )N�PATH�win32z.exe)
�os�environ�split�pathsep�path�splitext�sys�platform�isfile�join)�
executabler �paths�base�ext�p�fs �3/opt/alt/python311/lib64/python3.11/_osx_support.py�_find_executabler) s� � ��
�|��z�&�!���J�J�r�z�"�"�E��� � ��,�,�I�D�#������c�V�m�m��&�(�
�
�7�>�>�*�%�%� �� � �A�����Q�
�+�+�A��w�~�~�a� � �
�����
� �t��� Fc �� � dd l } dd l}|� � � }n4# t $ r' t dt j � � ��d� � }Y nw xY w|� |� � 5 }|r| �d|j �d�}n
| �d|j �d�}t j |� � s9|�
� � � d� � � � � nd cd d d � � S # 1 swxY w Y d S ) Nr z/tmp/_osx_support.zw+bz >'z' 2>&1z 2>/dev/null >'�'�utf-8)
�
contextlib�tempfile�NamedTemporaryFile�ImportError�openr �getpid�closing�name�system�read�decode�strip)�
commandstring�capture_stderrr. r/ �fp�cmds r( �_read_outputr>