install.py

branch
5_1_x
changeset 1401
c95428f45a0d
parent 1395
1eb21f914629
child 1403
4b5c7f793791
equal deleted inserted replaced
1398:187a2f37e1d4 1401:c95428f45a0d
168 if isGuiScript: 168 if isGuiScript:
169 wrapper = \ 169 wrapper = \
170 '''@echo off\r\n''' \ 170 '''@echo off\r\n''' \
171 '''set PYDIR=%~dp0\r\n''' \ 171 '''set PYDIR=%~dp0\r\n''' \
172 '''start "" "%PYDIR%\\pythonw.exe"''' \ 172 '''start "" "%PYDIR%\\pythonw.exe"''' \
173 ''' "%PYDIR%\\Lib\\site-packages\\eric5\\{0}.pyw"''' \ 173 ''' "{0}\\{1}.pyw"''' \
174 ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(wfile) 174 ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(pydir, wfile)
175 else: 175 else:
176 wrapper = \ 176 wrapper = \
177 '''@"{0}\\python" "{1}\\{2}.py"''' \ 177 '''@"{0}\\python" "{1}\\{2}.py"''' \
178 ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format( 178 ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(
179 platBinDir, pydir, wfile) 179 platBinDir, pydir, wfile)

eric ide

mercurial