[GRASS-dev] ctypes naming convention - grass.py

Martin Landa landa.martin at gmail.com
Tue Mar 8 18:16:06 EST 2011


Hi,

2011/3/8 Glynn Clements <glynn at gclements.plus.com>:
>> is there any special reason why libgis is named in ctypes interface as
>> grass.py [1].
>
> Compatibility with the old SWIG wrappers:
>
> http://trac.osgeo.org/grass/browser/grass/trunk/swig/python/Makefile?rev=42931
>
> Originally, the SWIG wrappers consisted of a single module named
> python_grass7. When it was split into multiple modules, the libgis
> wrapper was named "grass", although I don't think that there was any
> particular reason behind that.

Thanks for explanation.

> http://trac.osgeo.org/grass/changeset/35275/grass/trunk/swig/python/Makefile
>
>> I would vote for gis.py to keep consistency in names.
>
> If we're going to do it, it should be done sooner rather than later.

I would vote for that.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list