[Python-checkins] python/dist/src/Tools/bgen/bgen bgenlocations.py,1.5,1.6
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Sun, 04 Aug 2002 14:56:15 -0700
Update of /cvsroot/python/python/dist/src/Tools/bgen/bgen
In directory usw-pr-cvs1:/tmp/cvs-serv31011
Modified Files:
bgenlocations.py
Log Message:
Specify pathnames in a way that works on both OS9 and OSX.
You'll still have to manually edit it, though...
Index: bgenlocations.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/bgen/bgen/bgenlocations.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** bgenlocations.py 1 Jan 2002 22:39:07 -0000 1.5
--- bgenlocations.py 4 Aug 2002 21:56:12 -0000 1.6
***************
*** 4,12 ****
import sys, os
# Where to find the Universal Header include files:
! MWERKSDIR="Moes:Applications (Mac OS 9):Metrowerks CodeWarrior 7.0:Metrowerks CodeWarrior:"
! INCLUDEDIR=MWERKSDIR + "MacOS Support:Universal:Interfaces:CIncludes:"
# Where to put the python definitions file:
! TOOLBOXDIR=os.path.join(sys.prefix, ":Mac:Lib:Carbon:")
# Creator for C files:
--- 4,12 ----
import sys, os
# Where to find the Universal Header include files:
! MWERKSDIR="/Applications/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/"
! INCLUDEDIR=os.path.join(MWERKSDIR, "MacOS Support", "Universal", "Interfaces", "CIncludes")
# Where to put the python definitions file:
! TOOLBOXDIR=os.path.join(sys.prefix, "Mac", "Lib", "Carbon")
# Creator for C files: