Packaging in python

Allison Randal allison at
Wed Feb 22 18:04:14 UTC 2012

Hi Víctor,

On 02/22/2012 09:49 AM, Víctor Fernández wrote:
> Hello. I'm get ready my app to submit to Ubuntu ARB, but I don't know
> how to make that debian/rules install my package to a python path. How
> will it do?

Is this for Guallet, or for another app? For Guallet, you can see the
changes I made during the initial review in the bzr branch
Specifically, the debian/rules file should have the following lines to
install all libraries and binaries under /opt:


        dh $@ --with python2

        dh_auto_install -- --install-lib=/$(PKGDIR)/

Other apps will have similar debian/rules files, just change PKGDIR to
"opt/<packagename>". For apps that aren't Python apps,
you can also drop "--with python2".

Hope this helps,

More information about the Ubuntu-app-devel mailing list