[SciPy-dev] cmake build system for scipy
Sun Mar 8 23:39:42 CDT 2009
Ondrej Certik wrote:
> I started to write cmake build system for scipy, so that it
> a) can compile in parallel
> b) compiles on all systems out of the box (currently it fails in
> Debian without patching)
> It's in my cmake branch:
> Currently it only compiles part of the sparsetools, but it works with
> f2py and the templates (.src -> .f), so I am posting it here in case
> anyone would like to take it and finish it.
> Unfortunately I am very busy, so I don't know when I have time to work
> on it more.
> Is there some reason why the scipy package cannot be build inplace?
> There are some checks for that:
> ImportError: Error importing scipy: you cannot import scipy while
> being in scipy source directory; please exit the scipy source
> tree first, and relaunch your python intepreter.
The message is misleading in your case - scipy can be imported in-place,
but you need more than just installing the .so. You need to recreate the
scipy logic which enables the in-place import (I don't remember the
details, but it boils down to installing a few .py files - the scipy
__init__.py should be clear).
More information about the Scipy-dev