diff options
author | Greg Ward <gward@python.net> | 2000-04-14 00:39:31 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-04-14 00:39:31 (GMT) |
commit | b6f5adaa12ce47ba514a14de74c5f2bf4c3479e6 (patch) | |
tree | 7e8a650643c5289cedf88d08520830c99a10bff3 /Lib | |
parent | 6d27c1eb328bc9ea27a90d136b1c772271c4bec0 (diff) | |
download | cpython-b6f5adaa12ce47ba514a14de74c5f2bf4c3479e6.zip cpython-b6f5adaa12ce47ba514a14de74c5f2bf4c3479e6.tar.gz cpython-b6f5adaa12ce47ba514a14de74c5f2bf4c3479e6.tar.bz2 |
Don't bother reading config.h on NT or Mac OS. (It's not really needed
on Unix either, so should probably disappear entirely.)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/sysconfig.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index 3f345fb..f7c2e78 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -222,8 +222,6 @@ def _init_posix(): def _init_nt(): """Initialize the module as appropriate for NT""" g = globals() - # load config.h, though I don't know how useful this is - parse_config_h(open(get_config_h_filename()), 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) @@ -238,10 +236,6 @@ def _init_nt(): def _init_mac(): """Initialize the module as appropriate for Macintosh systems""" g = globals() - # load the installed config.h (what if not installed? - still need to - # be able to install packages which don't require compilation) - parse_config_h(open( - os.path.join(EXEC_PREFIX, "Mac", "Include", "config.h")), 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) |