Fixed an issue in the Mac part of the install script.

Sun, 23 Oct 2011 14:19:31 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Oct 2011 14:19:31 +0200
changeset 1388
deb3a1940126
parent 1387
1734bc5f4f82
child 1389
adff719fe44c

Fixed an issue in the Mac part of the install script.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sun Oct 23 14:15:17 2011 +0200
+++ b/install.py	Sun Oct 23 14:19:31 2011 +0200
@@ -547,7 +547,7 @@
     shutil.copy(os.path.join(cfg['bindir'], "eric5"), dirs["exe"])
     shutil.copy(os.path.join(sourceDir, "pixmaps", "eric_1.icns"),
                 os.path.join(dirs["icns"], "eric.icns"))
-    f = open(os.path.join(dirs["contents"], "Info.plist"), "wb")
+    f = open(os.path.join(dirs["contents"], "Info.plist"), "w", encoding="utf-8")
     f.write(\
 '''<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"

eric ide

mercurial