Fwd: [avahi] autotooling python scripts
sebastien.estienne at gmail.com
Wed Aug 3 05:35:46 EST 2005
2005/8/2, Joe Shaw <joeshaw at novell.com>:
> 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
i also saw #!/usr/bin/env python
what is it about?
> extension. I'd suggest renaming it to something more descriptive,
> though, like "avahi-browse" or whatever. :)
we already have avahi-browse-service , and avahi-browse-domain
I didn't really want to name it G something...
More information about the avahi