A script that helps you install python on OS X.
[mirror_edk2.git] / Tools / Python / Install_Python_OSX.sh
45a6b807 1set -e
2echo "After the download, get ready to enter the root password. You should make sure your proxy is set."
3# export http_proxy=http://proxy.dp.intel.com:911
4# curl --remote-name http://www.python.org/ftp/python/2.4.4/python-2.4.4-macosx2006-10-18.dmg --progress-bar
5hdiutil attach python-2.4.4-macosx2006-10-18.dmg
6sudo installer -pkg "/Volumes/Univeral MacPython 2.4.4/MacPython.mpkg/" -target /
7sudo ln -fs /usr/local/bin/python2.4 /usr/bin/python
8hdiutil unmount "/Volumes/Univeral MacPython 2.4.4/"