[Python-checkins] python/dist/src/Mac/Modules/icn icnscan.py,1.7,1.8
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Mon, 05 Aug 2002 08:40:00 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/icn
In directory usw-pr-cvs1:/tmp/cvs-serv2925/icn
Modified Files:
icnscan.py
Log Message:
Enable building of Carbon toolbox modules with unix-Python.
Index: icnscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/icn/icnscan.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** icnscan.py 3 Jan 2001 16:44:27 -0000 1.7
--- icnscan.py 5 Aug 2002 15:39:28 -0000 1.8
***************
*** 3,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
LONG = "Icons"
--- 3,9 ----
import sys
import os
! from bgenlocations import TOOLBOXDIR, BGENDIR
sys.path.append(BGENDIR)
from scantools import Scanner
LONG = "Icons"