diff options
author | David Cournapeau <cournape@gmail.com> | 2008-06-12 09:56:55 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-06-12 09:56:55 +0000 |
commit | 7148b1c73f3a28c97a1eec386587f1f99038d834 (patch) | |
tree | 89538edb9892cc515a26daf5c687e4ceb92e0079 | |
parent | fd5f2dc162067d7dc8e66d7cafc8be151fb9a0c7 (diff) | |
download | numpy-7148b1c73f3a28c97a1eec386587f1f99038d834.tar.gz |
Adapt numpy.fft to new build dir conventions.
-rw-r--r-- | numpy/fft/SConscript | 10 | ||||
-rw-r--r-- | numpy/fft/SConstruct | 12 |
2 files changed, 12 insertions, 10 deletions
diff --git a/numpy/fft/SConscript b/numpy/fft/SConscript new file mode 100644 index 000000000..741d6ab90 --- /dev/null +++ b/numpy/fft/SConscript @@ -0,0 +1,10 @@ +# Last Change: Thu Jun 12 06: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'])) + +fftpack_lite = env.DistutilsPythonExtension('fftpack_lite', + source = ['fftpack_litemodule.c', + 'fftpack.c']) diff --git a/numpy/fft/SConstruct b/numpy/fft/SConstruct index 2f7688cf5..a377d8391 100644 --- a/numpy/fft/SConstruct +++ b/numpy/fft/SConstruct @@ -1,10 +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'])) - -fftpack_lite = env.NumpyPythonExtension('fftpack_lite', - source = ['fftpack_litemodule.c', - 'fftpack.c']) +from numscons import GetInitEnvironment +GetInitEnvironment(ARGUMENTS).DistutilsSConscript('SConscript') |