On 2004-12-16 07:38-0500 Koen van der Drift wrote:
> With which version of python is plplot (the 5.3.1 release) compatible?
> Recently python 2.4 was added to the fink tree, and I would like to know if I
> need to add any version limitations to the plplot package (in other words,
> force it to use a specific python version).
Generally, our python interface to PLplot and our python/numeric example
scripts are version independent starting with python-1.5 and Numeric 15.3
and now (at least on my machine) python 2.3.4 and Numeric version 23.6. You
do have to be careful to have a compatible Numeric version with your python.
Generally, as in the above examples, the Numeric version is roughly ten
times the corresponding python one. The early versions of Numeric had a few
bugs so our scripts have a few places in them where they try to do the
calculation using modern numeric, but if that fails they fall back to a method
that works with old numeric.
Numeric is officially deprecated and now unsupported, and that development
team is urging everybody to switch to Numarray instead (see
http://www.pfdubois.com/numpy/) which will require modifying our scripts.
But the problem is that Numeric just continues to work well, and does have
the advantage of a working version even back to python-1.5. So I think
we will make the transition to Numarray in the middle term, but not the
Anyhow, I think it is worth your while to give the combination of
python-2.4 and the latest Numeric (still 23.6) a try. That combination might
just work without any problems at all, but of course be prepared to fall back
to a prior version if you run into any difficulty.
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project