numpy.distutils.core.Extension#
- class numpy.distutils.core.Extension(name, sources, include_dirs=None, define_macros=None, undef_macros=None, library_dirs=None, libraries=None, runtime_library_dirs=None, extra_objects=None, extra_compile_args=None, extra_link_args=None, export_symbols=None, swig_opts=None, depends=None, language=None, f2py_options=None, module_dirs=None, extra_c_compile_args=None, extra_cxx_compile_args=None, extra_f77_compile_args=None, extra_f90_compile_args=None)[source]#
- Parameters
- namestr
Extension name.
- sourceslist of str
List of source file locations relative to the top directory of the package.
- extra_compile_argslist of str
Extra command line arguments to pass to the compiler.
- extra_f77_compile_argslist of str
Extra command line arguments to pass to the fortran77 compiler.
- extra_f90_compile_argslist of str
Extra command line arguments to pass to the fortran90 compiler.
Methods
has_cxx_sources
has_f2py_sources