]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Python/Install_Python_OSX.sh
Add a note that describes how to install the packages necessary to run the optional...
[mirror_edk2.git] / Tools / Python / Install_Python_OSX.sh
CommitLineData
281ab331 1echo "You proxy is currently set to \"$http_proxy\"."
2echo "It needs to set in order to download through a firewall."
3echo "For example: \"export http://proxy.company.com:911\""
45a6b807 4set -e
281ab331 5echo "After the download, get ready to enter the root password."
835cdfb7 6curl -C - --remote-name http://www.python.org/ftp/python/2.4.4/python-2.4.4-macosx2006-10-18.dmg --progress-bar
45a6b807 7hdiutil attach python-2.4.4-macosx2006-10-18.dmg
8sudo installer -pkg "/Volumes/Univeral MacPython 2.4.4/MacPython.mpkg/" -target /
9sudo ln -fs /usr/local/bin/python2.4 /usr/bin/python
10hdiutil unmount "/Volumes/Univeral MacPython 2.4.4/"
281ab331 11
12# Get the wxpython installer.
835cdfb7 13curl -C - --remote-name http://superb-west.dl.sourceforge.net/sourceforge/wxpython/wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4.dmg --progress-bar
281ab331 14hdiutil attach wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4.dmg
15sudo installer -pkg /Volumes/wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4/wxPython2.8-osx-unicode-universal10.4-py2.4.pkg -target /
16hdiutil unmount /Volumes/wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4/