If you gonna to place libraries to shoebox/lib/, I have a patch for that
Change shoebot/__init__.py line 254 to
# from Nodebox, a function to import Nodebox libraries
def ximport(self, libName):
try:
lib = __import__('shoebot.lib.'+libName, globals(), locals(),
[libName], -1)
except:
lib = __import__(libName)
self._ns[libName] = lib
lib._ctx = self
return lib
also don't forget to create a blank __init__.py under shoebot/lib/
On Thu, Dec 18, 2008 at 10:24 PM, Paulo Silva <[email protected]> wrote:
> I'm having a doubt on where must be placed the lib (or libs) folder
> when we have Shoebot installed (by 'sudo setup.py install', or from
> .deb or tarballs) - must they be placed at '/usr/share/shoebot/' ?
>
> Thanks! =)
> _______________________________________________
> Shoebot-devel mailing list
> [email protected]
> http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
>
_______________________________________________
Shoebot-devel mailing list
[email protected]
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net