1 Building wxPython on Mac OS X
2 -----------------------------
4 NOTE: OS X support is HIGHLY EXPERIMENTAL at this time. Most things
5 don't work correctly (or at all) yet.
7 These are the steps I have used for building wxPython on Mac OS X 10.1
8 with the Apple Developer Tools, a.k.a the Darwin version. I assume
9 that you know your way around a command line and that you know how to
10 get things from various CVS repositories as needed.
13 1. As of this writing the CVS version of Python (2.2b1+) is required.
14 You can get it via anonymous CVS from the Python project at
15 Sourceforge. Build Python.app and install it as described in the
16 Mac/OSX/README file in the Python distribution.
18 2. You may want to make a symlink or two in /usr/local/bin so that
19 this version of Python can be found from the command line. For
23 sudo ln -s /Library/Frameworks/Python.framework/Versions/2.2/bin/python2.2.exe python2.2
24 sudo ln -s python2.2 python
26 3. In a wxWindows CVS tree make a build directory.
28 cd ~/proj/wxWindows # or wherever you put it
31 4. Run configure from that build directory.
34 ../configure --with-mac --with-opengl --enable-debug
36 5. Make and install wxMac.
41 6. Build wxPython for testing (without installing it.)
44 python setup.py IN_CVS_TREE=1 build_ext --inplace --debug
46 7. Test. The easiest way to do this from the CVS tree (witout having
47 to reinstall after every build) is to make a symlink in the demo
48 directory to the wxPython package dir, and then run stuff directly
54 8. Now just navigate in the Finder to the demo directory and double
55 click demo.py, or simple.py, or whatever you want to run.
56 (Unfortunately it can't be done from the commandline in a terminal
57 window. You can open the Console app to see any tracebacks or
60 9. Figure out what's wrong, figure out how to fix it, and then send
61 the patches to me. <wink>