installing scripts to /usr/sbin?
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... if this is a mailinglist, i am not subscribed. please cc me.
On Fri, 6 Feb 2004, 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...
Have you tried using scripts = ['/usr/sbin/client/bofh.py... ? Pearu
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.
* Mats Wichmann (mats@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:
On Fri, Feb 13, 2004 at 11:33:47AM +0100, Andreas Schuldei wrote:
* Mats Wichmann (mats@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
On Fri, Feb 13, 2004 at 11:36:28AM +0100, Alexandre wrote:
On Fri, Feb 13, 2004 at 11:33:47AM +0100, Andreas Schuldei wrote:
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.
Because Distutils should be able to do Debian packages natively? -- Mark W. Alexander slash@dotnetslash.net
On Fri, Feb 13, 2004 at 08:13:51AM -0500, Mark W. Alexander wrote:
On Fri, Feb 13, 2004 at 11:36:28AM +0100, Alexandre wrote:
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.
Because Distutils should be able to do Debian packages natively?
I'm not sure that this is assertion is true. And even if it were, the fact is that Distutils is not able to do so. If you need help in building a Debian package, or a python tool please ask. I'll be happy to help. -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org Advanced computing - Python - Customized trainings - Consulting - XML
Because Distutils should be able to do Debian packages natively?
I'm not sure that this is assertion is true. And even if it were, the fact is that Distutils is not able to do so.
If you need help in building a Debian package, or a python tool please ask. I'll be happy to help.
I do, although it's offtopic for distutils (sorry). I'd like to develop a patch which enables the python-rpm extension to the Debiant rpm package, so I can forward it to the rpm maintainer. I have complex reasons for needing this (well not that complex; a Debian system happens to be the host for a set of rpm packages for which I want to enable fetching via yum. yum-arch requires the python rpm extension.) He's had a number of requests for this, but doesn't know python. Meanwhile, I don't know the debian packaging system, and my pass at it didn't work out right at all. Any takers? Mats
participants (5)
-
Alexandre
-
Andreas Schuldei
-
Mark W. Alexander
-
Mats Wichmann
-
Pearu Peterson