summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/drag
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/drag
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/drag')
-rw-r--r--Mac/Modules/drag/dragscan.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mac/Modules/drag/dragscan.py b/Mac/Modules/drag/dragscan.py
index 1a8d269..833fca1 100644
--- a/Mac/Modules/drag/dragscan.py
+++ b/Mac/Modules/drag/dragscan.py
@@ -1,11 +1,10 @@
# Scan <Drag.h>, generating draggen.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, INCLUDEDIR
MISSING_DEFINES="""
kDragHasLeftSenderWindow = (1 << 0)