[Kst] scripting

Peter Kümmel syntheticpp at gmx.net
Wed Jul 11 18:39:05 UTC 2012


On 11.07.2012 16:18, Barth Netterfield wrote:
> Regarding Ubuntu packaging: 11.10 and previous do not have the correct version of numpy (ie, >= 1.6): so, we would need to
> i) find or provide such a package in the ppa
> ii) not support <=11.10, except to tell users to download and install numpy 1.6 themselves.
> What do you think?

ii) is still available by kst_pyhthon_build, so it is the simplest solution.

>
> Regarding the pyc files: wouldn't it be best to ship the pyc files in case the user doesn't have g++?  Does anyone know
> how to do this from cmake?
>
> cbn
>
>
> On Tue, Jul 10, 2012 at 12:27 PM, <joshua at nettek.ca <mailto:joshua at nettek.ca>> wrote:
>
>     Kst,
>
>     The code for transferring data between kst and Python is compiled from Python on first use. In my opinion, this is
>     acceptable on Linux and Mac (where if you are creating a Python script you have a good chance of also having g++)
>     but not Windows.
>
>
>     Sent from my BlackBerry® PlayBook™
>     www.blackberry.com <http://www.blackberry.com>
>
>     ------------------------------------------------------------------------------------------------------------------------
>     *From:* "Steve Benton" <sbenton at physics.utoronto.ca <mailto:sbenton at physics.utoronto.ca>>
>     *To:* "Barth Netterfield" <netterfield at astro.utoronto.ca <mailto:netterfield at astro.utoronto.ca>>
>     *CC:* "kst" <kst at kde.org <mailto:kst at kde.org>>
>     *Sent:* July 10, 2012 5:55 AM
>     *Subject:* Re: [Kst] scripting
>
>     On 12-07-09 08:28 PM, Barth Netterfield wrote:
>     >  Steve - do you have any thoughts on what ubuntu/debian packaging would
>     >  need here for all this?
>     >
>
>     My packaging for python getdata bindings was done incorrectly, and
>     somebody else contributed a better approach. If there's C extension
>     code, you need to compile and install for all compatible python versions
>     on the target system. I don't know if cmake does any of this
>     automatically. I think plain .py files are easier to deal with.
>
>     -Steve
>     _______________________________________________
>     Kst mailing list
>     Kst at kde.org  <mailto:Kst at kde.org>
>     https://mail.kde.org/mailman/listinfo/kst
>
>
>     _______________________________________________
>     Kst mailing list
>     Kst at kde.org <mailto:Kst at kde.org>
>     https://mail.kde.org/mailman/listinfo/kst
>
>
>
>
> --
> C. Barth Netterfield
> University of Toronto
> 416-845-0946
>
>
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst


More information about the Kst mailing list