Fixed the install script.

Sun, 14 Apr 2013 17:13:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 14 Apr 2013 17:13:32 +0200
changeset 2583
92b902f6455e
parent 2581
a3498dcc75cc
child 2585
242d6d991ca1

Fixed the install script.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sun Apr 14 13:12:53 2013 +0200
+++ b/install.py	Sun Apr 14 17:13:32 2013 +0200
@@ -216,10 +216,9 @@
         if isGuiScript:
             wrapper = \
                 '''@echo off\n''' \
-                '''set PYDIR=%~dp0\n''' \
-                '''start "" "%PYDIR%\\pythonw.exe"''' \
+                '''start "" "{2}\\pythonw.exe"''' \
                 ''' "{0}\\{1}.pyw"''' \
-                ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\n'''.format(pydir, wfile)
+                ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\n'''.format(pydir, wfile, sys.exec_prefix)
         else:
             wrapper = \
                 '''@"{0}\\python" "{1}\\{2}.py"''' \

eric ide

mercurial