Exemplo n.º 1
0
 def import_generate(self, library, url):
     # Import references
     importer = ReferenceImporter()
     importer.import_references(''.join([self.base_path, library, '/', library, '-', str(self.nexamples), '.bib']))
     
     # Generate wrappers
     generator = WrapperGenerator(url)
     generator.set_wrapper_gen_examples(self.nexamples)
     generator.generate_wrappers()    
 def __init__(self, parent=None, url=None):
     QtCore.QThread.__init__(self, parent)
     self.exiting = False
     self.url = url
     self.wrapper_generator = WrapperGenerator(url)