Skip to content

Commit ae32dc9

Browse files
author
Kenneth Reitz
committed
installation
1 parent 286d03a commit ae32dc9

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

docs/installation.rst

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Properly Installing Python
1+
Properly Installing Python
22
==========================
33

44
Mac OS X
@@ -16,54 +16,56 @@ just import your application and start playing around.
1616
Package Manager
1717
---------------
1818

19-
While Snow Leopard comes with a large number of UNIX utilities, those
20-
familiar with Linux systems will notice one key component missing: a
19+
While Snow Leopard comes with a large number of UNIX utilities, those
20+
familiar with Linux systems will notice one key component missing: a
2121
package manager. Mxcl's *Homebrew* is the answer.
2222

2323
To install Homebrew, simply run: ::
2424

2525
$ ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"
2626

2727

28-
It's basic commands are **update**, **install**, and **remove**.
28+
It's basic commands are **update**, **install**, and **remove**.
2929

3030
.. man brew
3131
3232
33-
34-
Python Interpreter
35-
------------------
36-
3733
And we can now install Python 2.7: ::
3834

3935
$ brew install python --framework
4036

4137

42-
The ``--framework`` option tells Homebrew to compile a Framework-style Python build, rather than a UNIX-style build. The outdated version of Python that Snow Leopard comes packaged with
43-
is built as a Framework, so this helps avoid some future module installation
44-
bugs.
38+
The ``--framework`` option tells Homebrew to compile a Framework-style Python build, rather than a UNIX-style build. The outdated version of Python that Snow Leopard comes packaged with
39+
is built as a Framework, so this helps avoid some future module installation
40+
bugs.
41+
42+
*Don't forget to update your environment PATH.*
43+
44+
45+
Building From Source
46+
--------------------
47+
4548

46-
*Don't forget to update your environment PATH.*
4749

4850

4951
Distribute & Pip
5052
----------------
5153

52-
*Distribute* is a fantastic drop-in replacement for *easy_install* and
53-
*setuptools*. It allows you to install and manage python packages from
54-
pypi.python.org, amongst a few other sources. It also plays well with
55-
*virtualenv* and user-enviornments.
54+
*Distribute* is a fantastic drop-in replacement for *easy_install* and
55+
*setuptools*. It allows you to install and manage python packages from
56+
pypi.python.org, amongst a few other sources. It also plays well with
57+
*virtualenv* and user-enviornments.
5658

57-
**easy_install** is considered by many to be a deprecated system, so we
58-
will install it's replacement: **pip**. Pip allows for uninstallation
59+
**easy_install** is considered by many to be a deprecated system, so we
60+
will install it's replacement: **pip**. Pip allows for uninstallation
5961
of packages, and is actively maintained, unlike setuptool's easy_install.
6062

6163
To install *pip* and Distribute's *easy_install*:
6264

6365
If you have homebrew: ::
6466

6567
$ brew install pip
66-
68+
6769
...And, if you're a masochist: ::
6870

6971
$ curl -O http://python-distribute.org/distribute_setup.py
@@ -92,7 +94,7 @@ Windows
9294

9395

9496

95-
Prerequisites:
97+
Prerequisites:
9698
--------------
9799

98100
* Python2.7 (x86) from Python.org
@@ -104,7 +106,7 @@ Step 1: Install Distribute & Pip
104106

105107
**Distribute** is a fantastic drop-in replacement for **easy_install** and **setuptools**. It allows you to install and manage python packages from PyPi, amongst a few other sources.
106108

107-
To install it, run the python script available here:
109+
To install it, run the python script available here:
108110
<http://python-distribute.org/distribute_setup.py>
109111

110112
Make sure that ```C:\Python27\```, and ```C:\Python27\Scripts``` are in your PATH.

0 commit comments

Comments
 (0)