Hi,

I don't think this is a problem anymore, at least under linux the bridge
should compile with the system python (I don't remember the switch but
it is somethink like --use-system-python).
Most modern linux distributions contain a python-uno bridge compiled
with the system python:
Under debian unstable, the python version is 2.3
Under Ubuntu, it is 2.4
Under debian/Ubuntu you don't have to set the LD_LIBRARY_PATH to run the
bridge because uno.py pyuno.so are installed in the standard directory
(/usr/lib/python2.3/site-packages/) and the path to openoffice/program
is compiled within pyuno.so (I don't know for the other distributions
but I suppose it is the same).
This means that:
> python
>> import uno
just work out-of-the-box.

Of course, it also works from OOo where the python macro are run within
the system python shared lib.

Pierre

Le vendredi 07 avril 2006 à 18:56 -0400, Alexandro Colorado a écrit :
> On Fri, 07 Apr 2006 12:37:42 -0400, Cedric Bosdonnat  
> <[EMAIL PROTECTED]> wrote:
> 
> > Hi Laurent, all,
> >
> > Laurent Godard a écrit :
> >
> >> python is delivered within OOo and that's great !!!
> >> The last OOo version shows a 2.3.4 python version
> >
> > Someone on the french IRC channel asked me if it's possible to use a
> > separate python version... I could be great to propose the choice.
> >
> > Cedric
> 
> This is like the biggest FAQ about PyUNO and is also documented why this  
> is difficult. Basically Joerg has been in charge of mantaining the Python  
> distribution but it seems each upgrade is a pain because of the lack of  
> mantainers. The problems seem to be on the dependency sides and rewriting  
> the libraries for UNO Binding.
> 
> More about this here:
> http://udk.openoffice.org/python/python-bridge.html#pyuno_needs_you
> 

-- 
Pierre Martineau
mail: [EMAIL PROTECTED]
Bibus home: http://bibus-biblio.sourceforge.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to