]>
Commit | Line | Data |
---|---|---|
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 | ||
7 | import os, glob | |
8 | from 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 |
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 | ||
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 |