[Python-checkins] CVS: python/dist/src/Lib/distutils sysconfig.py,1.34,1.35
Jack Jansen
jackjansen@users.sourceforge.net
2001年5月17日 05:51:59 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv30275/Python/Lib/distutils
Modified Files:
sysconfig.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: sysconfig.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/sysconfig.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** sysconfig.py 2001年02月28日 19:40:27 1.34
--- sysconfig.py 2001年05月17日 12:51:57 1.35
***************
*** 340,344 ****
--- 340,348 ----
g['INCLUDEPY'] = get_python_inc(plat_specific=0)
+ import MacOS
+ if not hasattr(MacOS, 'runtimemodel'):
g['SO'] = '.ppc.slb'
+ else:
+ g['SO'] = '.%s.slb' % MacOS.runtimemodel
# XXX are these used anywhere?