diff options
Diffstat (limited to 'Mac/Modules/win/winscan.py')
-rw-r--r-- | Mac/Modules/win/winscan.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py index ae0462f..f15fb16 100644 --- a/Mac/Modules/win/winscan.py +++ b/Mac/Modules/win/winscan.py @@ -1,6 +1,8 @@ # 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 bgenlocations import TOOLBOXDIR from scantools import Scanner |