Hi all,

when trying to fix all compilation and installation issues I replaced
get_lib_path() by set_path() [1]. These functions are not used in
GRASS core codebase. Their usage is not clear to me.

Fn get_lib_path() says "Return the path of the libname contained in
the module". So I would expect that it checkd that `modname` is a
directory and contains `libname` Python module. But 'libname' is just
used to check if it's a directory [2].

Only one function calls get_lib_path() - set_path() [3].

Can anybody here to clarify their usage?

Thanks, Martin

[1] https://trac.osgeo.org/grass/changeset/66408
[2] 
https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/pygrass/utils.py#L303
[3] 
https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/pygrass/utils.py#L319

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to