summaryrefslogtreecommitdiff
path: root/numpy/numarray/SConstruct
diff options
context:
space:
mode:
authorJarrod Millman <millman@berkeley.edu>2008-02-08 10:12:16 +0000
committerJarrod Millman <millman@berkeley.edu>2008-02-08 10:12:16 +0000
commit0b7800b455b3aaf50cb83a224f283e72f1dea951 (patch)
treeaab6281c88fd6bed7c74df03562c197d934edd83 /numpy/numarray/SConstruct
parent964727a2c475a7e48e262efc52b51345f51f2522 (diff)
parentfb3f711f1a1eafb2895a84a80f88814d7fb9a465 (diff)
downloadnumpy-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/SConstruct12
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'])