[Python-checkins] python/dist/src/Mac/Modules/ctl ctlscan.py,1.27,1.28
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
2002年8月05日 08:39:58 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/ctl
In directory usw-pr-cvs1:/tmp/cvs-serv2925/ctl
Modified Files:
ctlscan.py
Log Message:
Enable building of Carbon toolbox modules with unix-Python.
Index: ctlscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ctl/ctlscan.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** ctlscan.py 31 Dec 2001 09:50:32 -0000 1.27
--- ctlscan.py 5 Aug 2002 15:39:26 -0000 1.28
***************
*** 2,10 ****
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
def main():
--- 2,9 ----
import sys
import os
! from bgenlocations import TOOLBOXDIR, BGENDIR
sys.path.append(BGENDIR)
from scantools import Scanner
def main():