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

Glynn Clements glynn at gclements.plus.com
Tue Mar 8 13:28:55 EST 2011


Martin Landa wrote:

> 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.

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.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list