sage: from Cython.Build import cythonize
sage: cythonize?
Signature: cythonize(module_list, exclude=None, nthreads=0,
aliases=None, quiet=False, force=False, language=None,
exclude_failures=False, **options)
Docstring:
Compile a set of source modules into C/C++ files and return a list
of distutils Extension objects for them.
As module list, pass either a glob pattern, a list of glob patterns
or a list of Extension objects. The latter allows you to configure
the extensions separately through the normal distutils options.
When using glob patterns, you can exclude certain module names
explicitly by passing them into the 'exclude' option.
To globally enable C++ mode, you can pass language='c++'.
Otherwise, this will be determined at a per-file level based on
compiler directives. This affects only modules found based on file
names. Extension instances passed into cythonize() will not be
changed.
For parallel compilation, set the 'nthreads' option to the number
of concurrent builds.
For a broad 'try to compile' mode that ignores compilation failures
and simply excludes the failed extensions, pass
'exclude_failures=True'. Note that this only really makes sense for
compiling .py files which can also be used without compilation.
Additional compilation options can be passed as keyword arguments.
Init docstring: x.__init__(...) initializes x; see help(type(x)) for
signature
File:
/data/Sage/release/devel/sage-7.3.beta9-gcc-6.1.0/local/lib/python2.7/site-packages/Cython-0.24.1-py2.7-linux-x86_64.egg/Cython/Build/Dependencies.py
Type: function
-leif