[Distutils] Buildout: adding a link to a compiled library: uno

Alessandro Dentella sandro at e-den.it
Wed Apr 4 12:58:25 CEST 2012

On Tue, Apr 03, 2012 at 01:59:14AM +0200, Reinout van Rees wrote:
> On 01-04-12 10:47, Alessandro Dentella 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
> >buildout?
> The easiest way, at least that I have seen, is to use osc.recipe.sysegg:
> http://pypi.python.org/pypi/osc.recipe.sysegg
> But you'll need to use buildout version 1.4.4 with this (and thus a
> special 1.4.4 using bootstrap) to get it to work as the latest
> buildout (1.5) broke the osc.recipe.sysegg recipe.
> (1.5 is supposed to work with existing system-level eggs, but I
> couldn't get it to work reliably in my kind of setup).

Since I also wanted to isolate my environment I started using
tl.buildout_virtual_python that offers a siple extra-path variable that
accomplishes to my request in a simple way.


Sandro Dentella  *:-)
http://www.reteisi.org             Soluzioni libere per le scuole
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy

More information about the Distutils-SIG mailing list