bgen-generators now drop the python definition file straight in the

Lib:toolbox folder.
This commit is contained in:
Jack Jansen 1996-04-12 16:29:23 +00:00
parent 819fa1a794
commit 46d9e79de6
33 changed files with 114 additions and 29 deletions

View file

@ -3,6 +3,7 @@
import addpack
addpack.addpack(':tools:bgen:bgen')
from scantools import Scanner
from bgenlocations import TOOLBOXDIR
LONG = "TextEdit"
SHORT = "te"
@ -11,7 +12,7 @@ OBJECT = "TEHandle"
def main():
input = LONG + ".h"
output = SHORT + "gen.py"
defsoutput = LONG + ".py"
defsoutput = TOOLBOXDIR + LONG + ".py"
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()