o
    ҷh&                     @   s<  d dl mZ d dlmZmZmZ dgZdZG dd deZdd Z	e	d	d
ddddddddddddd	d
dddddddddddddddde
d dddde
d dddd d!d"d#d$d%d&e
d ddd'd(d)d)d)d)d%d*d+d,d-ed.d/ eD d0d/ eD d1d2Zd3d4 Zejjfd5dZd6S )7    )Enum)__cpu_features____cpu_baseline____cpu_dispatch__showTc                   @   s   e Zd ZdZdZdS )DisplayModesstdoutdictsN)__name__
__module____qualname__r   r	    r   r   C/var/www/html/venv/lib/python3.10/site-packages/numpy/__config__.pyr      s    r   c                 C   s    t | trdd |  D S | S )z
    Removes empty values in a `dict` recursively
    This ensures we remove values that Meson could not provide to CONFIG
    c                 S   s&   i | ]\}}|rt |r|t |qS r   )_cleanup).0kvr   r   r   
<dictcomp>   s   & z_cleanup.<locals>.<dictcomp>)
isinstancedictitems)dr   r   r   r      s   
r   gcczld.bfdz10.2.1ccz-fno-strict-aliasingz'-Wl,--strip-debug, -fno-strict-aliasing)namelinkerversioncommandsargszlinker argscythonz3.0.8 c++z-Wl,--strip-debug)cr   r!   x86_64littlelinux)cpufamilyendiansystemFalsefalse)hostbuildzcross-compiled
openblas64Truez
0.3.23.dev	pkgconfigz/usr/local/includez/usr/local/libz}USE_64BITINT=1 DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS= NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= HASWELL MAX_THREADS=2z/usr/local/lib/pkgconfig)r   foundr   zdetection methodzinclude directoryzlib directoryzopenblas configurationzpc file directorydep139863411681952z1.26.4internalunknown)blaslapackz"/opt/python/cp310-cp310/bin/pythonz3.10)pathr   c                 C   s   g | ]}t | r|qS r   r   r   featurer   r   r   
<listcomp>e   
    r;   c                 C   s   g | ]}t | s|qS r   r8   r9   r   r   r   r;   h   r<   )baseliner1   z	not found)	CompilerszMachine InformationzBuild DependencieszPython InformationzSIMD Extensionsc                  C   s   dd l } | S )Nr   yamlr?   r   r   r   _check_pyyamlp   s   rA   c                 C   s   | t jjkr6zt }t|t W dS  ty5   ddl}ddl	}|j
ddd t|jtdd Y dS w | t jjkr>tS tdd	d
d t D  )a  
    Show libraries and system information on which NumPy was built
    and is being used

    Parameters
    ----------
    mode : {`'stdout'`, `'dicts'`}, optional.
        Indicates how to display the config information.
        `'stdout'` prints to console, `'dicts'` returns a dictionary
        of the configuration.

    Returns
    -------
    out : {`dict`, `None`}
        If mode is `'dicts'`, a dict is returned, else None

    See Also
    --------
    get_include : Returns the directory containing NumPy C
                  header files.

    Notes
    -----
    1. The `'stdout'` mode will give more readable
       output if ``pyyaml`` is installed

    r   Nz"Install `pyyaml` for better output   )
stacklevel   )indentzInvalid `mode`, use one of: z, c                 S   s   g | ]}|j qS r   )value)r   er   r   r   r;      s    zshow.<locals>.<listcomp>)r   r   rF   rA   printdumpCONFIGModuleNotFoundErrorwarningsjsonwarndumpsr	   AttributeErrorjoin)moder@   rL   rM   r   r   r   r   v   s   N)enumr   numpy.core._multiarray_umathr   r   r   __all___built_with_mesonr   r   boollowerreplacerJ   rA   r   rF   r   r   r   r   r   <module>   s   		R