[Distutils] Install a script to <prefix>/sbin instead of <prefix>/bin
Paul Moore
p.f.moore at gmail.com
Sat Dec 7 14:16:27 CET 2013
I really don't have all the answers here, but...
On 7 December 2013 12:30, Michael Jansen <info at michael-jansen.biz> wrote:
> So you consider anything that has parts that need to be installed into/under
> a web server as not windows compatible?
Not at all. If you're talking about documents, what's to "install"?
Just ask the user to drop them under the docroot. If they are
something like an Apache DLL, just ask the user in the installer where
Apache is located. Or something like that. There's just no answer that
assumes everyone's installation is the same and you don't have to get
information from the user.
> Anything that wants to install pdf/html documentation? Manual Pages?
Why install them. Just put them somewhere for the user to read. Add a
start menu item if you want them accessible.
> Anything that needs configuration files which usually end up under /etc
Well, that's a leading question. There are no such configuration files
on Windows because there's no /etc. But I know what you mean and the
answer is put them next to the executable. Or in the registry if you
believe in that. And generally give the user a configuration app
rather than expect them to manually edit a file.
> Anything that requires a spool file (/var/spool normally)?
I can't think of anything like that, you'd have to give an example.
I'm not sure the concept exists on Windows...
Of course, all of the above are *applications*, not Python modules, so
I wouldn't expect you to distribute them with setuptools/PyPI anyway.
But that's another aspect of the issue.
Paul
More information about the Distutils-SIG
mailing list