zc.buildout recipe that downloads and installs OpenOffice.org
Project description
This recipe download openoffice in your buildout, it can also (optional) create egg with pyuno and change the default python used by openoffice.
More info about Python UNO: http://udk.openoffice.org/python/python-bridge.html
We are using this to generate OpenOffice documents from zope/python
Buildout configuration:
Add this section to your buildout configuration:
[buildout] parts = ... your other parts ... openoffice ... [openoffice] recipe = z3c.recipe.openofficeThis will just download and install openoffice in your buildout
To create the pyuno egg add the fallowing config:
[openoffice] recipe = z3c.recipe.openoffice install-pyuno-egg = yesTo also change openoffice python, add the following config:
[openoffice] recipe = z3c.recipe.openoffice install-pyuno-egg = yes hack-openoffice-python = yesBy default it will fetch version OpenOffice 2.3 but you might want to install from another location or another version like this:
[openoffice] recipe = z3c.recipe.openoffice install-pyuno-egg = yes hack-openoffice-python = yes version = 2.3.1 download-url = ftp://ftp.openoffice.skynet.be/pub/ftp.openoffice.org/stable/2.3.1/OOo_2.3.1_LinuxIntel_install_en-US.tar.gz
Notes:
For this to work an OpenOffice process need to be running in background. As this require a X server and you don’t want to install a real X server in a production environment you might want to use Xvfb. Here are the lines we use to start openoffice:
$ cd myBuildout $ Xvfb :3 -ac -screen sn 800x600x16 & $ ./parts/openoffice/program/soffice "-accept=socket,host=localhost,port=2002;urp;" -display :3 & $ ./bin/instance startThis recipe only works with linux at the moment
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for z3c.recipe.openoffice-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 066c6ad9d858eeb80b877a9274ed82fa7cc434839d9082fbded62f8784e8fd92 |
|
MD5 | 9368d1153534490e69edd280bef6291c |
|
BLAKE2b-256 | eefe36d758853292893b047afbdc8dfa36f7785277ba7063752c3be76ea9bec5 |
Hashes for z3c.recipe.openoffice-0.2-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d4978483ae28ad255de783b49c239f9eef68d405811ad4c108ca9110a5650b |
|
MD5 | af5ecbb08ffce39968238454df39e8f4 |
|
BLAKE2b-256 | ba2dd65ea12b5bdfbb0413b574478631a9e33ebcfd09ef16de291b1e2b7fd826 |