/usr/local/lib64/python3.6/site-packages/numpy/distutils/__pycache__
Edit: /usr/local/lib64/python3.6/site-packages/numpy/distutils/__pycache__/extension.cpython-36.pyc (2479B)
3
Eg
@ sL d Z ddlZddlmZ ejdejjZejdejjZ G dd deZdS )zdistutils.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* e Zd ZdZd ddZdd Zdd ZdS )
r a
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.
Nc C s t j| |g ||||||| |
||d
|| _|
p0g | _t| jtrhdd l}d}|j|tdd | jj | _|png | _
|| _|p~g | _|pg | _
|pg | _|pg | _d S )N)
include_dirs
define_macrosundef_macroslibrary_dirs librariesruntime_library_dirs
extra_objectsextra_compile_argsextra_link_argsexport_symbolsr z4swig_opts is specified as a string instead of a list )
stacklevel)
old_Extension__init__sources swig_opts
isinstancestrwarningswarn
SyntaxWarningsplitdependslanguagef2py_optionsmodule_dirsextra_f77_compile_argsextra_f90_compile_args)selfnamer r r r r r r r r
r r r r r r r r r r msg r" E/usr/local/lib64/python3.6/site-packages/numpy/distutils/extension.pyr ! s4
zExtension.__init__c C s$ x| j D ]}tt|rdS qW dS )NTF)r
cxx_ext_rer )r sourcer" r" r# has_cxx_sources[ s zExtension.has_cxx_sourcesc C s x| j D ]}t|rdS qW dS )NTF)r fortran_pyf_ext_re)r r% r" r" r# has_f2py_sourcesa s zExtension.has_f2py_sources)NNNNNNNNNNNNNNNNN)__name__
__module____qualname____doc__r r&