o
    ïí‰cú  ã                   @   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r-e e¡ nej dd¡ ejd  eje 7  < i Zi Zi Zi Zi Zi Zi Zi Zd	d	gd
gddgddgdœZddgd	d	gd
gddgddœZi Zi Zi Zi Zi Zi Zi Zi Z ddgd
gddœZ!g d¢d
gdddgddgdœZ"dd „ Z#dd„ Z$dS )Úget_infoÚshowé    Nz.libsÚwin32)é   é   ÚPATHÚ Úblasz/usr/lib/x86_64-linux-gnuz/usr/local/includez/usr/includeÚc)Ú
HAVE_CBLASN)Ú	librariesÚlibrary_dirsÚinclude_dirsÚlanguageÚdefine_macros)ÚNO_ATLAS_INFOé   )r   r   r   r   r   ÚlapackÚf77)r   r   r   )r   r   r	   r	   )r   r   r   r   r   c                 C   s   t ƒ }| | | | d i ¡¡S )NÚ_info)ÚglobalsÚget)ÚnameÚg© r   ú2/usr/lib/python3/dist-packages/numpy/__config__.pyr   '   s   c            
      C   s,  ddl m} m}m} tƒ  ¡ D ]L\}}|d dks!t|ƒti ƒur"qt|d ƒ |s.tdƒ | ¡ D ](\}}t|ƒ}|dkrRt	|ƒdkrR|dd	… d
 |dd…  }td||f ƒ q2qg g }}|D ]}	| |	 ro| 
|	¡ qc| 
|	¡ qct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)Únumpy.core._multiarray_umathr   r   r   r   ÚitemsÚtypeÚprintÚstrÚlenÚappendÚjoin)
r   r   r   r   Ú	info_dictÚkÚvÚfeatures_foundÚfeatures_not_foundÚfeaturer   r   r   r   +   s*   +ü
)%Ú__all__ÚosÚsysÚpathr,   ÚdirnameÚ__file__Úextra_dll_dirÚplatformÚisdirÚversion_infoÚadd_dll_directoryÚenvironÚ
setdefaultÚpathsepÚblas_mkl_infoÚ	blis_infoÚopenblas_infoÚaccelerate_infoÚatlas_3_10_blas_threads_infoÚatlas_3_10_blas_infoÚatlas_blas_threads_infoÚatlas_blas_infoÚ	blas_infoÚblas_opt_infoÚlapack_mkl_infoÚopenblas_lapack_infoÚopenblas_clapack_infoÚ
flame_infoÚatlas_3_10_threads_infoÚatlas_3_10_infoÚatlas_threads_infoÚ
atlas_infoÚlapack_infoÚlapack_opt_infor   r   r   r   r   r   Ú<module>   s>   
