[Python-checkins] cpython (3.2): Issue #14152: Restore the Include/*.h dependencies for extension builds.

stefan.krah python-checkins at python.org
Wed Feb 29 14:18:24 CET 2012


http://hg.python.org/cpython/rev/1c77eadba9dc
changeset:   75348:1c77eadba9dc
branch:      3.2
parent:      75346:0bbc2549e1ee
user:        Stefan Krah <skrah at bytereef.org>
date:        Wed Feb 29 14:10:53 2012 +0100
summary:
  Issue #14152: Restore the Include/*.h dependencies for extension builds.

files:
  setup.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -197,7 +197,7 @@
 
         # Python header files
         headers = [sysconfig.get_config_h_filename()]
-        headers += glob(os.path.join(sysconfig.get_path('platinclude'), "*.h"))
+        headers += glob(os.path.join(sysconfig.get_path('include'), "*.h"))
 
         for ext in self.extensions[:]:
             ext.sources = [ find_module_file(filename, moddirlist)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list