Kaydet (Commit) 6a1b53c1 authored tarafından Fred Drake's avatar Fred Drake

get_config_h_filename(): Fix to work with current Python

	installations; it was picking up a stale config.h from an
	overwritten installation.
üst c66e8604
...@@ -16,8 +16,8 @@ import sys ...@@ -16,8 +16,8 @@ import sys
def get_config_h_filename(): def get_config_h_filename():
"""Return full pathname of installed config.h file.""" """Return full pathname of installed config.h file."""
return os.path.join(sys.exec_prefix, "lib", "python" + sys.version[:3], return os.path.join(sys.exec_prefix, "include", "python" + sys.version[:3],
"config", "config.h") "config.h")
def get_makefile_filename(): def get_makefile_filename():
"""Return full pathname of installed Makefile from the Python build.""" """Return full pathname of installed Makefile from the Python build."""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment