mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Use the new package-based scripting support.
This commit is contained in:
parent
60762cb920
commit
87426b9f1b
1 changed files with 16 additions and 6 deletions
|
@ -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=[]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue