[Python-checkins] python/dist/src/Mac/Modules/win winscan.py,1.21,1.22

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


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

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


Index: winscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/win/winscan.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** winscan.py	5 Jun 2002 17:41:03 -0000	1.21
--- winscan.py	5 Aug 2002 15:39:30 -0000	1.22
***************
*** 2,8 ****
  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
--- 2,7 ----
  import sys
  import os
! from bgenlocations import TOOLBOXDIR, BGENDIR
  sys.path.append(BGENDIR)
  
  from scantools import Scanner