X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FPython%2FInstall_Python_OSX.sh;h=d22125c6b3d050ed5b7f2bf38b2b027810c42488;hp=bd5cc44cfaa39e1882ee91f20e532d0e8eaeb1bc;hb=281ab33133bf050db408e604c28e4cbc33c8cccb;hpb=4d0cf38afc54f5c66026448a3bda2ee65538a534 diff --git a/Tools/Python/Install_Python_OSX.sh b/Tools/Python/Install_Python_OSX.sh index bd5cc44cfa..d22125c6b3 100755 --- a/Tools/Python/Install_Python_OSX.sh +++ b/Tools/Python/Install_Python_OSX.sh @@ -1,8 +1,17 @@ +echo "You proxy is currently set to \"$http_proxy\"." +echo "It needs to set in order to download through a firewall." +echo "For example: \"export http://proxy.company.com:911\"" set -e -echo "After the download, get ready to enter the root password. You should make sure your proxy is set." +echo "After the download, get ready to enter the root password." # export http_proxy=http://proxy.dp.intel.com:911 # curl --remote-name http://www.python.org/ftp/python/2.4.4/python-2.4.4-macosx2006-10-18.dmg --progress-bar hdiutil attach python-2.4.4-macosx2006-10-18.dmg sudo installer -pkg "/Volumes/Univeral MacPython 2.4.4/MacPython.mpkg/" -target / sudo ln -fs /usr/local/bin/python2.4 /usr/bin/python hdiutil unmount "/Volumes/Univeral MacPython 2.4.4/" + +# Get the wxpython installer. +curl --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 +hdiutil attach wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4.dmg +sudo 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 / +hdiutil unmount /Volumes/wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4/