diff options
Diffstat (limited to 'Mac/Modules/qt/qtscan.py')
-rw-r--r-- | Mac/Modules/qt/qtscan.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Modules/qt/qtscan.py b/Mac/Modules/qt/qtscan.py index ebef23b..9f326a6 100644 --- a/Mac/Modules/qt/qtscan.py +++ b/Mac/Modules/qt/qtscan.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 |