[SciPy-dev] cmake build system for scipy
Sun Mar 8 23:45:45 CDT 2009
On Sun, Mar 8, 2009 at 23:39, Ondrej Certik <firstname.lastname@example.org> 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.
> So I guess there are good reasons for that. cmake supports both
> inplace and outplace build, but as scipy doesn't seem to work inplace
> anyway, I'll just support the "make install" way.
It works fine in-place using distutils. You are probably not
installing the __config__.py properly.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Scipy-dev