[yoda-svn] r441 - trunk/pyext

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed May 2 11:17:41 BST 2012


Author: dgrell
Date: Wed May  2 11:17:40 2012
New Revision: 441

Log:
Fix pyext when boost location is chosen at configure time

Modified:
   trunk/pyext/setup.py.in

Modified: trunk/pyext/setup.py.in
==============================================================================
--- trunk/pyext/setup.py.in	Wed May  2 11:17:12 2012	(r440)
+++ trunk/pyext/setup.py.in	Wed May  2 11:17:40 2012	(r441)
@@ -11,13 +11,14 @@
 ## Extension definition
 import os
 incdir = os.path.abspath('@top_srcdir@/include')
+boostdir = os.path.abspath('@BOOSTINCPATH@')
 srcdir = os.path.abspath('@top_srcdir@/src')
 
 ext = Extension(
     "yoda",
     ["@srcdir@/yoda/yoda.cpp"],
     language='c++',
-    include_dirs=[incdir],
+    include_dirs=[incdir,boostdir],
     library_dirs=[srcdir, os.path.join(srcdir,'.libs')],
     libraries=['stdc++','YODA']
 )


More information about the yoda-svn mailing list