- source from www.python.org and follow theinstructions in the
- Mac/OSX/README file to build and install Python.app and the
- Python.framework.
-
- If you build your own Python then you may want to make a symlink or
- two in /usr/local/bin so that this version of Python can be found
- from the command line. For example:
-
- cd /usr/local/bin
- sudo ln -s /Library/Frameworks/Python.framework/Versions/2.2/bin/python2.2 python2.2
- sudo ln -s python2.2 python
-
- Also, if you create a /usr/local/bin/pythonw script like the
- following then you can run Python GUI apps (like wxPython) directly
- from the command line:
-
- #!/bin/sh
- exec /Applications/Python.app/Contents/MacOS/python $@
-
- Be sure to give this script execute permissions:
-
- sudo chmod +x /usr/local/bin/pythonw
-
- If you would like to make a MachoPython installer from what you
- built then you may want to look at the scripts I use to do it
- located in wxPython/distrib/mac/buildPython.
+ source from www.python.org and follow the instructions in the
+ Mac/OSX/README file to build and install the Python.framework and
+ Python tools.