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 = '<oxt_root>/external/'
import sys
if OXT_DIR_DIR not in sys.path:
sys.path.append(OXT_DIR)


If it is not possible, it sounds like a useful enhancement ;-) The
question is would be who can make it and when ...

Juergen



On 3/17/11 2:12 AM, Paolo Mantovani wrote:
> Hallo,
> 
> I'm developing a tool in python that perform some very basic image
> manipulation.
> The tool uses the Python Imaging Library (PIL)
> 
> Now I would like to integrate my tool in OOo as a pyuno component, but
> PyUno comes without the PIL library
> 
> Is there any way to deploy such a dependence inside my extension?
> 
> or as an alternative: perhaps pyuno contains a module/library providing
> some basic (raster) image manipulation functions?
> 
> thanks for any help
> Paolo M
> 
> 
> -- 
> -----------------------------------------------------------------
> To unsubscribe send email to dev-unsubscr...@api.openoffice.org
> For additional commands send email to sy...@api.openoffice.org
> with Subject: help

--
-----------------------------------------------------------------
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help

Reply via email to