summaryrefslogtreecommitdiff
path: root/Tools/Python
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-22 21:07:40 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-22 21:07:40 +0000
commit45a6b8074a0629de2845ec7aa4f580f9bcdff3ab (patch)
treefe39fdde6bdc1727ba914d742e07b0daa1458fca /Tools/Python
parent64683effc6fd974c7a485a906ac20dbdbcd0b1ea (diff)
downloadedk2-45a6b8074a0629de2845ec7aa4f580f9bcdff3ab.zip
edk2-45a6b8074a0629de2845ec7aa4f580f9bcdff3ab.tar.gz
edk2-45a6b8074a0629de2845ec7aa4f580f9bcdff3ab.tar.bz2
A script that helps you install python on OS X.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2000 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Python')
-rwxr-xr-xTools/Python/Install_Python_OSX.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/Python/Install_Python_OSX.sh b/Tools/Python/Install_Python_OSX.sh
new file mode 100755
index 0000000..bd5cc44
--- /dev/null
+++ b/Tools/Python/Install_Python_OSX.sh
@@ -0,0 +1,8 @@
+set -e
+echo "After the download, get ready to enter the root password. You should make sure your proxy is set."
+# 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/"