[Python-checkins] python/dist/src/Mac/Modules/res resscan.py,1.16,1.17

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Mon, 05 Aug 2002 08:39:32 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/res
In directory usw-pr-cvs1:/tmp/cvs-serv2925/res

Modified Files:
	resscan.py 
Log Message:
Enable building of Carbon toolbox modules with unix-Python.


Index: resscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/res/resscan.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** resscan.py	4 Jan 2002 16:00:27 -0000	1.16
--- resscan.py	5 Aug 2002 15:39:29 -0000	1.17
***************
*** 8,14 ****
  import MacOS
  
! BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen')
  sys.path.append(BGENDIR)
- from bgenlocations import TOOLBOXDIR
  
  from scantools import Scanner
--- 8,13 ----
  import MacOS
  
! from bgenlocations import TOOLBOXDIR, BGENDIR
  sys.path.append(BGENDIR)
  
  from scantools import Scanner