[Python-checkins] r86264 - python/branches/release27-maint/Lib/distutils/sysconfig.py
eric.araujo
python-checkins at python.org
Sat Nov 6 15:16:31 CET 2010
Author: eric.araujo
Date: Sat Nov 6 15:16:30 2010
New Revision: 86264
Log:
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.
Modified:
python/branches/release27-maint/Lib/distutils/sysconfig.py
Modified: python/branches/release27-maint/Lib/distutils/sysconfig.py
==============================================================================
--- python/branches/release27-maint/Lib/distutils/sysconfig.py (original)
+++ python/branches/release27-maint/Lib/distutils/sysconfig.py Sat Nov 6 15:16:30 2010
@@ -453,32 +453,6 @@
_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 = {}
More information about the Python-checkins
mailing list