ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/f2py/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/f2py/__pycache__/diagnose.cpython-311.pyc |
� �܋fM � �N � d dl Z d dlZd dlZd� Zd� Zedk r e� � dS dS )� Nc �p � t d| z � � t j | � � t d� � d S )NzRunning %r:�------)�print�os�system)�cmds �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/f2py/diagnose.py�run_commandr s1 � � �-�3� � � � ��I�c�N�N�N� �(�O�O�O�O�O� c �� � t j � � } t j t j � � � � t d� � t dt j z � � t d� � t dt j z � � t d� � t d� � t t j � � t d� � t d� � t t j � � t d� � t dd� t j � � z � � t d� � dd l }d }n)# t $ r}t d |� � d}Y d }~nd }~ww xY w ddlm} d }n)# t $ r}t d|� � d}Y d }~nd }~ww xY w dd l}d }nA# t $ r4 dd l}d }n)# t $ r}t d|� � d}Y d }~nd }~ww xY wY nw xY w|rW t d|j �d|j ��� � n6# t* $ r)}t d|� � t d� � Y d }~nd }~ww xY w|r\ t d|j j �d|j ��� � n6# t* $ r)}t d|� � t d� � Y d }~nd }~ww xY w|�r |d k r*t d|j j �d|j j ��� � n$t d|j j �d|j ��� � t d� � n6# t* $ r)}t d|� � t d� � Y d }~nd }~ww xY w |d k r�t dd�� � dd lmc m} t d� � t d� � t d� � | j D ]/} | d �� � � � � t d� � �0n6# t* $ r)}t d|� � t d� � Y d }~nd }~ww xY wn7# t* $ r*}t d|d� � t d� � Y d }~nd }~ww xY w |d k rt dd�� � dd lmc m} nt dd�� � dd lm} t d� � t d� � t d� � |� � � t d� � n6# t* $ r)}t d|� � t d� � Y d }~nd }~ww xY wn6# t* $ r)}t d|� � t d� � Y d }~nd }~ww xY w |d k r6t dd�� � ddl!m"} t d� � t d� � n� t d d�� � ddl#m"} t d� � t d� � n]# t* $ rP}t d|d!� � t d"d�� � ddl$m"} t d� � t d� � Y d }~nd }~ww xY w |� � } t d#d�� � tK |� � D ]S}|d d$k rE|d d$k r9 tM | |d d � � � � � rt |d d � d�� � �Tt d� � n6# t* $ r)}t d|� � t d� � Y d }~nd }~ww xY wt j | � � d S )%Nr z os.name=%rzsys.platform=%rzsys.version:zsys.prefix:zsys.path=%r�:r � zFailed to import new numpy:)�f2py2ezFailed to import f2py2e:� z!Failed to import numpy_distutils:zFound new numpy version z in zerror:zFound f2py2e version zFound numpy.distutils version zFound numpy_distutils version z0Importing numpy_distutils.command.build_flib ...� )�end�okz5Checking availability of supported Fortran compilers:)�verbosezD(ignore it, build_flib is obsolute for numpy.distutils 0.2.2 and up)z'Importing numpy.distutils.fcompiler ...z'Importing numpy_distutils.fcompiler ...z%Importing numpy.distutils.cpuinfo ...)�cpuinfoz-Importing numpy_distutils.command.cpuinfo ...z(ignore it)z%Importing numpy_distutils.cpuinfo ...zCPU information:�_)'r �getcwd�chdir�tempfile� gettempdirr �name�sys�platform�version�prefix�join�path�numpy�ImportError� numpy.f2pyr �numpy.distutils�numpy_distutils�__version__�__file__� Exception� distutils�numpy_distutils_version�"numpy_distutils.command.build_flib�command� build_flib� all_compilers�is_available�numpy.distutils.fcompiler� fcompiler�numpy_distutils.fcompiler�show_fcompilers�numpy.distutils.cpuinfor �numpy_distutils.command.cpuinfo�numpy_distutils.cpuinfo�dir�getattr)�_pathr"