[Kst] Building Python cmake error

Kevin Burr kburr at kylowave.com
Wed Jul 16 01:34:48 UTC 2014


Hi,

    Everything built fine.  When I try testdataobjects.py Python dies, but
I need to see if it is problem with my environment and try out your changes
to the scripts before I can say it is really a problem.

    I am using WinPython because it contains all the necessary math
packages and will be easy to install when I pass this on to other people.
It shouldn't be any different from installing all the pieces manually, but
you never know.

Thank-you!


On Tue, Jul 15, 2014 at 11:57 AM, Barth Netterfield <
netterfield at astro.utoronto.ca> wrote:

> Sorry for the slow reply...
>
> It is only in git.  as far as I know, it is not packaged.
>
> To get pykst working:
> Install python 2 (>~2.7)
> install numpy and scipy
> install pyside or PyQt4
>
> If you use PyQt4, then you need to edit pyKst/pykst.py to comment out the
> line
>
>   from PySide import QtCore, QtNetwork
>
> and uncomment the line
>
>   from PyQt4 import QtCore, QtNetwork
>
> (I use PySide but both should be just fine).
>
> Then you need to copy pykst.py to the python directory (in ubuntu, it is
> /usr/lib/python2.7).
>
> Then it should "just work".
>
> In pyKst/demo are some files, some of which work.  You might try
> testdataobjects.py
>
> Documentation is available in pyKst/html.  But you have to build it.  If
> you have the correct packages installed (and I don't remember what they
> are) then "make html" will create pyKst/html/_build/html/index.html.
>
> This stuff is definitely alpha (which means some stuff might work... but
> might break... and might change... and might not match the documentation.)
>  But I would really appreciate real world testing and am definitely open to
> suggestions on how to make the API better!
>
> also: I'm developing in linux, and have no idea how to get python running
> in windows, or how to install packages in OsX or windows, or how to do
> almost anything in OsX or windows.   It might be really easy.   But
> everything here refers to linux....
>
> cbn
>
>
> On Tue, Jul 15, 2014 at 11:35 AM, Kevin Burr <kburr at kylowave.com> wrote:
>
>> Hi,
>>
>>     In the CMake GUI I turned on kst_python, kst_python_build but left
>> kst_python_prefix blank, hoping cmake would use some sort of default path
>> (I did try giving it a path but it make no difference to the error)
>>
>>     When I did a configure I received this error:
>>           CMake Error at CMakeLists.txt:362 (add_subdirectory):
>>           The source directory
>>
>>           E:/Work/kst/pyKst
>>
>>           does not contain a CMakeLists.txt file.
>>
>>     The pyKst directory doesn't contain a cmake file, but the cmake/pyKst
>> directory does.
>>
>>      Is there something obvious I have done wrong?
>>
>>
>> Thank-you
>>
>> _______________________________________________
>> Kst mailing list
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20140715/822bdbe9/attachment-0001.html>


More information about the Kst mailing list