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
|
@ -10,6 +10,7 @@ import string
|
|||
import regex
|
||||
import regsub
|
||||
import MacOS
|
||||
from bgenlocations import TOOLBOXDIR
|
||||
|
||||
from scantools import Scanner
|
||||
|
||||
|
@ -17,7 +18,7 @@ def main():
|
|||
print "=== Scanning AERegistry.h for defines ==="
|
||||
input = "AERegistry.h"
|
||||
output = "@dummy-registry.py"
|
||||
defsoutput = "AERegistry.py"
|
||||
defsoutput = TOOLBOXDIR + "AERegistry.py"
|
||||
scanner = AppleEventsScanner(input, output, defsoutput)
|
||||
scanner.scan()
|
||||
scanner.close()
|
||||
|
@ -27,14 +28,14 @@ def main():
|
|||
# once we start writing servers in python.
|
||||
input = "AEObjects.h"
|
||||
output = "@dummy-objects.py"
|
||||
defsoutput = "AEObjects.py"
|
||||
defsoutput = TOOLBOXDIR + "AEObjects.py"
|
||||
scanner = AppleEventsScanner(input, output, defsoutput)
|
||||
scanner.scan()
|
||||
scanner.close()
|
||||
print "=== Scanning AppleEvents.py ==="
|
||||
input = "AppleEvents.h"
|
||||
output = "aegen.py"
|
||||
defsoutput = "AppleEvents.py"
|
||||
defsoutput = TOOLBOXDIR + "AppleEvents.py"
|
||||
scanner = AppleEventsScanner(input, output, defsoutput)
|
||||
scanner.scan()
|
||||
scanner.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue