summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/buildtools.py
diff options
context:
space:
mode:
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: