twisted.python.dist.ConditionalExtension(Extension) class documentationtwisted.python.dist
View Source
(View In Hierarchy)
An extension module that will only be compiled if certain conditions are met.
| Parameters | condition | A callable of one argument which returns True or False to indicate whether
the extension should be built. The argument is an instance of build_ext_twisted,
which has useful methods for checking things about the platform. |
| Method | __init__ | Undocumented |