[Python-checkins] python/dist/src/Mac/Modules/waste wastescan.py,1.9,1.10

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Mon, 05 Aug 2002 14:13:10 -0700


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

Modified Files:
	wastescan.py 
Log Message:
Fixed the last two bgen-based modules to be buildable on OSX.


Index: wastescan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/waste/wastescan.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** wastescan.py	24 Mar 2002 23:01:30 -0000	1.9
--- wastescan.py	5 Aug 2002 21:13:07 -0000	1.10
***************
*** 3,13 ****
  import sys
  import os
! BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen')
  sys.path.append(BGENDIR)
  from scantools import Scanner
- from bgenlocations import MWERKSDIR, TOOLBOXDIR
  
! #WASTEDIR=":::::Waste 1.3 Distribution:WASTE C/C++ Headers:"
! WASTEDIR=MWERKSDIR + 'MacOS Support:(Third Party Support):Waste 2.0 Distribution:C_C++ Headers:'
  
  OBJECT = "TEHandle"
--- 3,14 ----
  import sys
  import os
! from bgenlocations import TOOLBOXDIR, BGENDIR
  sys.path.append(BGENDIR)
  from scantools import Scanner
  
! WASTEDIR='/Applications/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/MacOS Support/(Third Party Support)/Waste 2.0 Distribution/C_C++ Headers/'
! 		
! if not os.path.exists(WASTEDIR):
! 	raise 'Error: not found: %s', WASTEDIR
  
  OBJECT = "TEHandle"