diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:09:31 +0000 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:09:31 +0000 |
commit | 9545a23c7ffb35417d451d24cc3b0339627965a7 (patch) | |
tree | 5e22fd30c1c6936970b4d87ca3e91f8428c74983 /Lib/distutils/sysconfig.py | |
parent | a8157183b89c08cf47c969185d40973ec21a81c5 (diff) | |
download | cpython-git-9545a23c7ffb35417d451d24cc3b0339627965a7.tar.gz |
In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).
Fixes issue #7908 for the trunk.
Diffstat (limited to 'Lib/distutils/sysconfig.py')
-rw-r--r-- | Lib/distutils/sysconfig.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index bb53315bca..4d16b2674c 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -88,11 +88,6 @@ def get_python_inc(plat_specific=0, prefix=None): return os.path.join(prefix, "include", "python" + get_python_version()) elif os.name == "nt": return os.path.join(prefix, "include") - elif os.name == "mac": - if plat_specific: - return os.path.join(prefix, "Mac", "Include") - else: - return os.path.join(prefix, "Include") elif os.name == "os2": return os.path.join(prefix, "Include") else: @@ -135,18 +130,6 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None): else: return os.path.join(prefix, "Lib", "site-packages") - elif os.name == "mac": - if plat_specific: - if standard_lib: - return os.path.join(prefix, "Lib", "lib-dynload") - else: - return os.path.join(prefix, "Lib", "site-packages") - else: - if standard_lib: - return os.path.join(prefix, "Lib") - else: - return os.path.join(prefix, "Lib", "site-packages") - elif os.name == "os2": if standard_lib: return os.path.join(prefix, "Lib") |