def __init__(self, inputs=None, include_paths=None, defines=None, library_paths=None, libraries=None):
"""
:param inputs: input paths; note that these should be *absolute* paths
:type inputs: [:obj:`basestring` or :obj:`~types.FunctionType`]
:param include_paths: include paths; note that these should be *absolute* paths
:type include_paths: [:obj:`basestring` or :obj:`~types.FunctionType`]
:param defines: defines in a (name, value) tuple format; use None for value if the define
does not have a value
:type defines: [(:obj:`basestring` or :obj:`~types.FunctionType`, :obj:`basestring` or
:obj:`~types.FunctionType`)]
:param library_paths: include paths; note that these should be *absolute* paths
:type library_paths: [:obj:`basestring` or :obj:`~types.FunctionType`]
:param libraries: library names
:type libraries: [:obj:`basestring` or :obj:`~types.FunctionType`]
"""
super(ExplicitExtension, self).__init__()
self.inputs = StrictList(inputs, value_type=(basestring, FunctionType))
self.include_paths = StrictList(include_paths, value_type=(basestring, FunctionType))
self.defines = defines or []
self.library_paths = StrictList(library_paths, value_type=(basestring, FunctionType))
self.libraries = StrictList(libraries, value_type=(basestring, FunctionType))
评论列表
文章目录