Mercurial > pytave
changeset 34:24e1734d26b0 task
Documentation niceties.
author | David Grundberg <individ@acc.umu.se> |
---|---|
date | Tue, 05 May 2009 21:09:41 +0200 |
parents | 1d7bab3bc745 |
children | 5073ff11e2b6 ae4554656fa1 |
files | INSTALL |
diffstat | 1 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/INSTALL Tue May 05 20:57:54 2009 +0200 +++ b/INSTALL Tue May 05 21:09:41 2009 +0200 @@ -88,7 +88,7 @@ `build/lib.something' 2. Start the Python interactive interpreter with - `PYTHONPATH=build/lib.linux-i686-2.4/ python' (with appropiate + `PYTHONPATH=build/lib.linux-i686-2.4/ python' (with appropriate changes for your system.) 3. In the interpreter you can now access Octave through Python: @@ -99,7 +99,8 @@ b = pytave.addpath(".") pytave.feval(1, "testfile", 42) - (Observe that there is a testfile.m file in the distribution.) + (Observe that there is no testfile.m file in the distribution. + You could create one for yourself.) Using BJam or Automake instead of Distutils, you load the `pytave/pytave' module and the extention instead of the whole @@ -121,6 +122,14 @@ to do this with the bash shell is to execute this command: `PYTHONPATH=.libs:package python'. + With BJam that command would be something like: + `PYTHONPATH=bin/something/something:package python'. + +Running test suite in build directory +===================================== + +Read the instructions above, and start the script test/test.py. + Installing with distutils =========================