[Distutils] installing scripts to /usr/sbin?

Alexandre Alexandre.Fayolle at logilab.fr
Fri Feb 13 05:36:28 EST 2004


On Fri, Feb 13, 2004 at 11:33:47AM +0100, Andreas Schuldei wrote:
> * Mats Wichmann (mats at laplaza.org) [040213 07:19]:
> > At 03:13 PM 2/6/2004 +0100, Andreas Schuldei wrote:
> > >how can i install python progs to /usr/sbin? i manage to install
> > >them to /usr/bin just fine using
> > >          scripts=['client/bofh.py',...
> > >in my setup.py.
> > >I would wish for a setup option sbin_scripts...
> > 
> > A piece of unsolicited advice: don't.
> > /usr/bin, /usr/sbin and their ilk should
> > be left to the operating system vendor.
> > 
> > /opt or /usr/local can be used for add-on
> > software, depending on how pedantic you
> > want to be about following the guidelines
> > of whatever operating system you're using.
> 
> as a debian developer (who is unfortunatly a python novice) i am
> the operating system vendor. (c:

If you're making a Debian package, then why don't you move the scripts
in debian/rules ? This sounds like the simplest thing to do. 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Advanced computing - Python - Customized trainings - Consulting - XML
Informatique avancée - Python - Formations sur-mesure - Conseil - XML
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20040213/0f8b44fc/attachment.bin


More information about the Distutils-SIG mailing list