Undocumented
Function | CCompiler_compile |
Compile one or more source files. |
Function | CCompiler_customize |
Do any platform-specific customization of a compiler instance. |
Function | CCompiler_customize_cmd |
Customize compiler using distutils command. |
Function | CCompiler_cxx_compiler |
Return the C++ compiler. |
Function | CCompiler_find_executables |
Does nothing here, but is called by the get_version method and can be overridden by subclasses. In particular it is redefined in the FCompiler class where more documentation can be found. |
Function | CCompiler_get_version |
Return compiler version, or None if compiler is not available. |
Function | CCompiler_object_filenames |
Return the name of the object files for the given source files. |
Function | CCompiler_show_customization |
Print the compiler customizations to stdout. |
Function | CCompiler_spawn |
Execute a command in a sub-process. |
Function | gen_lib_options |
Undocumented |
Function | new_compiler |
Undocumented |
Function | replace_method |
Undocumented |
Function | simple_version_match |
Simple matching of version numbers, for use in CCompiler and FCompiler. |
Function | _compiler_to_string |
Undocumented |
Function | _needs_build |
Check if an objects needs to be rebuild based on its dependencies |
Variable | _global_lock |
Undocumented |
Variable | _job_semaphore |
Undocumented |
Variable | _m |
Undocumented |
Variable | _processing_files |
Undocumented |
Compile one or more source files.
Please refer to the Python distutils API reference for more details.
sources
.Do any platform-specific customization of a compiler instance.
This method calls distutils.sysconfig.customize_compiler
for
platform-specific customization, as well as optionally remove a flag
to suppress spurious warnings in case C++ code is being compiled.
None
All the default options used by distutils can be extracted with:
from distutils import sysconfig sysconfig.get_config_vars('CC', 'CXX', 'OPT', 'BASECFLAGS', 'CCSHARED', 'LDSHARED', 'SO')
Customize compiler using distutils command.
distutils.cmd.Command
.CCompiler
commands (without 'set_') that should not be
altered. Strings that are checked for are:
('include_dirs', 'define', 'undef', 'libraries', 'library_dirs',
'rpath', 'link_objects').None
Return the C++ compiler.
None
CCompiler
instance.FCompiler
class where more documentation can be found.Return compiler version, or None if compiler is not available.
ok_status
, None is returned. Default is [0].distutils.version.LooseVersion
.Return the name of the object files for the given source files.
output_dir
is returned. Default is False.source_filenames
.Print the compiler customizations to stdout.
None
None
Printing is only done if the distutils log threshold is < 2.
Execute a command in a sub-process.
numpy.distutils
.
If not given, display
is equal to cmd
.env: a dictionary for environment variables, optional
None
Simple matching of version numbers, for use in CCompiler and FCompiler.
matcher
.CCompiler
class. matcher
takes a single parameter,
a version string.