Kaydet (Commit) c4ff194b authored tarafından Jack Jansen's avatar Jack Jansen

Fixed the last two bgen-based modules to be buildable on OSX.

üst 53d527ad
# Scan <Drag.h>, generating draggen.py. # Scan <Drag.h>, generating draggen.py.
import sys import sys
import os import os
from bgenlocations import TOOLBOXDIR, BGENDIR from bgenlocations import TOOLBOXDIR, BGENDIR, INCLUDEDIR
sys.path.append(BGENDIR) sys.path.append(BGENDIR)
from scantools import Scanner from scantools import Scanner
......
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
import sys import sys
import os import os
BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen') from bgenlocations import TOOLBOXDIR, BGENDIR
sys.path.append(BGENDIR) sys.path.append(BGENDIR)
from scantools import Scanner from scantools import Scanner
from bgenlocations import MWERKSDIR, TOOLBOXDIR
#WASTEDIR=":::::Waste 1.3 Distribution:WASTE C/C++ Headers:" WASTEDIR='/Applications/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/MacOS Support/(Third Party Support)/Waste 2.0 Distribution/C_C++ Headers/'
WASTEDIR=MWERKSDIR + 'MacOS Support:(Third Party Support):Waste 2.0 Distribution:C_C++ Headers:'
if not os.path.exists(WASTEDIR):
raise 'Error: not found: %s', WASTEDIR
OBJECT = "TEHandle" OBJECT = "TEHandle"
SHORT = "waste" SHORT = "waste"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment