[Numpy-svn] r4450 - trunk/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Tue Nov 13 07:11:09 CST 2007


Author: cdavid
Date: 2007-11-13 07:10:59 -0600 (Tue, 13 Nov 2007)
New Revision: 4450

Modified:
   trunk/numpy/distutils/misc_util.py
Log:
Fix get_mathlib when path argument is None

Modified: trunk/numpy/distutils/misc_util.py
===================================================================
--- trunk/numpy/distutils/misc_util.py	2007-11-13 11:50:59 UTC (rev 4449)
+++ trunk/numpy/distutils/misc_util.py	2007-11-13 13:10:59 UTC (rev 4450)
@@ -115,7 +115,7 @@
     """Return the MATHLIB line from config.h
     """
     if path is None:
-        path = get_numpy_include_dirs()[0]
+        path = os.path.join(get_numpy_include_dirs()[0], 'numpy')
     config_file = os.path.join(path,'config.h')
     fid = open(config_file)
     mathlibs = []



More information about the Numpy-svn mailing list