B
    GŽ0dË  ã               @   s  d dgZ ddlZddlZej ej e¡d¡Zejdkr€ej 	e¡r€ej
dkrZe e¡ n&ej dd¡ ejd  eje 7  < i Zi Zd	d	gd
gddgd
gdœZd	d	gd
gddgd
gdœZi Zd	d	gd
gddgd
gdœZd	d	gd
gddgd
gdœZdd „ Zdd„ ZdS )Úget_infoÚshowé    Nz.libsÚwin32)é   é   ÚPATHÚ Zopenblasz/usr/local/libÚc)Z
HAVE_CBLASN)Ú	librariesÚlibrary_dirsÚlanguageÚdefine_macrosÚruntime_library_dirsc             C   s   t ƒ }| | | | d i ¡¡S )NÚ_info)ÚglobalsÚget)ÚnameÚg© r   úL/var/www/html/venv/lib/python3.7/site-packages/numpy/distutils/__config__.pyr      s    c        
      C   s8  ddl m} m}m} xªtƒ  ¡ D ]œ\}}|d dks t|ƒti ƒk	rFq t|d ƒ |s^tdƒ x\| ¡ D ]P\}}t|ƒ}|dkr¨t	|ƒdkr¨|dd	… d
 |dd…  }td||f ƒ qhW q W g g  }}x*|D ]"}	| |	 rè| 
|	¡ qÐ| 
|	¡ qÐW tdƒ tdd |¡ ƒ tdd |¡ ƒ tdd |¡ ƒ dS )aT  
    Show libraries in the system on which NumPy was built.

    Print information about various resources (libraries, library
    directories, include directories, etc.) in the system on which
    NumPy was built.

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

    Notes
    -----
    Classes specifying the information to be printed are defined
    in the `numpy.distutils.system_info` module.

    Information may include:

    * ``language``: language used to write the libraries (mostly
      C or f77)
    * ``libraries``: names of libraries found in the system
    * ``library_dirs``: directories containing the libraries
    * ``include_dirs``: directories containing library header files
    * ``src_dirs``: directories containing library source files
    * ``define_macros``: preprocessor macros used by
      ``distutils.setup``
    * ``baseline``: minimum CPU features required
    * ``found``: dispatched features supported in the system
    * ``not found``: dispatched features that are not supported
      in the system

    Examples
    --------
    >>> import numpy as np
    >>> np.show_config()
    blas_opt_info:
        language = c
        define_macros = [('HAVE_CBLAS', None)]
        libraries = ['openblas', 'openblas']
        library_dirs = ['/usr/local/lib']
    r   )Ú__cpu_features__Ú__cpu_baseline__Ú__cpu_dispatch__Ú_ú:z  NOT AVAILABLEÚsourceséÈ   Né<   z	 ...
... iÄÿÿÿz    %s = %sz0Supported SIMD extensions in this NumPy install:z    baseline = %sú,z    found = %sz    not found = %s)Znumpy.core._multiarray_umathr   r   r   r   ÚitemsÚtypeÚprintÚstrÚlenÚappendÚjoin)
r   r   r   r   Z	info_dictÚkÚvZfeatures_foundZfeatures_not_foundÚfeaturer   r   r   r      s*    + 

)Ú__all__ÚosÚsysÚpathr%   ÚdirnameÚ__file__Zextra_dll_dirÚplatformÚisdirÚversion_infoZadd_dll_directoryÚenvironÚ
setdefaultÚpathsepZblas_mkl_infoZ	blis_infoZopenblas_infoZblas_opt_infoZlapack_mkl_infoZopenblas_lapack_infoZlapack_opt_infor   r   r   r   r   r   Ú<module>   s"   
