Hi Pierre

Thanks for your response
My question was to do this systematically on new version

will builders build with their deployed python
i doubt about it

moreover, the python delivered with debian is not standard built as it uses UCS 4 and not UCS 2
I wonder if it is also built as shared (bur probably)

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).

yes, something like that :)

Most modern linux distributions contain a python-uno bridge compiled
with the system python:

yes but what about using the official install of the project and not a mix of both ?
in that case (for debian) it does not work

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).

yes but this is special to debian
and developpinig some extensions, i want to ba as closed as possible of the standard OOo multiplateform installation

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


Thanks for your response

I was thinking on the update of the sources
<oooSources>/python.

Thanks again

Laurent

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



--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

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

Reply via email to