Update of /cvsroot/pymerase/pymerase/examples/dvd
In directory sc8-pr-cvs1:/tmp/cvs-serv695
Modified Files:
createapi.py creategraphvizuml.py createhtml.py
createpytkdbwidgets.py createpytkwidgets.py createreport.py
createsql.py
Log Message:
Updated for setup.py install script
Index: createapi.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/createapi.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** createapi.py 11 Dec 2002 17:37:47 -0000 1.1
--- createapi.py 5 Feb 2003 23:06:44 -0000 1.2
***************
*** 8,13 ****
# NOTE: so we have to manually import the modules we're using
# NOTE: and pass them to pymerase.run
! import input.parseXMI
! import output.CreateDBAPI
if __name__ == "__main__":
--- 8,13 ----
# 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.CreateDBAPI
if __name__ == "__main__":
***************
*** 16,20 ****
#pymerase.run(schema, 'parseXMI', output, 'CreateDBAPI')
! pymerase.run(schema, input.parseXMI, outputPath, output.CreateDBAPI)
--- 16,20 ----
#pymerase.run(schema, 'parseXMI', output, 'CreateDBAPI')
! pymerase.run(schema, pymerase.input.parseXMI, outputPath, pymerase.output.CreateDBAPI)
Index: creategraphvizuml.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/creategraphvizuml.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** creategraphvizuml.py 1 Feb 2003 02:11:28 -0000 1.1
--- creategraphvizuml.py 5 Feb 2003 23:06:44 -0000 1.2
***************
*** 5,10 ****
import pymerase
! import input.parseXMI
! import output.CreateGraphvizUML
if __name__ == "__main__":
--- 5,10 ----
import pymerase
! import pymerase.input.parseXMI
! import pymerase.output.CreateGraphvizUML
if __name__ == "__main__":
***************
*** 12,15 ****
outputPath = os.path.abspath("./dvd.dot")
! pymerase.run(schema, input.parseXMI, outputPath, output.CreateGraphvizUML)
--- 12,15 ----
outputPath = os.path.abspath("./dvd.dot")
! pymerase.run(schema, pymerase.input.parseXMI, outputPath, pymerase.output.CreateGraphvizUML)
Index: createhtml.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/createhtml.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** createhtml.py 11 Dec 2002 17:39:14 -0000 1.1
--- createhtml.py 5 Feb 2003 23:06:44 -0000 1.2
***************
*** 5,10 ****
import pymerase
! import input.parseXMI
! import output.CreateHtmlForms
if __name__ == "__main__":
--- 5,10 ----
import pymerase
! import pymerase.input.parseXMI
! import pymerase.output.CreateHtmlForms
if __name__ == "__main__":
***************
*** 12,15 ****
outputPath = os.path.abspath("./html")
! pymerase.run(schema, input.parseXMI, outputPath, output.CreateHtmlForms)
--- 12,15 ----
outputPath = os.path.abspath("./html")
! pymerase.run(schema, pymerase.input.parseXMI, outputPath, pymerase.output.CreateHtmlForms)
Index: createpytkdbwidgets.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/createpytkdbwidgets.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** createpytkdbwidgets.py 13 Jan 2003 23:57:42 -0000 1.1
--- createpytkdbwidgets.py 5 Feb 2003 23:06:44 -0000 1.2
***************
*** 8,13 ****
# NOTE: so we have to manually import the modules we're using
# NOTE: and pass them to pymerase.run
! import input.parseXMI
! import output.CreatePyTkDBWidgets
if __name__ == "__main__":
--- 8,13 ----
# 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.CreatePyTkDBWidgets
if __name__ == "__main__":
***************
*** 16,20 ****
#pymerase.run(schema, 'parseXMI', output, 'CreateDBAPI')
! pymerase.run(schema, input.parseXMI, outputPath, output.CreatePyTkDBWidgets)
--- 16,20 ----
#pymerase.run(schema, 'parseXMI', output, 'CreateDBAPI')
! pymerase.run(schema, pymerase.input.parseXMI, outputPath, pymerase.output.CreatePyTkDBWidgets)
Index: createpytkwidgets.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/createpytkwidgets.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** createpytkwidgets.py 12 Dec 2002 21:32:03 -0000 1.1
--- createpytkwidgets.py 5 Feb 2003 23:06:44 -0000 1.2
***************
*** 8,13 ****
# NOTE: so we have to manually import the modules we're using
# NOTE: and pass them to pymerase.run
! import input.parseXMI
! import output.CreatePyTkWidgets
if __name__ == "__main__":
--- 8,13 ----
# 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__":
***************
*** 16,20 ****
#pymerase.run(schema, 'parseXMI', output, 'CreateDBAPI')
! pymerase.run(schema, input.parseXMI, outputPath, output.CreatePyTkWidgets)
--- 16,20 ----
#pymerase.run(schema, 'parseXMI', output, 'CreateDBAPI')
! pymerase.run(schema, pymerase.input.parseXMI, outputPath, pymerase.output.CreatePyTkWidgets)
Index: createreport.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/createreport.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** createreport.py 11 Dec 2002 17:38:42 -0000 1.1
--- createreport.py 5 Feb 2003 23:06:44 -0000 1.2
***************
*** 5,10 ****
import pymerase
! import input.parseXMI
! import output.CreateReport
if __name__ == "__main__":
--- 5,10 ----
import pymerase
! import pymerase.input.parseXMI
! import pymerase.output.CreateReport
if __name__ == "__main__":
***************
*** 12,15 ****
outputPath = os.path.abspath("./report.txt")
! pymerase.run(schema, input.parseXMI, outputPath, output.CreateReport)
--- 12,15 ----
outputPath = os.path.abspath("./report.txt")
! pymerase.run(schema, pymerase.input.parseXMI, outputPath, pymerase.output.CreateReport)
Index: createsql.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/examples/dvd/createsql.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** createsql.py 11 Dec 2002 17:37:27 -0000 1.1
--- createsql.py 5 Feb 2003 23:06:44 -0000 1.2
***************
*** 5,10 ****
import pymerase
! import input.parseXMI
! import output.CreateDBAPI
if __name__ == "__main__":
--- 5,10 ----
import pymerase
! import pymerase.input.parseXMI
! import pymerase.output.CreateDBAPI
if __name__ == "__main__":
***************
*** 12,15 ****
outputPath = os.path.abspath("./dvd.sql")
! pymerase.run(schema, input.parseXMI, outputPath, output.CreateSQL)
--- 12,15 ----
outputPath = os.path.abspath("./dvd.sql")
! pymerase.run(schema, pymerase.input.parseXMI, outputPath, pymerase.output.CreateSQL)
|