Skip to content

Commit 0c32549

Browse files
author
Kenneth Reitz
committed
Merge pull request realpython#272 from kuyan/master
Various improvements to OS X installation guide
2 parents fee9fcd + 70532b4 commit 0c32549

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

docs/starting/install/osx.rst

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Installing Python on Mac OS X
44
=============================
55

6-
The latest version of Mac OS X, Lion, **comes with Python 2.7 out of the box**.
6+
The latest version of Mac OS X, Mountain Lion, **comes with Python 2.7 out of the box**.
77

88
You do not need to install or configure anything else to use Python. Having
99
said that, I would strongly recommend that you install the tools and libraries
@@ -20,9 +20,11 @@ Doing it Right
2020

2121
Let's install a real version of Python.
2222

23-
First, you'll need to have GCC installed to compile Python. You can either get
24-
this from `XCode <http://developer.apple.com/xcode/>`_ or the smaller
25-
`OSX-GCC-Installer <https://github.com/kennethreitz/osx-gcc-installer#readme>`_ package.
23+
Before installing Python, you'll need to install GCC. GCC can be obtained
24+
by downloading `XCode <http://developer.apple.com/xcode/>`_, the smaller
25+
`Command Line Tools <https://developer.apple.com/downloads/>`_ (must have an
26+
Apple account) or the even smaller `OSX-GCC-Installer <https://github.com/kennethreitz/osx-gcc-installer#readme>`_
27+
package.
2628

2729
While Lion comes with a large number of UNIX utilities, those familiar with
2830
Linux systems will notice one key component missing: a decent package manager.
@@ -33,11 +35,13 @@ simply run
3335

3436
.. code-block:: console
3537
36-
$ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
38+
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
3739
38-
Then, insert the Homebrew directory at the top of your ``PATH`` environment
39-
variable. You can do this by adding the following line at the bottom of your
40-
``~/.bashrc`` file
40+
The script will explain what changes it will make and prompt you before the
41+
installation begins.
42+
Once you've installed Homebrew, insert the Homebrew directory at the top
43+
of your ``PATH`` environment variable. You can do this by adding the following
44+
line at the bottom of your ``~/.bashrc`` file
4145

4246
.. code-block:: console
4347

0 commit comments

Comments
 (0)