]>
Commit | Line | Data |
---|---|---|
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 | ||
7 | import os, glob | |
8 | from bundlebuilder import buildapp | |
9 | ||
10 | ||
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]*" | |
15 | ||
16 | ||
17 | buildapp( | |
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 | ||
29 | # Some modules will not be found automatically, so we need to help | |
30 | includeModules = ["cStringIO"], | |
31 | ||
32 | verbosity = 1 | |
33 | ) | |
34 |