[Python-checkins] r88422 - in python/branches/release27-maint: Lib/sysconfig.py Misc/NEWS

barry.warsaw python-checkins at python.org
Mon Feb 14 21:04:00 CET 2011


Author: barry.warsaw
Date: Mon Feb 14 21:04:00 2011
New Revision: 88422

Log:
- Issue #11171: Fix detection of config/Makefile when --prefix !=
  --exec-prefix, which caused Python to not start.



Modified:
   python/branches/release27-maint/Lib/sysconfig.py
   python/branches/release27-maint/Misc/NEWS

Modified: python/branches/release27-maint/Lib/sysconfig.py
==============================================================================
--- python/branches/release27-maint/Lib/sysconfig.py	(original)
+++ python/branches/release27-maint/Lib/sysconfig.py	Mon Feb 14 21:04:00 2011
@@ -271,7 +271,7 @@
 def _get_makefile_filename():
     if _PYTHON_BUILD:
         return os.path.join(_PROJECT_BASE, "Makefile")
-    return os.path.join(get_path('stdlib'), "config", "Makefile")
+    return os.path.join(get_path('platstdlib'), "config", "Makefile")
 
 
 def _init_posix(vars):

Modified: python/branches/release27-maint/Misc/NEWS
==============================================================================
--- python/branches/release27-maint/Misc/NEWS	(original)
+++ python/branches/release27-maint/Misc/NEWS	Mon Feb 14 21:04:00 2011
@@ -37,6 +37,9 @@
 Library
 -------
 
+- Issue #11171: Fix detection of config/Makefile when --prefix !=
+  --exec-prefix, which caused Python to not start.
+
 - Issue #11116: any error during addition of a message to a mailbox now causes
   a rollback, instead of leaving the mailbox partially modified.
 


More information about the Python-checkins mailing list