From: <ki...@us...> - 2003-03-14 23:34:07
|
Update of /cvsroot/pymerase/pymerase/examples/manyToMany In directory sc8-pr-cvs1:/tmp/cvs-serv24734 Added Files: createpytkwidgets.py Log Message: widgets --- NEW FILE: createpytkwidgets.py --- #!/usr/bin/env python import sys import os import pymerase # NOTE: Jython can't use the python way to load modules based on their name # NOTE: so we have to manually import the modules we're using # NOTE: and pass them to pymerase.run import pymerase.input.parseXMI import pymerase.output.CreatePyTkWidgets if __name__ == "__main__": schema = os.path.abspath("./manyToMany.xmi") outputPath = os.path.abspath("./widgets") #pymerase.run(schema, 'parseXMI', output, 'CreateDBAPI') pymerase.run(schema, pymerase.input.parseXMI, outputPath, pymerase.output.CreatePyTkWidgets) |