Ejemplo n.º 1
0
    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
Ejemplo n.º 2
0
 def run(self, runtime):
     description = self['bundle'].describe(self['targets'])
     content = StructureFormatter().format(description)
     self['path'].write_bytes(content)