File: //lib/python3/dist-packages/numpy/distutils/fcompiler/__pycache__/__init__.cpython-310.pyc
o
6��a�� � @ s� d Z g d�ZddlZddlZddlZddlmZ ddlmZ ddl m
Z
mZmZm
Z
mZ ddlmZmZ ddlmZmZ dd lmZ dd
lmZmZmZmZmZ ddlmZ ddlmZ d
dl m!Z! e"Z#G dd� de$�Z%dd� Z&dd� Z'dd� Z(G dd� de�Z)dZ*da+da,dd� Z- d6dd�Z.d7dd �Z/ d6d!d"�Z0e1� a2 d8d#d$�Z3d9d%d&�Z4d'd(� Z5e�6d)ej7�j8Z9e�6d*ej7�j:Z;e�6d+ej7�j:Z<e�6d,ej7�j:Z=e�6d-ej7�j8Z>d.d/� Z?d0d1� Z@e�6d2ej7�ZAd3d4� ZBeCd5kr�e4� dS dS ):a� numpy.distutils.fcompiler
Contains FCompiler, an abstract base class that defines the interface
for the numpy.distutils Fortran compiler abstraction model.
Terminology:
To be consistent, where the term 'executable' is used, it means the single
file, like 'gcc', that is executed, and should be a string. In contrast,
'command' means the entire command line, like ['gcc', '-c', 'file.c'], and
should be a list.
But note that FCompiler.executables is actually a dictionary of commands.
)� FCompiler�
new_fcompiler�show_fcompilers�dummy_fortran_file� N)�get_python_lib)�FancyGetopt)�DistutilsModuleError�DistutilsExecError�CompileError� LinkError�DistutilsPlatformError)�split_quoted� strtobool)� CCompiler�gen_lib_options)�log)� is_string�all_strings�is_sequence�make_temp_file�get_shared_lib_extension��find_executable)�_shell_utils� )�EnvironmentConfigc @ s e Zd ZdS )�CompilerNotFoundN)�__name__�
__module__�__qualname__� r r �D/usr/lib/python3/dist-packages/numpy/distutils/fcompiler/__init__.pyr ( s r c C s t | �rt| �S | S �N)r r
��sr r r! �flaglist+ s r% c C s t | �rt| �S t| �S r"