Hi,

2009/6/19 Glynn Clements <[email protected]>:

[...]

>> yes, how to dynamically add "lib" to __all__ list when swig/python is
>> build successfully?
>
> Code it in grass/__init__.py, e.g. (untested):
>
> import os
> __all__ = ["script"]
> if 
> os.path.exists(os.path.join(os.path.dirname(__file__),"lib","__init__.py")):
>    __all__.append("lib")

Done in r37993.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to