Add BundleBuilder script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		
							
								
								
									
										33
									
								
								wxPython/samples/doodle/buildapp.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								wxPython/samples/doodle/buildapp.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| # This will build an Application Bundle of the superdoodle sample | ||||
| # application for OSX.  Run like this: | ||||
| # | ||||
| #       pythonw buildapp.py build | ||||
| # | ||||
|  | ||||
| import os, glob | ||||
| from bundlebuilder import buildapp | ||||
|  | ||||
|  | ||||
| # See below.  Set to wherever your wxMac dynlibs are installed. | ||||
| # (Probably /usr/local/wxPython-2.5.2.?/lib) | ||||
| wxLibs = "/opt/wx/2.5/lib/libwx*2.5.2.[dr]*" | ||||
|  | ||||
|  | ||||
| buildapp( | ||||
|     name = "SuperDoodle", | ||||
|     mainprogram = "superdoodle.py", | ||||
|  | ||||
|     # This tells bundlebuilder to include Python and everything else | ||||
|     # that it needs to run the app | ||||
|     standalone = 1, | ||||
|  | ||||
|     # Bunndlebuilder isn't yet able to find the shared libs that may be | ||||
|     # needed by extension modules, so we have to help it out. | ||||
|     libs = glob.glob(wxLibs), | ||||
|  | ||||
|     # Some modules will not be found automatically, so we ned to help | ||||
|     includeModules = ["cStringIO"], | ||||
|      | ||||
|     verbosity = 1 | ||||
|     ) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user