Git commit 9aab88322a41d17f7aaf0c55fbd21a70b376603d by Barth Netterfield. Committed on 30/11/2014 at 20:05. Pushed by netterfield into branch 'master'. give pykst a setup.py for installation. To install pykst, use: sudo python2.7 setup.py install or the equivalent for your system. M +3 -6 pyKst/INSTALL M +3 -0 pyKst/README A +5 -0 pyKst/setup.py http://commits.kde.org/kst-plot/9aab88322a41d17f7aaf0c55fbd21a70b376603d diff --git a/pyKst/INSTALL b/pyKst/INSTALL index 9100f55..33e8f03 100644 --- a/pyKst/INSTALL +++ b/pyKst/INSTALL @@ -7,24 +7,21 @@ i) install requirements -pyside or PyQT4 = ii) copy pykstpp.py to your system's python script directory -eg (ubuntu), = - [host]$ sudo cp pykstpp.py /usr/lib/python2.7 + [host]$ sudo python2.7 setup.py install = iii) To test it, go into the demo directory, and try one. [host demo]$ python2 ./dataobjects.py = -I have no idea if this works on anything other than linux. - =3D=3D=3D=3D=3D=3D Example for ubuntu: = -0) make sure you have the absolute latest kst2 from steve. See kst.kde.org +0) make sure you have the absolute latest kst2 from the kst-plot ppa. See= kst.kde.org = 1) install dependencies for numpy and scipy sudo apt-get install python-numpy python-scipy python python-dev python-qt= 4 libatlas-base-dev gcc gfortran g++ = 2) copy files - [host]$ sudo cp pykstpp.py /usr/lib/python2.7 + [host]$ sudo python2.7 setup.py install = 6) test it [host]$ cd demo diff --git a/pyKst/README b/pyKst/README index ea4dea8..523b25f 100644 --- a/pyKst/README +++ b/pyKst/README @@ -1,3 +1,6 @@ +NOTE: This Readme is no longer accurate and needs to be updated. +Almost nothing in it is fully relevant any more. + PyKst is, at the time of writing, not stable enough for serious use. For the time being, do not write scripts with it except to test and to sen= d feedback. = diff --git a/pyKst/setup.py b/pyKst/setup.py new file mode 100644 index 0000000..0cadf7e --- /dev/null +++ b/pyKst/setup.py @@ -0,0 +1,5 @@ +from distutils.core import setup +setup(name=3D'pykst', + version=3D'0.1', + py_modules=3D['pykst'], + )