[api-dev] Re: using external libraries with Pyuno components

2011-03-17 Thread Paolo Mantovani
Hi Laurent, Juergen, thanks for prompt reply, Il 17/03/2011 14:39, Laurent Godard ha scritto: Hi paolo long time !!! i put my imported .py file inside the extension in a pythonpath directory the main .py files are at extension root i found this information long time ago and think it is a re

[api-dev] Re: using external libraries with Pyuno components

2011-03-17 Thread Laurent Godard
Hi paolo long time !!! i put my imported .py file inside the extension in a pythonpath directory the main .py files are at extension root i found this information long time ago and think it is a reserved directory name no declaration in manifest.xml HTH laurent -- ---

[api-dev] Re: using external libraries with Pyuno components

2011-03-17 Thread Jürgen Schmidt
Hi Paolo, i don't know, i am still no Python expert :-( But maybe it is possible to expand the sys.path variable with a directory in the oxt package. Something like OXT_DIR = '/external/' import sys if OXT_DIR_DIR not in sys.path: sys.path.append(OXT_DIR) If it is not possible, it sounds like