diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-06-26 15:42:49 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-06-26 15:42:49 (GMT) |
commit | ab5320bfd99d1509b67f26a347758b5ae2431523 (patch) | |
tree | 7717e3de4c11bb5ceeb008831e21ffd3dde5e46d /Lib/distutils/sysconfig.py | |
parent | 0a2963c797ad15326edf0597c1f10dcd5eb97152 (diff) | |
download | cpython-ab5320bfd99d1509b67f26a347758b5ae2431523.zip cpython-ab5320bfd99d1509b67f26a347758b5ae2431523.tar.gz cpython-ab5320bfd99d1509b67f26a347758b5ae2431523.tar.bz2 |
Fixed various MacPython-specific issues found by attempting to use the standard core setup.py for MacPython.
Diffstat (limited to 'Lib/distutils/sysconfig.py')
-rw-r--r-- | Lib/distutils/sysconfig.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index 847b872..74394ab 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -66,7 +66,10 @@ def get_python_inc(plat_specific=0, prefix=None): elif os.name == "nt": return os.path.join(prefix, "include") elif os.name == "mac": - return os.path.join(prefix, "Include") + 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: @@ -403,6 +406,8 @@ def _init_mac(): 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 |