[Distutils] installing scripts to /usr/sbin?

Andreas Schuldei andreas at schuldei.org
Fri Feb 13 05:33:47 EST 2004


* 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:



More information about the Distutils-SIG mailing list