o
    h                     @   s  d dl 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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)d*d+d,d-d.d/Z	d0d1 Z
ejjfd2dZd3S )4    )EnumshowTc                   @   s   e Zd ZdZdZdS )DisplayModesstdoutdictsN)__name__
__module____qualname__r   r    r
   r
   K/var/www/html/scripts/venv/lib/python3.10/site-packages/scipy/__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 | ]\}}|d krt |d kr|t |qS ) )_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cc)namelinkerversioncommandscythonz0.29.36c++gfortranz0.14.0zM../../tmp/pip-build-env-6ckgqyn6/overlay/lib/python3.10/site-packages/pythran)r   include directory)cr   r   fortranpythranx86_64littlelinux)cpufamilyendiansystemFalsefalser   )hostbuildzcross-compiledopenblasTruez
0.3.21.dev	pkgconfigz/usr/local/includez/usr/local/libz|USE_64BITINT= 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   detection methodr   zlib directoryzopenblas configurationzpc file directorypybind11z2.11.0zconfig-toolunknown)r   r   r2   r   )blaslapackr3   z"/opt/python/cp310-cp310/bin/pythonz3.10)pathr   )	CompilerszMachine InformationzBuild DependencieszPython Informationc                  C   s   dd l } | S )Nr   yamlr9   r
   r
   r   _check_pyyamll   s   r;   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 SciPy 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

    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   
<listcomp>   s    zshow.<locals>.<listcomp>)r   r   r@   r;   printdumpCONFIGModuleNotFoundErrorwarningsjsonwarndumpsr   AttributeErrorjoin)moder:   rG   rH   r
   r
   r   r   r   s   N)enumr   __all___built_with_mesonr   r   boollowerreplacerE   r;   r   r@   r   r
   r
   r
   r   <module>   s    S