summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/buildtools.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-18 23:30:27 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-02-18 23:30:27 (GMT)
commit9f59d528c5a9bfbcc93fdf8bd42d8738105b675c (patch)
tree9247e22c25a172dbf5167048cc6c59086bfb5cc3 /Lib/plat-mac/buildtools.py
parenta03adde31b148fee3f3c1a5b24e99d66e7ee750d (diff)
downloadcpython-9f59d528c5a9bfbcc93fdf8bd42d8738105b675c.zip
cpython-9f59d528c5a9bfbcc93fdf8bd42d8738105b675c.tar.gz
cpython-9f59d528c5a9bfbcc93fdf8bd42d8738105b675c.tar.bz2
Enable argv emulation if required.
Fixed a bug for applets with their own plist files.
Diffstat (limited to 'Lib/plat-mac/buildtools.py')
-rw-r--r--Lib/plat-mac/buildtools.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py
index 89d4510..c6430b0 100644
--- a/Lib/plat-mac/buildtools.py
+++ b/Lib/plat-mac/buildtools.py
@@ -303,10 +303,12 @@ def process_common_macho(template, progress, code, rsrcname, destname, is_update
for o in others:
builder.resources.append(o)
if plistname:
- import Plist
- builder.plist = Plist.fromFile(plistname)
+ import plistlib
+ builder.plist = plistlib.Plist.fromFile(plistname)
if icnsname:
builder.iconfile = icnsname
+ if not raw:
+ builder.argv_emulation = 1
builder.setup()
builder.build()
if progress: