[Distutils] Installing scripts

Bob Ippolito bob at redivi.com
Thu Jun 24 16:28:16 EDT 2004

On Jun 21, 2004, at 12:54 PM, Fred L. Drake, Jr. wrote:

> On Tuesday 15 June 2004 01:07 am, Ronald Oussoren wrote:
>> Please don't, unless MacOS X is treated differently than other unices.
>> There is a minor difference between GUI and non-GUI scripts on OSX 
>> (due
>> to a misfeature of the OS).
> --sigh--
> So as I understand it, you'd need an extension to be left on for .pyw 
> scripts,
> but could tolerate removal of extensions for other scripts.  This is a
> distinct case from other Unixes and from Windows.
> I have a patch that will strip extensions for POSIX platforms other 
> than
> Darwin (including Mac OS X), only if "build_scripts 
> --strip-extensions" is
> used.  Given the special cases and another issue related to legacy 
> support,
> I'm not going to apply the patch.

Please don't make this special exception for sys.platform=='darwin'.

- You can't browse to /usr/local/bin from Finder, anyway
- It's almost impossible to write a useful GUI application without 
wrapping it in an application bundle in OS X

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20040624/8aca2179/smime.bin

More information about the Distutils-SIG mailing list