Re: [libreoffice-users] UNO bridge

2017-04-04 Thread Stephan Bergmann

On 04/04/2017 11:55 AM, Catonano wrote:

2017-04-04 11:16 GMT+02:00 Stephan Bergmann :

What operating system are you using, and where did you get LO from? (For
example, some Linux distros don't bundle Python with their LO packages, but
instead see to make LO's PyUNO work with the distro's Python.)


I'm using GuixSD.

Libreoffice is the one provided by GuixSD.

I' m trying to package unoconv (and maybe other UNO based python tools) on
GuixSD, so in this case I' m somewhat of a distributor.

I was hoping that by being able to import the UNO based libraries I would
have envisioned a path to make this work.

Maybe I should move this to the dev mailing list ?


Yes, this is something for the dev list.

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] UNO bridge

2017-04-04 Thread Catonano
2017-04-04 11:16 GMT+02:00 Stephan Bergmann :

>
> What operating system are you using, and where did you get LO from? (For
> example, some Linux distros don't bundle Python with their LO packages, but
> instead see to make LO's PyUNO work with the distro's Python.)
>

I'm using GuixSD.

Libreoffice is the one provided by GuixSD.

I' m trying to package unoconv (and maybe other UNO based python tools) on
GuixSD, so in this case I' m somewhat of a distributor.

I was hoping that by being able to import the UNO based libraries I would
have envisioned a path to make this work.

Maybe I should move this to the dev mailing list ?

Anyway, the general policy of GuixSD is to unbundle, when possible. So I
suppose their Libreoffice doesn' t bundle a python interpreter.

Particulary, I know they use the "--disable-fetch-external" configure flag

I' d be happy if I could make this work with the system provided python.

Thanks in advance

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] UNO bridge

2017-04-04 Thread Stephan Bergmann

On 04/04/2017 08:25 AM, Catonano wrote:

with Libreoffice 5.1.6.2, I' d like to pilot Libreoffice with Python.

Around the internet many pages suggest to use the Python interpreter
supplied by the Libreoffice suite and use that interpeter prompt to load
the UNO based libraries.

Is this suggestion still valid ?

In the path

...lib/libreoffice/program

I see no python interpeter to call


What operating system are you using, and where did you get LO from? 
(For example, some Linux distros don't bundle Python with their LO 
packages, but instead see to make LO's PyUNO work with the distro's Python.)


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted