]> granicus.if.org Git - python/commitdiff
Specify pathnames in a way that works on both OS9 and OSX.
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 4 Aug 2002 21:56:12 +0000 (21:56 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 4 Aug 2002 21:56:12 +0000 (21:56 +0000)
You'll still have to manually edit it, though...

Tools/bgen/bgen/bgenlocations.py

index 341f77d19e8b3396adc252f85e02dbfff2936c1e..fbe80e165fcf4cddf8c7c03704ceef1eea7973b1 100644 (file)
@@ -3,11 +3,11 @@
 #
 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:"
+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:")
+TOOLBOXDIR=os.path.join(sys.prefix, "Mac", "Lib", "Carbon")
 
 # Creator for C files:
 CREATOR="CWIE"