[avahi] autotooling python scripts
Joe Shaw
joeshaw at novell.com
Wed Aug 3 05:26:27 EST 2005
Hi,
On Tue, 2005-08-02 at 21:17 +0200, Sebastien Estienne wrote:
> > > I also don't know where i'm supposed to store SimpleGladeApp.py, it
> > > seems that is should be package on its on and installed in
> > > /usr/lib/python2.4/
> > > But until debiab/ubuntu/whatever package it, i don't really know where
> > > to store it, i mean put it in $DATADIR/avahi/python/ and ajust the
> > > import path in my pygtk app.
> >
> > Is it just a sample program that illustrates how to use the bindings?
> > If that's the case, it should probably be included in EXTRA_DIST but not
> > installed anywhere. Distributors can pick it up and put it
> > in /usr/share/doc if they want.
> i think that it may be usefull for end user, it's a graphical tool to
> browse the network.
Ah, ok, in that case you could just make sure that it is a+x, put
"#!/usr/bin/python" at the top, and stick it in /usr/bin sans .py
extension. I'd suggest renaming it to something more descriptive,
though, like "avahi-browse" or whatever. :)
Joe
More information about the avahi
mailing list