%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib64/python3.9/site-packages/numpy/distutils/__pycache__/
Upload File :
Create Path :
Current File : //lib64/python3.9/site-packages/numpy/distutils/__pycache__/extension.cpython-39.opt-1.pyc

a

z[yc�
�@sLdZddlZddlmZe�dej�jZe�dej�jZ	Gdd�de�ZdS)z�distutils.extension

Provides the Extension class, used to describe C/C++ extension
modules in setup scripts.

Overridden to support f2py.

�N)�	Extensionz.*\.(cpp|cxx|cc)\Zz!.*\.(f90|f95|f77|for|ftn|f|pyf)\Zc@s*eZdZdZd	dd�Zdd�Zdd�ZdS)
ra
    Parameters
    ----------
    name : str
        Extension name.
    sources : list of str
        List of source file locations relative to the top directory of
        the package.
    extra_compile_args : list of str
        Extra command line arguments to pass to the compiler.
    extra_f77_compile_args : list of str
        Extra command line arguments to pass to the fortran77 compiler.
    extra_f90_compile_args : list of str
        Extra command line arguments to pass to the fortran90 compiler.
    NcCs�tj||g|||||||	|
||d�
||_|
p0g|_t|jt�rhddl}d}|j|tdd�|j�	�|_|png|_
||_|p~g|_|p�g|_
|p�g|_|p�g|_|p�g|_|p�g|_dS)N)
�include_dirs�
define_macros�undef_macros�library_dirs�	libraries�runtime_library_dirs�
extra_objects�extra_compile_args�extra_link_args�export_symbolsrz4swig_opts is specified as a string instead of a list�)�
stacklevel)�
old_Extension�__init__�sources�	swig_opts�
isinstance�str�warnings�warn�
SyntaxWarning�split�depends�language�f2py_options�module_dirs�extra_c_compile_args�extra_cxx_compile_args�extra_f77_compile_args�extra_f90_compile_args)�self�namerrrrrrrr	r
rrrrrrrrrrr r�msg�r$�?/usr/lib64/python3.9/site-packages/numpy/distutils/extension.pyr!s:�







zExtension.__init__cCs"|jD]}tt|��rdSqdS�NTF)r�
cxx_ext_rer�r!�sourcer$r$r%�has_cxx_sources_s
zExtension.has_cxx_sourcescCs|jD]}t|�rdSqdSr&)r�fortran_pyf_ext_rer(r$r$r%�has_f2py_sourceses
zExtension.has_f2py_sources)NNNNNNNNNNNNNNNNNNN)�__name__�
__module__�__qualname__�__doc__rr*r,r$r$r$r%rs.�
>r)
r0�reZdistutils.extensionrr�compile�I�matchr'r+r$r$r$r%�<module>s


Zerion Mini Shell 1.0