[Scipy-svn] r4350 - branches/refactor_fft/scipy/fftpack

scipy-svn at scipy.org scipy-svn at scipy.org
Thu May 15 12:10:46 EDT 2008


Author: cdavid
Date: 2008-05-15 11:10:42 -0500 (Thu, 15 May 2008)
New Revision: 4350

Modified:
   branches/refactor_fft/scipy/fftpack/setup.py
Log:
Do not build any extension at the top level of fftpack.

Modified: branches/refactor_fft/scipy/fftpack/setup.py
===================================================================
--- branches/refactor_fft/scipy/fftpack/setup.py	2008-05-15 16:09:30 UTC (rev 4349)
+++ branches/refactor_fft/scipy/fftpack/setup.py	2008-05-15 16:10:42 UTC (rev 4350)
@@ -10,26 +10,8 @@
     config.add_data_dir('tests')
     config.add_data_dir('benchmarks')
 
-    config.add_library('dfftpack',
-                       sources=[join('dfftpack','*.f')])
+    config.add_subpackage('fftpack')
 
-    sources = ['fftpack.pyf', 'src/zrfft.c']
-    for s in ["zfft.cxx", "zfftnd.cxx", "drfft.cxx"]:
-        sources.append(join('src/fftpack', s))
-
-    # Build the python extensions
-    config.add_extension('_fftpack',
-        sources=sources,
-        libraries = ["dfftpack"],
-        include_dirs = ['src'],
-    )
-
-    config.add_extension('convolve',
-        sources = ['convolve.pyf', 'src/fftpack/convolve.cxx'],
-        libraries = ["dfftpack"],
-        include_dirs = ['src'],
-    )
-
     # Build optional backends
     config.add_subpackage('backends')
 




More information about the Scipy-svn mailing list