Re: [Libreoffice] [PATCH] Make pyuno work with system python

2011-08-23 Thread Caolán McNamara
On Tue, 2011-08-23 at 12:42 +0100, Caolán McNamara wrote: > the URE_BOOTSTRAP whose purpose I forget at the moment. http://openoffice.org/bugzilla/show_bug.cgi?id=90701 C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.free

Re: [Libreoffice] [PATCH] Make pyuno work with system python

2011-08-23 Thread Caolán McNamara
On Mon, 2011-08-22 at 22:35 +0200, Lionel Elie Mamane wrote: > if uno.py is being loaded (presumably from its place in > @libdir@/@OOOINSTALLDIRNAME@/basis-link/program), it means the python > load path already contains that. If the python load path does not > contain that directory, adding it from

Re: [Libreoffice] [PATCH] Make pyuno work with system python

2011-08-23 Thread Caolán McNamara
On Mon, 2011-08-22 at 19:12 +0200, Petr Mladek wrote: > Is the hack with uno.py needed at all? > Do I test the python stuff a wrong way? Nothing to do with emailmerge, that's used from inside LibreOffice itself, this just matters for external python scripts that want to communicate/use LibreOffice

Re: [Libreoffice] [PATCH] Make pyuno work with system python

2011-08-22 Thread Lionel Elie Mamane
On Mon, Aug 22, 2011 at 07:12:55PM +0200, Petr Mladek wrote: > Caolán McNamara píše v Po 22. 08. 2011 v 11:00 +0100: >> On Mon, 2011-08-22 at 11:36 +0200, Tomáš Chvátal wrote: >>> Should apply to master, worth backporting to 3.4. >> I've hacked around this with... >> echo "import sys, os" > uno.p

Re: [Libreoffice] [PATCH] Make pyuno work with system python

2011-08-22 Thread Petr Mladek
Caolán McNamara píše v Po 22. 08. 2011 v 11:00 +0100: > On Mon, 2011-08-22 at 11:36 +0200, Tomáš Chvátal wrote: > > Should apply to master, worth backporting to 3.4. > > I've hacked around this with... > > echo "import sys, os" > uno.py > echo "sys.path.append('%{basisinstdir}/program')" >> uno.p

Re: [Libreoffice] [PATCH] Make pyuno work with system python

2011-08-22 Thread Tomáš Chvátal
Dne 22.8.2011 12:18, Michael Meeks napsal(a): On Mon, 2011-08-22 at 11:00 +0100, Caolán McNamara wrote: a) do we need the PYTHONPATH hack in soffice.sh, I seem to be able to get away without it ? On my slow motion mission to kill the shell-piece of LibreOffice startup completely, I'm no

Re: [Libreoffice] [PATCH] Make pyuno work with system python

2011-08-22 Thread Michael Meeks
On Mon, 2011-08-22 at 11:00 +0100, Caolán McNamara wrote: > a) do we need the PYTHONPATH hack in soffice.sh, I seem to be able to > get away without it ? On my slow motion mission to kill the shell-piece of LibreOffice startup completely, I'm not a huge fan of yet more going into there, u

Re: [Libreoffice] [PATCH] Make pyuno work with system python

2011-08-22 Thread Caolán McNamara
On Mon, 2011-08-22 at 11:36 +0200, Tomáš Chvátal wrote: > Should apply to master, worth backporting to 3.4. I've hacked around this with... echo "import sys, os" > uno.py echo "sys.path.append('%{basisinstdir}/program')" >> uno.py echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname: %{baseins

[Libreoffice] [PATCH] Make pyuno work with system python

2011-08-22 Thread Tomáš Chvátal
Should apply to master, worth backporting to 3.4. >From 4e5cc18d29501bd6b8c46f6586ae2c47945a0d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 22 Aug 2011 11:29:44 +0200 Subject: [PATCH] Try to make pyuno work with system python. MIME-Version: 1.0 Content-Ty