From: Jack Jansen Date: Thu, 17 Aug 2000 22:12:12 +0000 (+0000) Subject: Use the new package-based scripting support. X-Git-Tag: v2.0b1~403 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87426b9f1bdc0351158a563e334ba45c4eebe6b5;p=thirdparty%2FPython%2Fcpython.git Use the new package-based scripting support. --- diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py index 2dadfa9e672d..fef2a42ea5a3 100644 --- a/Mac/scripts/fullbuild.py +++ b/Mac/scripts/fullbuild.py @@ -21,9 +21,16 @@ import string import aetools import AppleEvents -from Metrowerks_Shell_Suite import Metrowerks_Shell_Suite -from CodeWarrior_Standard_Suite import CodeWarrior_Standard_Suite -from Required_Suite import Required_Suite + +OLDAESUPPORT = 0 + +if OLDAESUPPORT: + from Metrowerks_Shell_Suite import Metrowerks_Shell_Suite + from CodeWarrior_suite import CodeWarrior_suite + from Metrowerks_Standard_Suite import Metrowerks_Standard_Suite + from Required_Suite import Required_Suite +else: + import CodeWarrior import Res import Dlg @@ -53,9 +60,12 @@ I_APPLETS=12 N_BUTTONS=13 -class MwShell(Metrowerks_Shell_Suite, CodeWarrior_Standard_Suite, - Required_Suite, aetools.TalkTo): - pass +if OLDAESUPPORT: + class MwShell(Metrowerks_Shell_Suite, CodeWarrior_suite, Metrowerks_Standard_Suite, + Required_Suite, aetools.TalkTo): + pass +else: + MwShell = CodeWarrior.CodeWarrior RUNNING=[]