Author: bugman Date: Mon Apr 29 11:15:16 2013 New Revision: 19605 URL: http://svn.gna.org/viewcvs/relax?rev=19605&view=rev Log: The numpy include is no longer used for the compilation of the C modules. Numpy is not used at all in the C modules, so this just adds an annoying dependency for those who need to compile the module themselves. Modified: trunk/sconstruct Modified: trunk/sconstruct URL: http://svn.gna.org/viewcvs/relax/trunk/sconstruct?rev=19605&r1=19604&r2=19605&view=diff ============================================================================== --- trunk/sconstruct (original) +++ trunk/sconstruct Mon Apr 29 11:15:16 2013 @@ -25,7 +25,6 @@ # Import statements. -from numpy import get_include from os import getcwd, path, remove, rmdir, sep, walk import platform from re import search @@ -540,9 +539,6 @@ py_bin_minpath = sys.prefix + path.sep + 'bin' py_bin_fullpath = py_bin_minpath + path.sep + 'python' + `sys.version_info[0]` + '.' + `sys.version_info[1]` - # Get the numpy include path (for numpy/arrayobject.h). - numpy_path = get_include() - # Relaxation curve fitting build environment. env = Environment() @@ -551,9 +547,9 @@ # C flags. if SYSTEM == 'Windows': - cflags = '/nologo /I\"' + py_include_minpath + '\" /I\"' + numpy_path + '\"' + cflags = '/nologo /I\"' + py_include_minpath + '\"' else: - cflags = '-I' + py_include_fullpath + ' -I' + numpy_path + cflags = '-I' + py_include_fullpath if env['PLATFORM'] == 'darwin': for arch in archs: cflags += ' -arch %s' % arch