def __init__(self, mixin_modules=None, binding_module='mesh.standard.python'): if isinstance(mixin_modules, basestring): mixin_modules = mixin_modules.split(' ') self.binding_module = binding_module self.formatter = StructureFormatter() self.mixin_modules = mixin_modules
def run(self, runtime): description = self['bundle'].describe(self['targets']) content = StructureFormatter().format(description) self['path'].write_bytes(content)