summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/SConscript9
-rw-r--r--numpy/lib/SConstruct11
2 files changed, 11 insertions, 9 deletions
diff --git a/numpy/lib/SConscript b/numpy/lib/SConscript
new file mode 100644
index 000000000..e09449387
--- /dev/null
+++ b/numpy/lib/SConscript
@@ -0,0 +1,9 @@
+# Last Change: Tue May 20 05:00 PM 2008 J
+# vim:syntax=python
+from numscons import GetNumpyEnvironment, scons_get_paths
+
+env = GetNumpyEnvironment(ARGUMENTS)
+env.Append(CPPPATH = scons_get_paths(env['include_bootstrap']))
+
+_compiled_base = env.NumpyPythonExtension('_compiled_base',
+ source = ['src/_compiled_base.c'])
diff --git a/numpy/lib/SConstruct b/numpy/lib/SConstruct
index e09449387..a377d8391 100644
--- a/numpy/lib/SConstruct
+++ b/numpy/lib/SConstruct
@@ -1,9 +1,2 @@
-# Last Change: Tue May 20 05:00 PM 2008 J
-# vim:syntax=python
-from numscons import GetNumpyEnvironment, scons_get_paths
-
-env = GetNumpyEnvironment(ARGUMENTS)
-env.Append(CPPPATH = scons_get_paths(env['include_bootstrap']))
-
-_compiled_base = env.NumpyPythonExtension('_compiled_base',
- source = ['src/_compiled_base.c'])
+from numscons import GetInitEnvironment
+GetInitEnvironment(ARGUMENTS).DistutilsSConscript('SConscript')