install.py

changeset 1402
474db48f495c
parent 1400
a89de92379d5
child 1410
299cf3b5cda0
diff -r a89de92379d5 -r 474db48f495c install.py
--- a/install.py	Tue Oct 25 19:11:17 2011 +0200
+++ b/install.py	Tue Oct 25 19:18:49 2011 +0200
@@ -169,15 +169,15 @@
         wname = wfile + ".bat"
         if isGuiScript:
             wrapper = \
-                '''@echo off\r\n''' \
-                '''set PYDIR=%~dp0\r\n''' \
+                '''@echo off\n''' \
+                '''set PYDIR=%~dp0\n''' \
                 '''start "" "%PYDIR%\\pythonw.exe"''' \
                 ''' "{0}\\{1}.pyw"''' \
-                ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(pydir, wfile)
+                ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\n'''.format(pydir, wfile)
         else:
             wrapper = \
                 '''@"{0}\\python" "{1}\\{2}.py"''' \
-                ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(
+                ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\n'''.format(
                     platBinDir, pydir, wfile)
 
     # Mac OS X

eric ide

mercurial