From: Éric Araujo Date: Sat, 6 Nov 2010 14:16:30 +0000 (+0000) Subject: Remove one trace of Mac OS 9 support (#7908 follow-up) X-Git-Tag: v2.7.1rc1~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db553be7fb72f286faa59b42243bb6e0aa974dc6;p=thirdparty%2FPython%2Fcpython.git Remove one trace of Mac OS 9 support (#7908 follow-up) This was overlooked in r80804. This change is not really a bug fix, but the release manager agreed to it. There is no NEWS entry, like in the original commit. --- diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index 9888cd52cbd9..33cc5a38a573 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -453,32 +453,6 @@ def _init_nt(): _config_vars = g -def _init_mac(): - """Initialize the module as appropriate for Macintosh systems""" - g = {} - # set basic install directories - g['LIBDEST'] = get_python_lib(plat_specific=0, standard_lib=1) - g['BINLIBDEST'] = get_python_lib(plat_specific=1, standard_lib=1) - - # XXX hmmm.. a normal install puts include files here - 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? - g['install_lib'] = os.path.join(EXEC_PREFIX, "Lib") - g['install_platlib'] = os.path.join(EXEC_PREFIX, "Mac", "Lib") - - # These are used by the extension module build - g['srcdir'] = ':' - global _config_vars - _config_vars = g - - def _init_os2(): """Initialize the module as appropriate for OS/2""" g = {}