mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bgen-generators now drop the python definition file straight in the
Lib:toolbox folder.
This commit is contained in:
parent
819fa1a794
commit
46d9e79de6
33 changed files with 114 additions and 29 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue