summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl/ctlscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-05 15:39:30 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-05 15:39:30 (GMT)
commitaaebdd6a02dd4d650b14e2192e327336ecb62a98 (patch)
tree4afe45b89281ab71ca8d2f66265adc4a09dd5544 /Mac/Modules/ctl/ctlscan.py
parentff8dec7427ac1084ea375bbf904e365138b69aae (diff)
downloadcpython-aaebdd6a02dd4d650b14e2192e327336ecb62a98.zip
cpython-aaebdd6a02dd4d650b14e2192e327336ecb62a98.tar.gz
cpython-aaebdd6a02dd4d650b14e2192e327336ecb62a98.tar.bz2
Enable building of Carbon toolbox modules with unix-Python.
Diffstat (limited to 'Mac/Modules/ctl/ctlscan.py')
-rw-r--r--Mac/Modules/ctl/ctlscan.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mac/Modules/ctl/ctlscan.py b/Mac/Modules/ctl/ctlscan.py
index 0e0a80a..aac2cc4 100644
--- a/Mac/Modules/ctl/ctlscan.py
+++ b/Mac/Modules/ctl/ctlscan.py
@@ -1,11 +1,10 @@
# Scan <Controls.h>, generating ctlgen.py.
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 TOOLBOXDIR
def main():
# input = "Controls.h" # Universal Headers < 3.3