[Distutils] Including third party libs with buildout

Benji York benji at zope.com
Fri Nov 14 14:14:17 CET 2008


2008/11/13 Phil <pbeadling at mail2web.com>:
> Hi,
>
> I'm having a bash at writing a buildout script for an app I'm working on.
>  My app uses some third part stuff like pygtk and vlc's python bindings
> which buildout does a great job of setting up in my dev environment.  The
> problem I have is when I want to produce a final distribution  - for
> example, in the config below do I make sure that the libs created by the
> [pygtk] and [vlc_bindings] sections are packaged in my final deployment
> (using bdist the .so files should just be in the libs/ directory and using
> sdist, I guess the source should be bundled)?

One option is to use zc.sourcerelease
(http://pypi.python.org/pypi/zc.sourcerelease) to generate a source
release and use that as the basis for binary releases.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Distutils-SIG mailing list