o
    "g                     @   sl   d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlZda	dd Z
dd Zdd Zd	d
 ZdS )    )IS_WASMNc            	   	   C   s   t d urt S da trt S tdttj d} | tttjd } t	 }z?t
j|d}t|d}||  W d    n1 sCw   Y  tjddg}tj|tjtj|d}| \}}W t| nt| w td	|}|rtt|d
tt|dtt|dfa t S )N)FFFz8        import os
        import sys
        sys.path = a{  

        def configuration(parent_name='',top_path=None):
            global config
            from numpy.distutils.misc_util import Configuration
            config = Configuration('', parent_name, top_path)
            return config

        from numpy.distutils.core import setup
        setup(configuration=configuration)

        config_cmd = config.get_config_cmd()
        have_c = config_cmd.try_compile('void foo() {}')
        print('COMPILERS:%%d,%%d,%%d' %% (have_c,
                                          config.have_f77c(),
                                          config.have_f90c()))
        sys.exit(99)
        )syspathzsetup.pywconfig)stdoutstderrcwds   COMPILERS:(\d+),(\d+),(\d+)         )_compiler_statusr   textwrapdedentreprsyspathdicttempfilemkdtemposjoinopenwrite
executable
subprocessPopenPIPESTDOUTcommunicateshutilrmtreeresearchboolintgroup)	codetmpdirscriptfcmdpouterrm r/   a/var/www/html/ecg_monitoring/venv/lib/python3.10/site-packages/numpy/distutils/tests/utilities.py_get_compiler_status   s<   r1   c                   C   
   t  d S )Nr   r1   r/   r/   r/   r0   has_c_compilerQ      
r4   c                   C   r2   )Nr	   r3   r/   r/   r/   r0   has_f77_compilerU   r5   r6   c                   C   r2   )Nr
   r3   r/   r/   r/   r0   has_f90_compilerY   r5   r7   )numpy.testingr   r   r   r   r   r!   r   r   r   r1   r4   r6   r7   r/   r/   r/   r0   <module>   s   ?