More tool script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -151,6 +151,8 @@ Source: "scripts\img2png";                  DestDir: "{code:GetPythonDir}\Script | ||||
| Source: "scripts\img2py";                   DestDir: "{code:GetPythonDir}\Scripts"; Components: tools | ||||
| Source: "scripts\img2xpm";                  DestDir: "{code:GetPythonDir}\Scripts"; Components: tools | ||||
| Source: "scripts\xrced";                    DestDir: "{code:GetPythonDir}\Scripts"; Components: tools | ||||
| Source: "scripts\pyshell";                  DestDir: "{code:GetPythonDir}\Scripts"; Components: tools | ||||
| Source: "scripts\pycrust";                  DestDir: "{code:GetPythonDir}\Scripts"; Components: tools | ||||
|  | ||||
| Source: "samples\doodle\*.py";              DestDir: "{app}\wxPython\samples\doodle"; Components: samples | ||||
| Source: "samples\doodle\*.txt";             DestDir: "{app}\wxPython\samples\doodle"; Components: samples | ||||
| @@ -194,14 +196,15 @@ Filename: "{code:GetPythonDir}\python.exe";  Parameters: "CreateBatchFiles.py"; | ||||
|  | ||||
| [Icons] | ||||
| Name: "{group}\Run the DEMO";          Filename: "{code:GetPythonDir}\pythonw.exe";   WorkingDir: "{app}\wxPython\demo";   Parameters: "demo.py"; IconFilename: "{app}\wxPython\demo\wxpdemo.ico"; Components: core | ||||
| Name: "{group}\PyCrust";               Filename: "{code:GetPythonDir}\pythonw.exe";   WorkingDir: "c:\";                   Parameters: "{app}\wxPython\lib\PyCrust\PyCrustApp.py";  IconFilename: "{app}\wxPython\lib\PyCrust\PyCrust.ico"; Components: core | ||||
| Name: "{group}\PyCrust";               Filename: "{code:GetPythonDir}\pythonw.exe";   WorkingDir: "c:\";                   Parameters: "{code:GetPythonDir}\Scripts\pycrust";  IconFilename: "{app}\wxPython\lib\PyCrust\PyCrust.ico"; Components: core | ||||
| Name: "{group}\PyShell";               Filename: "{code:GetPythonDir}\pythonw.exe";   WorkingDir: "c:\";                   Parameters: "{code:GetPythonDir}\Scripts\pyshell";  IconFilename: "{app}\wxPython\lib\PyCrust\PyCrust.ico"; Components: core | ||||
| Name: "{group}\wxWindows Reference";   Filename: "{app}\wxPython\docs\wx.chm";                Components: docs | ||||
| Name: "{group}\wxOGL Reference";       Filename: "{app}\wxPython\docs\ogl.chm";               Components: docs | ||||
| Name: "{group}\licence.txt";           Filename: "{app}\wxPython\docs\licence\licence.txt";   Components: core | ||||
| Name: "{group}\README.txt";            Filename: "{app}\wxPython\docs\README.txt";            Components: core | ||||
| Name: "{group}\CHANGES.txt";           Filename: "{app}\wxPython\docs\CHANGES.txt";           Components: core | ||||
| Name: "{group}\Sample Apps";           Filename: "{app}\wxPython\samples"; Components: samples | ||||
| Name: "{group}\Resource Editor";       Filename: "{code:GetPythonDir}\pythonw.exe";   WorkingDir: "c:\";   Parameters: "{app}\wxPython\Tools\XRCed\xrced.py"; IconFilename: "{app}\wxPython\Tools\XRCed\xrced.ico"; Components: tools | ||||
| Name: "{group}\Resource Editor";       Filename: "{code:GetPythonDir}\pythonw.exe";   WorkingDir: "c:\";   Parameters: "{code:GetPythonDir}\Scripts\xrced"; IconFilename: "{app}\wxPython\Tools\XRCed\xrced.ico"; Components: tools | ||||
|  | ||||
|  | ||||
| ;;------------------------------------------------------------ | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
| import sys, os | ||||
|  | ||||
| python = sys.executable | ||||
| pythonw = ow.path.join(os.path.split(python)[0], 'pythonw.exe') | ||||
| pythonw = 'start ' + os.path.join(os.path.split(python)[0], 'pythonw.exe') | ||||
| scriptdir = os.getcwd() | ||||
|  | ||||
| scripts = [ ("img2png", 0), | ||||
|   | ||||
| @@ -1,2 +1,3 @@ | ||||
| @echo off | ||||
|  | ||||
| C:\TOOLS\PYTHON22\PYTHON.EXE C:\projects\wx\wxPython\scripts\img2png %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||||
|   | ||||
| @@ -1,2 +1,3 @@ | ||||
| @echo off | ||||
|  | ||||
| C:\TOOLS\PYTHON22\PYTHON.EXE C:\projects\wx\wxPython\scripts\img2py %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||||
|   | ||||
| @@ -1,2 +1,3 @@ | ||||
| @echo off | ||||
|  | ||||
| C:\TOOLS\PYTHON22\PYTHON.EXE C:\projects\wx\wxPython\scripts\img2xpm %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||||
|   | ||||
							
								
								
									
										3
									
								
								wxPython/scripts/pycrust.bat
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								wxPython/scripts/pycrust.bat
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| @echo off | ||||
|  | ||||
| start C:\TOOLS\PYTHON22\pythonw.exe C:\projects\wx\wxPython\scripts\pycrust %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||||
							
								
								
									
										3
									
								
								wxPython/scripts/pyshell.bat
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								wxPython/scripts/pyshell.bat
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| @echo off | ||||
|  | ||||
| start C:\TOOLS\PYTHON22\pythonw.exe C:\projects\wx\wxPython\scripts\pyshell %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||||
| @@ -1,2 +1,3 @@ | ||||
| @echo off | ||||
| C:\TOOLS\PYTHON22\PYTHON.EXE C:\projects\wx\wxPython\scripts\xrced %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||||
|  | ||||
| start C:\TOOLS\PYTHON22\pythonw.exe C:\projects\wx\wxPython\scripts\xrced %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||||
|   | ||||
| @@ -919,6 +919,8 @@ if __name__ == "__main__": | ||||
|                          'scripts/img2xpm', | ||||
|                          'scripts/img2py', | ||||
|                          'scripts/xrced', | ||||
|                          'scripts/pyshell', | ||||
|                          'scripts/pycrust', | ||||
|                          ], | ||||
|               ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user