[gdal-dev] Minor addition to Python bindings..
Howard Butler
hobu.inc at gmail.com
Wed Sep 9 09:12:20 EDT 2009
On Sep 8, 2009, at 7:15 PM, Christopher Barker wrote:
> Hi all,
>
> I had a heck of a time figuring out what version of gdal I was using
> today. I eventually found:
>
> gdal.gdal.VersionInfo("RELEASE_NAME")
>
>
> 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")
>
> or
>
> __version__ = _gdal.VersionInfo("RELEASE_NAME")
>
>
> While we're at it, it might be nice for osgeo\__init__.py to have a
> __version__ defined as well.
>
> -Chris
>
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.
Thanks,
Howard
More information about the gdal-dev
mailing list