[Distutils] stdeb-0.3 error

Andrew Straw strawman at astraw.com
Sat Sep 19 18:07:54 CEST 2009


Gerry Reno wrote:
>> What you want to do is probably possible, but I don't have the
>> motivation to do it myself. I guess it could allow a bdist_deb option,
>> but IMO that's not particularly desirable -- the Debian source package
>> emitted by stdeb can be compiled for any Debian derivative for any
>> version (provided the dependencies are met)
> Having a single command for .deb doesn't preclude stdeb from emitting
> source package .dsc.

OK, if you're sure... :)

I'd suggest attempting to add a "bdist_deb" command to stdeb's
stdeb/command/ directory for use with distutils. Then register it with
entry_points in the setup.py file.

Note that you wouldn't want bdist_deb to inherit the binary generation
stuff from bdist_dumb or friends -- you'd specifically want to call out
the the appropriate debian command (dpkg-buildpackage).

I'd be happy to include such a thing with stdeb, though I'd probably not
use it much myself -- I like having a single source package that I just
recompile for the different distributions.

-Andrew


More information about the Distutils-SIG mailing list