Your IP : 216.73.216.85


Current Path : /opt/alt/python312/lib64/python3.12/test/test_cppext/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/test/test_cppext/__pycache__/setup.cpython-312.opt-1.pyc

�

�#�j����ddlZddlZddlZddlZddlmZddlmZmZdZ	ejsdgZnddgZd�Ze
d	k(re�yy)
�N)�support)�setup�	Extensionz
extension.cppz-Werrorz/W4z/WXc�v�tt�}tjj	dd�}tjd}ttjj	dd��}tt�}|j
d|���|r9tjr|j
d|���n|j
d|���tjd�xsd}|�stjrd	}nd
}tj|�}|D�cgc]}|j|�r�|��}}tj|�}|tjd<|r%tj }|j
d|d���g}g}	tjr�tjd
�}
t#j$�j&}tj(j|
d|�}tj(j+|�r0|j
|�|	j
|�t-d|���dD]D}
|
tjvr"t-|
�dtj|
����7t-|
�d���Ft-d|���t/|t0gd|||	��}t3d|��d|g��ycc}w)N�CPYTHON_TEST_CPP_STD��CPYTHON_TEST_EXT_NAME�CPYTHON_TEST_LIMITEDz-DMODULE_NAME=z/std:z-std=�CCz/stdz-stdz-DPy_LIMITED_API=z#x�srcdir�PCbuildzAdd PCbuild directory: )r�CFLAGS�CPPFLAGSz
 env var: z env var: <missing>zextra_compile_args: zc++)�sources�language�extra_compile_args�include_dirs�library_dirs�	internal_z0.0)�name�version�ext_modules)�listr�os�environ�get�bool�appendr�
MS_WINDOWS�	sysconfig�get_config_var�shlex�split�
startswith�join�sys�
hexversion�platform�uname�machine�path�exists�printr�SOURCEr)�cppflags�std�module_name�limited�cmd�
std_prefix�argrrrrr*�pcbuild�env_name�exts               �=/opt/alt/python312/lib64/python3.12/test/test_cppext/setup.py�mainr: sR���H�~�H�
�*�*�.�.�/��
4�C��*�*�4�5�K��2�:�:�>�>�"8�"�=�>�G��H�~�H��O�O�n�[�M�2�3������O�O�e�C�5�M�*��O�O�e�C�5�M�*�
�#�#�D�)�/�R�C�
������J��J��k�k�#���!�D�c�s����
�)C�s�c��D��j�j��o����
�
�4����.�.�����+�G�B�<�8�9��L��L�����)�)�(�3���.�.�"�*�*���'�'�,�,�v�y�'�:��
�7�7�>�>�'�"�����(�����(��+�G�9�5�6�1���r�z�z�!��X�J�j����H�)=�(@�A�B��X�J�1�2�3�	1�

� ���
-�.�
�����#�!�!�
#�C�
��;�-�(���e���OEs�J6�*J6�__main__)rr(r"r �testr�
setuptoolsrrr.rrr:�__name__��r9�<module>rAs_��
�����'�
�����	�	�H�	�
�	�H�C�L�z���F�r@