[Distutils] Generating two Debian packages with stdeb

Jan Dittberner jan at dittberner.info
Tue Nov 20 14:27:21 CET 2012


On Tue, Nov 20, 2012 at 01:30:43PM +0100, Edward Ekelund wrote:
> 
> Hi,
> 
> I'm wondering if there is a way to generate two .deb-files from a single
> setup.py file. Or, if that's not possible, generate deb files from
> custom-named setup.py files, e.g. client_setup.py & server_setup.py.

You can just use setup.py and move the files to appropriate sub directories
of the debian/ directory in a override_dh_autobuild rule in your
debian/rules file.

You will have to define appropriate binary package stanzas in your
debian/control file.


Regards
Jan Dittberner

-- 
Jan Dittberner - Debian Developer
GPG-key: 4096R/558FB8DD 2009-05-10
         B2FF 1D95 CE8F 7A22 DF4C  F09B A73E 0055 558F B8DD
http://www.dittberner.info/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20121120/6ee4bd03/attachment.pgp>


More information about the Distutils-SIG mailing list