[gdal-dev] Minor addition to Python bindings..

Christopher Barker Chris.Barker at noaa.gov
Thu Sep 10 18:57:00 EDT 2009


Howard Butler wrote:
> On Sep 8, 2009, at 7:15 PM, Christopher Barker wrote:
>> It's a pretty well supported convention now for Python modules to have 
>> a __version__ attribute that returns something meaningful. It would be 
>> nice if gdal.py had a line:
>>
>> __version__ = VersionInfo("RELEASE_NAME")

> Chris,
> 
> Please provide a patch on a ticket in Trac for this with the 
> PythonBindings component, and I will try to get to it for the 1.7 release.

Done:

http://trac.osgeo.org/gdal/ticket/3137

(not well tested -- I'm having trouble getting the whole build/install 
thing working right on my system, but swig does the right thing with the 
change.)

Let me know if you have any questions.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the gdal-dev mailing list