diff options
author | Jarrod Millman <millman@berkeley.edu> | 2008-02-08 10:12:16 +0000 |
---|---|---|
committer | Jarrod Millman <millman@berkeley.edu> | 2008-02-08 10:12:16 +0000 |
commit | 0b7800b455b3aaf50cb83a224f283e72f1dea951 (patch) | |
tree | aab6281c88fd6bed7c74df03562c197d934edd83 /numpy/numarray/SConstruct | |
parent | 964727a2c475a7e48e262efc52b51345f51f2522 (diff) | |
parent | fb3f711f1a1eafb2895a84a80f88814d7fb9a465 (diff) | |
download | numpy-0b7800b455b3aaf50cb83a224f283e72f1dea951.tar.gz |
merging David Cournapeau's build_with_scons branch, which adds scons support to numpy.distutils and modifies the configuration of numpy/core
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']) |