]> granicus.if.org Git - python/commitdiff
Remove one trace of Mac OS 9 support (#7908 follow-up)
authorÉric Araujo <merwok@netwok.org>
Sat, 6 Nov 2010 14:16:30 +0000 (14:16 +0000)
committerÉric Araujo <merwok@netwok.org>
Sat, 6 Nov 2010 14:16:30 +0000 (14:16 +0000)
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.

Lib/distutils/sysconfig.py

index 9888cd52cbd9155771948fa077d9d5ba2731d60c..33cc5a38a57308bb3050d3a0b8551fafc1cb9c5e 100644 (file)
@@ -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 = {}