]> git.saurik.com Git - wxWidgets.git/blame - wxPython/samples/doodle/buildapp.py
merge from 2.8 branch
[wxWidgets.git] / wxPython / samples / doodle / buildapp.py
CommitLineData
55f3fe9d
RD
1# This will build an Application Bundle of the superdoodle sample
2# application for OSX. Run like this:
3#
4# pythonw buildapp.py build
5#
6
7import os, glob
8from bundlebuilder import buildapp
9
10
11# See below. Set to wherever your wxMac dynlibs are installed.
aad43f17
RD
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.
55f3fe9d
RD
14wxLibs = "/opt/wx/2.5/lib/libwx*2.5.2.[dr]*"
15
16
17buildapp(
18 name = "SuperDoodle",
19 mainprogram = "superdoodle.py",
20
21 # This tells bundlebuilder to include Python and everything else
22 # that it needs to run the app
23 standalone = 1,
24
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),
28
aad43f17 29 # Some modules will not be found automatically, so we need to help
55f3fe9d
RD
30 includeModules = ["cStringIO"],
31
32 verbosity = 1
33 )
34