]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/doodle/buildapp.py
   1 # This will build an Application Bundle of the superdoodle sample 
   2 # application for OSX.  Run like this: 
   4 #       pythonw buildapp.py build 
   8 from bundlebuilder 
import buildapp
 
  11 # See below.  Set to wherever your wxMac dynlibs are installed. 
  12 # (Probably /usr/local/lib/wxPython-2.5.2.?/lib) If you don't use all 
  13 # the contribs libs then you can use a more restrictive list. 
  14 wxLibs 
= "/opt/wx/2.5/lib/libwx*2.5.2.[dr]*" 
  19     mainprogram 
= "superdoodle.py", 
  21     # This tells bundlebuilder to include Python and everything else 
  22     # that it needs to run the app 
  25     # Bunndlebuilder isn't yet able to find the shared libs that may be 
  26     # needed by extension modules, so we have to help it out. 
  27     libs 
= glob
.glob(wxLibs
), 
  29     # Some modules will not be found automatically, so we need to help 
  30     includeModules 
= ["cStringIO"],