distutils question
Martin von Loewis
loewis at informatik.hu-berlin.de
Thu Oct 18 12:55:28 EDT 2001
"Graham Ashton" <graz at mindless.com> writes:
> I haven't been able to work out if it's possible to get distutils to
> install a script into a sensible place though (e.g. /usr/local/bin on
> UNIX, c:\Program Files\foo\foo.py on Windows).
>
> Is it?
It is. Use the scripts = ['foo','bar/foobar'] parameter to setup, and
distutils will install <exec_prefix>/bin/{foo,foobar}. Not sure what
the sensible location is on Windows, though.
HTH,
Martin
More information about the Python-list
mailing list