summaryrefslogtreecommitdiff
path: root/numpy/numarray/SConstruct
diff options
context:
space:
mode:
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'])