summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/macfreeze
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-25 12:15:04 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-25 12:15:04 (GMT)
commit5a6fdcd3718927109592c6df692fe24a8fdaee31 (patch)
tree3816c4cbfcf1533dee55a48a8eec2c3557ae44cc /Mac/Tools/macfreeze
parent6dba6bc0a226c2dd384d9311b9ad842be653c2b5 (diff)
downloadcpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.zip
cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.gz
cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.bz2
Import the MacOS toolbox modules from the Carbon package.
Diffstat (limited to 'Mac/Tools/macfreeze')
-rw-r--r--Mac/Tools/macfreeze/macfreezegui.py4
-rw-r--r--Mac/Tools/macfreeze/macgen_bin.py2
-rw-r--r--Mac/Tools/macfreeze/macgen_rsrc.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Tools/macfreeze/macfreezegui.py b/Mac/Tools/macfreeze/macfreezegui.py
index c3311b7..a834138 100644
--- a/Mac/Tools/macfreeze/macfreezegui.py
+++ b/Mac/Tools/macfreeze/macfreezegui.py
@@ -1,11 +1,11 @@
"""macfreezegui - The GUI for macfreeze"""
-import Dlg
+from Carbon import Dlg
import macfs
import EasyDialogs
import sys
import os
import string
-import Res
+from Carbon import Res
ID_MAINDIALOG=512
diff --git a/Mac/Tools/macfreeze/macgen_bin.py b/Mac/Tools/macfreeze/macgen_bin.py
index 42aaf40..c72bb3c 100644
--- a/Mac/Tools/macfreeze/macgen_bin.py
+++ b/Mac/Tools/macfreeze/macgen_bin.py
@@ -7,7 +7,7 @@ import types
import macfs
from MACFS import *
import MacOS
-import Res
+from Carbon import Res
import py_resource
import cfmfile
import buildtools
diff --git a/Mac/Tools/macfreeze/macgen_rsrc.py b/Mac/Tools/macfreeze/macgen_rsrc.py
index cbf5e0e..03fc0af 100644
--- a/Mac/Tools/macfreeze/macgen_rsrc.py
+++ b/Mac/Tools/macfreeze/macgen_rsrc.py
@@ -1,7 +1,7 @@
"""macgen_info - Generate PYC resource file only"""
import EasyDialogs
import py_resource
-import Res
+from Carbon import Res
import sys
def generate(output, module_dict, debug=0, preload=1):