summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win/winscan.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/win/winscan.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/win/winscan.py')
-rw-r--r--Mac/Modules/win/winscan.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py
index cfe3eb3..0052fad 100644
--- a/Mac/Modules/win/winscan.py
+++ b/Mac/Modules/win/winscan.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