diff options
author | David Cournapeau <cournape@gmail.com> | 2008-06-12 09:01:13 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-06-12 09:01:13 +0000 |
commit | a7eb6e985662108fcf6cd27b0808e26d65a33e4f (patch) | |
tree | bda8893f01b403f4f6ab4dbb2bf34a5414c6e4ae /numpy | |
parent | 9ed41fefbe4721c362fd46fb078a80730705a06d (diff) | |
download | numpy-a7eb6e985662108fcf6cd27b0808e26d65a33e4f.tar.gz |
Adapt numpy.lib to new scons build_dir behavior.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/lib/SConscript | 9 | ||||
-rw-r--r-- | numpy/lib/SConstruct | 11 |
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') |