Fixed an installation issue for Mac systems.

Sun, 04 Jul 2010 19:31:00 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 04 Jul 2010 19:31:00 +0200
changeset 382
29f660c4ad3e
parent 381
64ae9e09d8bc
child 383
286de4e5179c

Fixed an installation issue for Mac systems.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sun Jul 04 17:52:29 2010 +0200
+++ b/install.py	Sun Jul 04 19:31:00 2010 +0200
@@ -149,7 +149,7 @@
         wrapper = \
 '''#!/bin/sh
 
-exec "%s/bin/pythonw" "%s/%s.py" "$@"
+exec "%s/bin/pythonw3" "%s/%s.py" "$@"
 ''' % (sys.exec_prefix, pydir, wfile)
 
     # *nix systems
@@ -367,10 +367,10 @@
     except IOError as msg:
         sys.stderr.write('IOError: %s\nTry install as root.\n' % msg)
         sys.exit(7)
-        
-    except OSError as msg:
-        sys.stderr.write('OSError: %s\nTry install with admin rights.\n' % msg)
-        sys.exit(7)
+        
+    except OSError as msg:
+        sys.stderr.write('OSError: %s\nTry install with admin rights.\n' % msg)
+        sys.exit(7)
     
     # copy some text files to the doc area
     for name in ["LICENSE.GPL3", "THANKS", "changelog"]:

eric ide

mercurial