[Python-checkins] CVS: python/dist/src/Lib/distutils mwerkscompiler.py,1.1,1.2
Jack Jansen
jackjansen@users.sourceforge.net
Thu, 17 May 2001 05:52:03 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv30293/Python/Lib/distutils
Modified Files:
mwerkscompiler.py
Log Message:
Made distutils understand the MacPython Carbon runtime model. Distutils will build for the runtime model you are currently using for the interpreter.
Index: mwerkscompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/mwerkscompiler.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** mwerkscompiler.py 2001/01/15 16:09:35 1.1
--- mwerkscompiler.py 2001/05/17 12:52:01 1.2
***************
*** 115,118 ****
--- 115,120 ----
if output_filename[-8:] == '.ppc.slb':
basename = output_filename[:-8]
+ elif output_filename[-11:] == '.carbon.slb':
+ basename = output_filename[:-11]
else:
basename = os.path.strip(output_filename)[0]