summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/waste
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-05 21:13:07 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-05 21:13:07 (GMT)
commitc4ff194bdd0b70241a8e56cfaa07d76eff6f3585 (patch)
tree9696f60f3784bc9e32da3697691ff8c7f7da337a /Mac/Modules/waste
parent53d527ad1828d484e336626ee59d7d5606b58499 (diff)
downloadcpython-c4ff194bdd0b70241a8e56cfaa07d76eff6f3585.zip
cpython-c4ff194bdd0b70241a8e56cfaa07d76eff6f3585.tar.gz
cpython-c4ff194bdd0b70241a8e56cfaa07d76eff6f3585.tar.bz2
Fixed the last two bgen-based modules to be buildable on OSX.
Diffstat (limited to 'Mac/Modules/waste')
-rw-r--r--Mac/Modules/waste/wastescan.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/Mac/Modules/waste/wastescan.py b/Mac/Modules/waste/wastescan.py
index 1950a62..d2f367d 100644
--- a/Mac/Modules/waste/wastescan.py
+++ b/Mac/Modules/waste/wastescan.py
@@ -2,13 +2,14 @@
import sys
import os
-BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen')
+from bgenlocations import TOOLBOXDIR, BGENDIR
sys.path.append(BGENDIR)
from scantools import Scanner
-from bgenlocations import MWERKSDIR, TOOLBOXDIR
-#WASTEDIR=":::::Waste 1.3 Distribution:WASTE C/C++ Headers:"
-WASTEDIR=MWERKSDIR + 'MacOS Support:(Third Party Support):Waste 2.0 Distribution:C_C++ Headers:'
+WASTEDIR='/Applications/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/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"
SHORT = "waste"