[cig-commits] r15352 - cs/buildbot/trunk/buildbot/scripts

leif at geodynamics.org leif at geodynamics.org
Fri Jun 19 11:38:46 PDT 2009


Author: leif
Date: 2009-06-19 11:38:45 -0700 (Fri, 19 Jun 2009)
New Revision: 15352

Modified:
   cs/buildbot/trunk/buildbot/scripts/packager.py
Log:
Package Python's include directory with binaries (PyLith now uses
distutils, which opens 'pyconfig.h').


Modified: cs/buildbot/trunk/buildbot/scripts/packager.py
===================================================================
--- cs/buildbot/trunk/buildbot/scripts/packager.py	2009-06-19 18:15:34 UTC (rev 15351)
+++ cs/buildbot/trunk/buildbot/scripts/packager.py	2009-06-19 18:38:45 UTC (rev 15352)
@@ -89,8 +89,8 @@
         if config.packaging.python:
             # Unfortunately, this will include all site-packages... oh well.
             # Note that Windows has its own logic for including Python.
-            d = "lib/" + python
-            self.directories.append(d)
+            self.directories.append("lib/" + python)
+            self.directories.append("include/" + python) # for distutils
             l = libglob % "python"
             libs = glob(l)
             self.libraries.extend(libs)



More information about the CIG-COMMITS mailing list