Fixed an issue in creating the startup scripts for Windows platforms. 5_1_x

Tue, 25 Oct 2011 19:11:46 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 25 Oct 2011 19:11:46 +0200
branch
5_1_x
changeset 1401
c95428f45a0d
parent 1398
187a2f37e1d4
child 1403
4b5c7f793791

Fixed an issue in creating the startup scripts for Windows platforms.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Tue Oct 25 18:58:59 2011 +0200
+++ b/install.py	Tue Oct 25 19:11:46 2011 +0200
@@ -170,8 +170,8 @@
                 '''@echo off\r\n''' \
                 '''set PYDIR=%~dp0\r\n''' \
                 '''start "" "%PYDIR%\\pythonw.exe"''' \
-                ''' "%PYDIR%\\Lib\\site-packages\\eric5\\{0}.pyw"''' \
-                ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(wfile)
+                ''' "{0}\\{1}.pyw"''' \
+                ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(pydir, wfile)
         else:
             wrapper = \
                 '''@"{0}\\python" "{1}\\{2}.py"''' \

eric ide

mercurial