[Kst] cmake for pykst

Peter Kümmel syntheticpp at gmx.net
Wed Nov 16 19:49:43 UTC 2011


On 16.11.2011 18:14, Barth Netterfield wrote:
> cmake for pykst is really cool!  I love the auto down-load/install for
> numpy and scipy!
>

Yes, I also like it ;)

> Some comments:

This cmake file is only a first shot after I got triggered by your
"because I don't know cmake."

> It doesn't seem to check to see if you already have numpy/scipy
> installed.  Can/should we do that check?

Would it be enough to check if some files already exists?

>
> Do people think that pykst should be installed with kst, or should it
> be a separate package?

When we provide an option (is 'kst_python' a good name?) it should be clear
that enabling it will trigger the installation of pykst.

>
> I was also a little surprised by how it worked.
>
> By analogy to what kst does, I expected
>    [pykst_build$] cmake ../cmake/pykst
> to create pykstpp_h.py and put it (and maybe the other source files)
> in a subdir (./src?)

I think the stand-alone 'cmake ../cmake/pykst' should be replaced by the option.

>
> I don't know what to expect from
>    [pykst_build$] make
>
> I expected
>    [pykst_build$] sudo make install
> to copy all of the py files to the correct python directory
>
> I think that installing the dependencies maybe should be done by
>    [pykst_build$] sudo make deps
> or something like that, rather than make.  Or is it already a cmake
> option? (download 3rd party)?
>
> But I really don't know.  Can the packagers (Steve?  Matt?) comment on this?
>


More information about the Kst mailing list