summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/sysconfig.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-07-26 13:41:06 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-07-26 13:41:06 (GMT)
commit4f1cd8bdcbd20bb0acdbe9e240f28c09dd38370f (patch)
tree06e19685ad77879ee4df995bf669235489786995 /Lib/distutils/sysconfig.py
parent4eb5940a4d350d250ab4af08a8b5b6e553e1814d (diff)
downloadcpython-4f1cd8bdcbd20bb0acdbe9e240f28c09dd38370f.zip
cpython-4f1cd8bdcbd20bb0acdbe9e240f28c09dd38370f.tar.gz
cpython-4f1cd8bdcbd20bb0acdbe9e240f28c09dd38370f.tar.bz2
Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Diffstat (limited to 'Lib/distutils/sysconfig.py')
-rw-r--r--Lib/distutils/sysconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index 16e8023..529d0e6 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -43,7 +43,7 @@ def get_python_inc(plat_specific=0, prefix=None):
If 'plat_specific' is false (the default), this is the path to the
non-platform-specific header files, i.e. Python.h and so on;
otherwise, this is the path to platform-specific header files
- (namely config.h).
+ (namely pyconfig.h).
If 'prefix' is supplied, use it instead of sys.prefix or
sys.exec_prefix -- i.e., ignore 'plat_specific'.
@@ -137,10 +137,10 @@ def customize_compiler(compiler):
def get_config_h_filename():
- """Return full pathname of installed config.h file."""
+ """Return full pathname of installed pyconfig.h file."""
if python_build: inc_dir = '.'
else: inc_dir = get_python_inc(plat_specific=1)
- return os.path.join(inc_dir, "config.h")
+ return os.path.join(inc_dir, "pyconfig.h")
def get_makefile_filename():