diff options
author | David Cournapeau <cournape@gmail.com> | 2008-01-07 02:46:49 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-01-07 02:46:49 +0000 |
commit | f7f3de7be2448d57111bd9c47d46253f6a0e5d3d (patch) | |
tree | fc95c6f511367b0c639cbaac60b37b50443fcb3c /numpy/numarray/SConstruct | |
parent | 2bcb222f37f7c4912ee6e5f99c75e25beceb7de7 (diff) | |
download | numpy-f7f3de7be2448d57111bd9c47d46253f6a0e5d3d.tar.gz |
numarray now builds with scons
Diffstat (limited to 'numpy/numarray/SConstruct')
-rw-r--r-- | numpy/numarray/SConstruct | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/numpy/numarray/SConstruct b/numpy/numarray/SConstruct new file mode 100644 index 000000000..aa780be87 --- /dev/null +++ b/numpy/numarray/SConstruct @@ -0,0 +1,12 @@ +# Last Change: Fri Oct 19 09:00 AM 2007 J +# vim:syntax=python +import __builtin__ +__builtin__.__NUMPY_SETUP__ = True +from numpy.distutils.misc_util import get_numpy_include_dirs +from numscons import GetNumpyEnvironment, scons_get_paths + +env = GetNumpyEnvironment(ARGUMENTS) +env.Append(CPPPATH = scons_get_paths(env['include_bootstrap'])) +env.Append(CPPPATH = env['src_dir']) + +_capi = env.NumpyPythonExtension('_capi', source = ['_capi.c']) |