Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/numpy/distutils/command/__pycache__/config_compiler.cpython-39.pyc
Ðазад
a e�h � @ sF d dl mZ d dlmZ d dd�ZG dd� de�ZG dd � d e�ZdS )� )�Command)�logNc C sF | rd S | d u rg } | � d� ddlm} dd l}|jj}||� d S )N� r )�show_fcompilers)�appendZnumpy.distutils.fcompilerr �distutils.core�core�_setup_distribution)�_cacher � distutils�dist� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/numpy/distutils/command/config_compiler.py�show_fortran_compilers s r c @ sJ e Zd ZdZdZg d�ZdddefgZg d�Zdd � Z d d� Z dd � ZdS )� config_fcz� Distutils command to hold user specified options to Fortran compilers. config_fc command is used by the FCompiler.customize() method. z2specify Fortran 77/Fortran 90 compiler information) )z fcompiler=Nzspecify Fortran compiler type)zf77exec=Nzspecify F77 compiler command)zf90exec=Nzspecify F90 compiler command)z f77flags=Nzspecify F77 compiler flags)z f90flags=Nzspecify F90 compiler flags)zopt=Nzspecify optimization flags)zarch=Nz0specify architecture specific optimization flags)�debug�gz"compile with debugging information)�nooptNzcompile without optimization)�noarchNz+compile without arch-dependent optimizationzhelp-fcompilerNz list available Fortran compilers)r r r c C s@ d | _ d | _d | _d | _d | _d | _d | _d | _d | _d | _ d S �N) � fcompilerZf77execZf90execZf77flagsZf90flags�opt�archr r r ��selfr r r �initialize_options/ s zconfig_fc.initialize_optionsc C s� t �d� | �d�}| �d�}| �d�}| �d�}| ||||g}dD ]�}g }|D ]8}t||�} | d urPt| t�sv| j} | |vrP|�| � qP|s�d } n|d } t|�dkr�t � d ||f � | rD|D ]}t||�d u r�t ||| � q�qDd S ) NzTunifing config_fc, config, build_clib, build_ext, build commands --fcompiler options� build_clib� build_ext�config�build)r r r �J commands have different --%s options: %s, using first in list as default�r �info�get_finalized_command�getattr� isinstance�str� compiler_typer �len�warn�setattr�r r r r r Zcmd_list�a�l�c�vZv1r r r �finalize_options; s, �zconfig_fc.finalize_optionsc C s d S r r r r r r �runR s z config_fc.run)�__name__� __module__�__qualname__�__doc__�description�user_optionsr �help_options�boolean_optionsr r0 r1 r r r r r s ��r c @ s2 e Zd ZdZdZdgZdd� Zdd� Zdd � Zd S )� config_cczN Distutils command to hold user specified options to C/C++ compilers. z"specify C/C++ compiler information)z compiler=Nzspecify C/C++ compiler typec C s d | _ d S r ��compilerr r r r r a s zconfig_cc.initialize_optionsc C s� t �d� | �d�}| �d�}| �d�}| �d�}| ||||g}dD ]�}g }|D ]8}t||�} | d urPt| t�sv| j} | |vrP|�| � qP|s�d } n|d } t|�dkr�t � d ||f � | rD|D ]}t||�d u r�t ||| � q�qDd S ) NzSunifing config_cc, config, build_clib, build_ext, build commands --compiler optionsr r r r r; r r r r! r+ r r r r0 d s. �zconfig_cc.finalize_optionsc C s d S r r r r r r r1 | s z config_cc.runN) r2 r3 r4 r5 r6 r7 r r0 r1 r r r r r: V s �r: )N)r r Znumpy.distutilsr r r r: r r r r �<module> s D
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка