?????????? ????????? - ??????????????? - /usr/lib64/python3.9/site-packages/numpy/distutils/command/__pycache__/config_compiler.cpython-39.pyc
???????
a z[yc � @ 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.coreZcoreZ_setup_distribution)�_cacher Z distutilsZdist� r �M/usr/lib64/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�optZarchr 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 �infoZget_finalized_command�getattr� isinstance�strZ 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 Zhelp_optionsZboolean_optionsr r) r* 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 �Zcompilerr 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 r2 r r r r r$ r r r r) d s. �zconfig_cc.finalize_optionsc C s d S r r r r r r r* | s z config_cc.runN) r+ r, r- r. r/ r0 r r) r* r r r r r1 V s �r1 )N)r r Znumpy.distutilsr r r r1 r r r r �<module> s D
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | ??????????? ?????????: 0 |
proxy
|
phpinfo
|
???????????