[Python-checkins]
python/dist/src/Lib/plat-mac bgenlocations.py, 1.5, 1.6
jackjansen at users.sourceforge.net
jackjansen at users.sourceforge.net
Wed Nov 19 11:12:11 EST 2003
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv27736/Lib/plat-mac
Modified Files:
bgenlocations.py
Log Message:
Get rid of MacOS9 support. Paths are still hard-coded, that'll be fixed
later.
Index: bgenlocations.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/bgenlocations.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** bgenlocations.py 12 Apr 2003 22:27:05 -0000 1.5
--- bgenlocations.py 19 Nov 2003 16:12:08 -0000 1.6
***************
*** 12,22 ****
# Where bgen is. For unix-Python bgen isn't installed, so you have to refer to
# the source tree here.
! if sys.platform == 'mac':
! # For MacPython we know where it is
! def _pardir(p): return os.path.split(p)[0]
! BGENDIR=os.path.join(sys.prefix, "Tools", "bgen", "bgen")
! else:
! # for unix-Python we don't know, please set it yourself.
! BGENDIR="/Users/jack/src/python/Tools/bgen/bgen"
#
--- 12,16 ----
# Where bgen is. For unix-Python bgen isn't installed, so you have to refer to
# the source tree here.
! BGENDIR="/Users/jack/src/python/Tools/bgen/bgen"
#
***************
*** 26,34 ****
# end of lines, so don't worry about that.
#
! if sys.platform == 'mac':
! _MWERKSDIR="Moes:Applications (Mac OS 9):Metrowerks CodeWarrior 7.0:Metrowerks CodeWarrior"
! else:
! _MWERKSDIR="/Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/"
! INCLUDEDIR=os.path.join(_MWERKSDIR, "MacOS Support", "Universal", "Interfaces", "CIncludes")
#
--- 20,24 ----
# end of lines, so don't worry about that.
#
! INCLUDEDIR="/Users/jack/src/Universal/Interfaces/CIncludes"
#
***************
*** 37,44 ****
# your source directory, not your installed directory.
#
! if sys.platform == 'mac':
! TOOLBOXDIR=os.path.join(sys.prefix, "Lib", "plat-mac", "Carbon")
! else:
! TOOLBOXDIR="/Users/jack/src/python/Lib/plat-mac/Carbon"
# Creator for C files:
--- 27,31 ----
# your source directory, not your installed directory.
#
! TOOLBOXDIR="/Users/jack/src/python/Lib/plat-mac/Carbon"
# Creator for C files:
More information about the Python-checkins
mailing list