[Distutils] Buildout recipe for managing .deb packages?
Benji York
benji at zope.com
Thu Apr 9 22:45:03 CEST 2009
On Thu, Apr 9, 2009 at 4:26 PM, Kent Tenney <ktenney at gmail.com> wrote:
> On Thu, Apr 9, 2009 at 3:24 PM, Lennart Regebro <regebro at gmail.com> wrote:
>> On Thu, Apr 9, 2009 at 21:37, Kent Tenney <ktenney at gmail.com> wrote:
>>> Howdy,
>>>
>>> Is there a recommended way to manage Debian system
>>> packages with a buildout?
>>
>> Do you mean make the buildout install .deb packages? You could build a
>> recipe, but it would only work on .deb systems, partly negating the
>> point of a buildout...
>
> It would help me, and I'm all about me.
I approve of your perspective.
Take a look at iw.recipe.cmd (http://pypi.python.org/pypi/iw.recipe.cmd),
it lets you run arbitrary commands during a buildout.
[install-some-debs]
recipe = iw.recipe.cmd
on_install = true
on_update = true
cmds = apt-get install ...
--
Benji York
Senior Software Engineer
Zope Corporation
More information about the Distutils-SIG
mailing list