[Distutils] installing scripts to /usr/sbin?

Mats Wichmann mats at laplaza.org
Mon Feb 9 17:04:52 EST 2004

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.

More information about the Distutils-SIG mailing list