o
    ’.h  ã                   @   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 
e¡ ddgdgdg d	¢dgd
œZddgdgdg d	¢dgd
œZddgdgdg d¢dgd
œZddgdgdg d¢dgd
œZdd „ Zdd„ ZdS )Úget_infoÚshowé    Nz.libsÚwin32Úopenblas64_z/usr/local/libÚc)©Ú
HAVE_CBLASN©ÚBLAS_SYMBOL_SUFFIXÚ64_©ÚHAVE_BLAS_ILP64N)Ú	librariesÚlibrary_dirsÚlanguageÚdefine_macrosÚruntime_library_dirs)r   r	   r   )ÚHAVE_LAPACKENc                 C   s   t ƒ }| | | | d i ¡¡S )NÚ_info)ÚglobalsÚget)ÚnameÚg© r   úO/var/www/supernova/superenvnew/lib/python3.10/site-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 )a#
  
    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
    -----
    1. 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

    2. NumPy BLAS/LAPACK Installation Notes

       Installing a numpy wheel (``pip install numpy`` or force it
       via ``pip install numpy --only-binary :numpy: numpy``) includes
       an OpenBLAS implementation of the BLAS and LAPACK linear algebra
       APIs. In this case, ``library_dirs`` reports the original build
       time configuration as compiled with gcc/gfortran; at run time
       the OpenBLAS library is in
       ``site-packages/numpy.libs/`` (linux), or
       ``site-packages/numpy/.dylibs/`` (macOS), or
       ``site-packages/numpy/.libs/`` (windows).

       Installing numpy from source
       (``pip install numpy --no-binary numpy``) searches for BLAS and
       LAPACK dynamic link libraries at build time as influenced by
       environment variables NPY_BLAS_LIBS, NPY_CBLAS_LIBS, and
       NPY_LAPACK_LIBS; or NPY_BLAS_ORDER and NPY_LAPACK_ORDER;
       or the optional file ``~/.numpy-site.cfg``.
       NumPy remembers those locations and expects to load the same
       libraries at run-time.
       In NumPy 1.21+ on macOS, 'accelerate' (Apple's Accelerate BLAS
       library) is in the default build-time search order after
       'openblas'.

    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*   Cü
)Ú__all__ÚosÚsysÚpathr+   ÚdirnameÚ__file__Úextra_dll_dirÚplatformÚisdirÚadd_dll_directoryÚopenblas64__infoÚblas_ilp64_opt_infoÚopenblas64__lapack_infoÚlapack_ilp64_opt_infor   r   r   r   r   r   Ú<module>   s   
