summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qdoffs/qdoffsscan.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/qdoffs/qdoffsscan.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/qdoffs/qdoffsscan.py')
-rw-r--r--Mac/Modules/qdoffs/qdoffsscan.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mac/Modules/qdoffs/qdoffsscan.py b/Mac/Modules/qdoffs/qdoffsscan.py
index 4f188a6..b2b55b2 100644
--- a/Mac/Modules/qdoffs/qdoffsscan.py
+++ b/Mac/Modules/qdoffs/qdoffsscan.py
@@ -1,9 +1,8 @@
# Scan an Apple header file, generating a Python file of generator calls.
import sys
import os
-BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen')
+from bgenlocations import TOOLBOXDIR, BGENDIR
sys.path.append(BGENDIR)
-from bgenlocations import TOOLBOXDIR
from scantools import Scanner