[GRASS-dev] wx.metadata installation issues & pygrass set_path() question
Martin Landa
landa.martin at gmail.com
Sun Oct 4 05:30:48 PDT 2015
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
More information about the grass-dev
mailing list