mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +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 aetools
|
||||||
import AppleEvents
|
import AppleEvents
|
||||||
from Metrowerks_Shell_Suite import Metrowerks_Shell_Suite
|
|
||||||
from CodeWarrior_Standard_Suite import CodeWarrior_Standard_Suite
|
OLDAESUPPORT = 0
|
||||||
from Required_Suite import Required_Suite
|
|
||||||
|
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 Res
|
||||||
import Dlg
|
import Dlg
|
||||||
|
@ -53,9 +60,12 @@ I_APPLETS=12
|
||||||
|
|
||||||
N_BUTTONS=13
|
N_BUTTONS=13
|
||||||
|
|
||||||
class MwShell(Metrowerks_Shell_Suite, CodeWarrior_Standard_Suite,
|
if OLDAESUPPORT:
|
||||||
Required_Suite, aetools.TalkTo):
|
class MwShell(Metrowerks_Shell_Suite, CodeWarrior_suite, Metrowerks_Standard_Suite,
|
||||||
pass
|
Required_Suite, aetools.TalkTo):
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
MwShell = CodeWarrior.CodeWarrior
|
||||||
|
|
||||||
RUNNING=[]
|
RUNNING=[]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue