openoffice-pyuno and external python programs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

I sent the email below to fedora-devel some time ago; there was no 
response. Let's try again with some additional info. :-) 

I'm the fedora maintainer of pybliographer. The development version of 
pyblio (which I would like to push to the devel repo soon) has the 
capability to interact with openoffice through the pyuno component. 
(Bibus can do the same.) It can add citations and generate reference list 
in the document for example. 
The openoffice.org-pyuno package installs uno.py and other files 
under /usr/lib/openoffice.org/program/, so with the default installations 
and settings importing uno.py from external python programs gives an 
import error. Program specific patches could be used probably to add this 
'strange' path to pythonpath, but wouldn't be better to make available 
these moduls for python at the openoffice level? See below what debian 
does. 
Any thoughts, ideas?

Zoltan

---------- Forwarded message ----------
Date: Wed, 12 Sep 2007 23:18:19 +0200 (CEST)
From: Zoltan Kota <z.kota@xxxxxxx>
Reply-To: Development discussions related to Fedora
    <fedora-devel-list@xxxxxxxxxx>
To: Fedora devel <fedora-devel-list@xxxxxxxxxx>
Subject: openoffice-pyuno and external python programs

Hi,

Files from openoffice.org-pyuno are installed under
/usr/lib/openoffice.org2.0. So, 'import uno' from python gives an import 
error. How should we support external programs to use this module? Should 
we patch the program to import uno.py from this directory 
somehow? Or would be better to change the installation path in the 
openoffice.org-pyuno package? 
Debian for instance installs 
/usr/share/pycentral/python-uno/site-packages/uno.py
/usr/share/pycentral/python-uno/site-packages/unohelper.py
/usr/lib/python2.4/site-packages/pyuno.so


Zoltan

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux