U
    Gvf                     @   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'Z	d(d) Z
ejjfd*dZd+S ),    )EnumshowTc                   @   s   e Zd ZdZdZdS )DisplayModesstdoutdictsN)__name__
__module____qualname__r   r    r
   r
   4/tmp/pip-unpacked-wheel-96ln3f52/scipy/__config__.pyr   	   s   r   c                 C   s$   t | trdd |  D S | S d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>N)
isinstancedictitems)dr
   r
   r   r      s    
r   Zgcczld.bfdz10.2.1cc)nameZlinkerversioncommandscythonz0.29.33c++Zgfortranz0.12.1zG/tmp/pip-build-env-q2fwe5jt/overlay/lib/python3.8/site-packages/pythran)r   include directory)cr   r   ZfortranZpythranx86_64littlelinux)cpufamilyZendiansystemFalsefalser   )hostbuildzcross-compiledZOpenBLASTruez0.3.18Zcmakeunknown)r   foundr   zdetection methodr   zlib directoryzopenblas configurationzpc file directory)ZblasZlapackz /opt/python/cp38-cp38/bin/pythonz3.8)pathr   )Z	CompilerszMachine InformationzBuild DependencieszPython Informationc                  C   s   dd l } | S )Nr   yamlr,   r
   r
   r   _check_pyyamlf   s    r.   c                 C   s   | t jjkrlzt }t|t W q tk
rh   ddl}ddl	}|j
ddd t|jtdd Y qX n.| t jjkr|tS tdd	d
d t D  dS )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   r3   r.   printdumpCONFIGModuleNotFoundErrorwarningsjsonwarndumpsr   AttributeErrorjoin)moder-   r:   r;   r
   r
   r   r   l   s    N)enumr   __all__Z_built_with_mesonr   r   boollowerreplacer8   r.   r   r3   r   r
   r
   r
   r   <module>   s    M