[Distutils] Buildout recipe for managing .deb packages?
Andrew Straw
strawman at astraw.com
Thu Apr 9 22:39:16 CEST 2009
Kent Tenney 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.
To do it properly, I think you would need to maintain a database mapping
buildout distribution names to Debian binary package names.
Zooko wrote something for stdeb that tries to automatically find the
dependencies, to some degree of success, using apt-file. The
implementation is in the function
get_deb_depends_from_setuptools_requires() in
http://github.com/astraw/stdeb/blob/master/stdeb/util.py
More information about the Distutils-SIG
mailing list