diff options
author | Just van Rossum <just@lettererror.com> | 1999-02-27 15:58:47 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-02-27 15:58:47 (GMT) |
commit | 3853be8b144f47458dfa21eff661efa7a7b2554a (patch) | |
tree | d0b00abed684597d403a73890f4a6808402c4ff4 /Mac/Tools/IDE | |
parent | 867dc254457da90084aa4ea1ef32f70c1f359ca9 (diff) | |
download | cpython-3853be8b144f47458dfa21eff661efa7a7b2554a.zip cpython-3853be8b144f47458dfa21eff661efa7a7b2554a.tar.gz cpython-3853be8b144f47458dfa21eff661efa7a7b2554a.tar.bz2 |
reverted Jack's mod: no longer neccesary since all BNDL & icon info is in the IDE's resource file, just like the other applets -- jvr
Diffstat (limited to 'Mac/Tools/IDE')
-rw-r--r-- | Mac/Tools/IDE/BuildIDE.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Mac/Tools/IDE/BuildIDE.py b/Mac/Tools/IDE/BuildIDE.py index 456e503..82a0636 100644 --- a/Mac/Tools/IDE/BuildIDE.py +++ b/Mac/Tools/IDE/BuildIDE.py @@ -7,8 +7,6 @@ import os import buildtools import Res import py_resource -import macfs -import MACFS buildtools.DEBUG=1 @@ -21,17 +19,6 @@ dstfilename = os.path.join(sys.exec_prefix, "Python IDE") buildtools.process(template, mainfilename, dstfilename, 1) -# Override the owner: IDE gets its bundle stuff from the applet -# template and only needs to set the file creator. -dest_fss = macfs.FSSpec(dstfilename) -dest_finfo = dest_fss.GetFInfo() -dest_finfo.Creator = ownertype -dest_finfo.Type = 'APPL' -dest_finfo.Flags = dest_finfo.Flags | MACFS.kHasBundle -dest_finfo.Flags = dest_finfo.Flags & ~MACFS.kHasBeenInited -dest_fss.SetFInfo(dest_finfo) - - targetref = Res.OpenResFile(dstfilename) Res.UseResFile(targetref) |