On 2010-07-16 14:32-0400 Hazen Babcock wrote:

> Alan W. Irwin wrote:
>> 
>> Set that PYTHON_HAVE_PYBUFFER macro like the usual SWIG_PYTHON macro
>> is set in bindings/python/CMakeLists.txt with the appropriate
>> CMAKE_SWIG_FLAGS list element. Of course, in that CMake logic you will
>> ultimately want to avoid setting the PYTHON_HAVE_PYBUFFER macro when
>> the python version is too old to support this, but that is a nuance
>> you can deal with later if you don't have the python version logic set
>> up yet.
>
> Thank you Alan, I think that I have figured out how to do this w/ the 
> appropriate version checks. It seems to work on my system, but my version of 
> swig is not of recent enough vintage to support plsmem() so I did not test 
> the with plsmem() case.

Thanks, Hazen, for your work on this, and thanks Simon for the
original patch.

Simon (or Hazen) could you explain why there is a minimum swig version
requirement?  Is the issue that this python capability only was
available after a certain epoch, corresponding swig adjustments had to
be made subsequent to that epoch, and those adjustments landed in the
release after 1.3.38 so our build system must test for swig version
greater than 1.3.38?

Alan
__________________________
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 libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to