summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qd/qdscan.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/qd/qdscan.py')
-rw-r--r--Mac/Modules/qd/qdscan.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Modules/qd/qdscan.py b/Mac/Modules/qd/qdscan.py
index 46adaaa..2619d36 100644
--- a/Mac/Modules/qd/qdscan.py
+++ b/Mac/Modules/qd/qdscan.py
@@ -1,7 +1,9 @@
# Scan an Apple header file, generating a Python file of generator calls.
-import addpack
-addpack.addpack(':Tools:bgen:bgen')
+import sys
+import os
+BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen')
+sys.path.append(BGENDIR)
from scantools import Scanner
from bgenlocations import TOOLBOXDIR