[Python-checkins] python/dist/src/Mac/Modules/te tescan.py,1.5,1.6

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/te
In directory usw-pr-cvs1:/tmp/cvs-serv2925/te

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


Index: tescan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/te/tescan.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** tescan.py	12 Dec 2000 22:10:20 -0000	1.5
--- tescan.py	5 Aug 2002 15:39:30 -0000	1.6
***************
*** 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 = "TextEdit"
--- 3,9 ----
  import sys
  import os
! from bgenlocations import TOOLBOXDIR, BGENDIR
  sys.path.append(BGENDIR)
  from scantools import Scanner
  
  LONG = "TextEdit"