Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/numpy/lib/__pycache__/utils.cpython-39.pyc
Ðазад
a e�h�� � @ sp d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZddlm Z d dl mZmZm Z d dlmZmZmZ d dlZg d�Zdd� Zd d � ZG dd� d�Zd d� Zdd� Zdd� Zdd� Zd4dd�Zdd� Zdadad5dd�Z d6dd�Z!e d�d7dd ��Z"e d�ej#fd!d"��Z$i Z%e�&d#ej'�Z(e d�d8d&d'��Z)d(d)� Z*d*d+� Z+d,d-� Z,d.d/� Z-d0d1� Z.d2d3� Z/dS )9� N� )� set_module)�issubclass_�issubsctype� issubdtype)�ndarray�ufunc�asarray) r r r � deprecate�deprecate_with_doc�get_include�info�source�who�lookfor�byte_bounds� safe_eval�show_runtimec C s� ddl m} m}m} ddlm} tjtjt � � d�g}g g }}|D ]"}| | r\|�|� qD|�|� qD|�d|||d�i� zddlm } |�|� � W n ty� td� Y n0 ||� d S ) a( Print information about various resources in the system including available intrinsic support and BLAS/LAPACK library in use .. versionadded:: 1.24.0 See Also -------- show_config : Show libraries in the system on which NumPy was built. Notes ----- 1. Information is derived with the help of `threadpoolctl <https://pypi.org/project/threadpoolctl/>`_ library if available. 2. SIMD related information is derived from ``__cpu_features__``, ``__cpu_baseline__`` and ``__cpu_dispatch__`` r ��__cpu_features__�__cpu_baseline__�__cpu_dispatch__)�pprint)Z numpy_version�python�unameZsimd_extensions)Zbaseline�found� not_found)�threadpool_infoz�WARNING: `threadpoolctl` not found in system! Install it by `pip install threadpoolctl`. Once installed, try `np.show_runtime` again for more detailed build informationN)�numpy.core._multiarray_umathr r r r �np�__version__�sys�version�platformr �appendZ threadpoolctlr �extend�ImportError�print) r r r r Zconfig_foundZfeatures_foundZfeatures_not_found�featurer � r) �/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/numpy/lib/utils.pyr s0 � ��r c C sV ddl } | jdu r.tj�tj�| j�dd�}n$ddlm} tj�tj�|j�d�}|S )a� Return the directory that contains the NumPy \*.h header files. Extension modules that need to compile against NumPy should use this function to locate the appropriate include directory. Notes ----- When using ``distutils``, for example in ``setup.py``:: import numpy as np ... Extension('extension_name', ... include_dirs=[np.get_include()]) ... r N�core�include) �numpyZshow_config�os�path�join�dirname�__file__� numpy.corer+ )r- �dr+ r) r) r* r K s r c @ s"