[SciPy-dev] building fftpack separately

Pearu Peterson pearu at scipy.org
Fri Dec 16 03:22:32 CST 2005



On Fri, 16 Dec 2005, Arnd Baecker wrote:

> I have a question on how to build fftpack separately:
>
> - fftpack/NOTES.txt says that one should do::
>
>     python setup_fftpack.py install
>
>  but that file does not exist

Fixed.

> - Doing::
>
>    python setup.py install --prefix=....
>
>  works and installs an fftpack directly into site-packages
>  (and not under scipy).

That is expected.

> - However, there is no test subdirectory.
>
> Running the tests only works partially, as it only
> takes the default test-level:
>
> fftpack/NOTES.txt says that for testing you should run::
>
>  python tests/test_basic.py 10
>  python tests/test_pseudo_diffs.py 10
>  python tests/test_helper.py 10
>
> They do run (after ommitting the `tests/`), but
> none of the fft benchmarks.

Use

   python tests/test_basic.py -l 10
   python tests/test_pseudo_diffs.py -l 10
   python tests/test_helper.py -l 10

instead.

> further fftpack/NOTES.txt says
>
>  >>> import fftpack
>  >>> fftpack.test(10)
>
> but this does not work::
>
>  In [1]: import fftpack
>  In [2]: fftpack.test(10)
>  AttributeError: 'module' object has no attribute 'test'

Fixed.

You'll need to update scipy_core as well to have these fixes effective.

Thanks for feedback,
Pearu




More information about the Scipy-dev mailing list