I have modified the debian/control file to produce two .debs. I have no idea, however, how to correctly use override_dh_autobuild in debian/rules to put files in the appropriate sub directories. My google-fu seems weak, and I haven't been able to find an answer on the internet either.

Could you provide a simple example for how I should do it?

Thanks,
Eddie

On 11/20/2012 02:27 PM, Jan Dittberner wrote:
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

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to