[pygtk] Deploying a PyGTK application
Pietro Battiston
toobaz at email.it
Fri Jan 29 05:29:40 WST 2010
Il giorno gio, 28/01/2010 alle 22.23 +0100, Pietro Battiston ha scritto:
> Il giorno gio, 28/01/2010 alle 11.44 -0500, Luis Felipe López Acevedo ha
> scritto:
> > El jue, 28-01-2010 a las 22:08 +0530, Thameera Senanayaka escribió:
> > > Hello,
> > > I'm quite new to PyGTK programming. How can I deploy a PyGTK
> > > application in linux? (eg: How to create a deb file, etc) Where can I
> > > get more information from?
> > > Thanks!
> > >
> >
> > http://showmedo.com/videotutorials/video?name=linuxJensMakingDeb
> >
>
> That video is nice, but since it has been made debhelper 7 was born, and
> I strongly suggest to use it.
>
> Basically, if your application has a nice setup.py, just skip all the
> part that talks about the "rules" file, and put inside it just:
>
> #!/usr/bin/make -f
> # -*- makefile -*-
>
> # Uncomment this to turn on verbose mode.
> #export DH_VERBOSE=1
>
> # This has to be exported to make some magic below work.
> export DH_OPTIONS
>
> %:
> dh $@
>
>
> (Beware, the last line contains a tab, not spaces)
>
(and anyway, notice that if you work in a debian unstable or testing,
this debian/rules is created automatically by dh_make)
Pietro
More information about the pygtk
mailing list