[Distutils] Buildout: adding a link to a compiled library: uno
Leonardo Rochael Almeida
leorochael at gmail.com
Sun Apr 1 21:33:14 CEST 2012
If you are going to use the Python that comes with your distribution
(usually referred to as 'System Python'), and that you want to use the
"uno" library that comes with this System Python, that is, you can do
Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
>>> print uno.__file__
Then, what you probably need is to use a part with a
z3c.recipe.scripts recipe, configuring it like described at , to
give you access to the system-installed uno library.
On Sun, Apr 1, 2012 at 10:47, Alessandro Dentella <sandro at e-den.it> wrote:
> I have many web projects that depend on 'uno' component of openoffice to
> prepare pdf. I don't really need to compile it inside my buildout env. I'm
> not really inclined to do that as I know dev and deply is always in an
> environment with a working system 'uno' package.
> Under virtualenv all I do is to add 2 symlinks to uno.py and unohelp.py to
> the site-packages directory.
> Which is the best way to accomplish a simple setup as this one under
> thanks in advance
> Sandro Dentella *:-)
> http://www.reteisi.org Soluzioni libere per le scuole
> http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy
> Distutils-SIG maillist - Distutils-SIG at python.org
More information about the Distutils-SIG