@@ -29,13 +29,17 @@ Linux systems will notice one key component missing: a decent package manager.
2929`Homebrew <http://mxcl.github.com/homebrew/ >`_ fills this void.
3030
3131To `install Homebrew <https://github.com/mxcl/homebrew/wiki/installation >`_,
32- simply run::
32+ simply run
33+
34+ .. code-block :: console
3335
3436 $ ruby -e "$(curl -fsS https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
3537
3638 Then, insert the hombrew directory at the top of your ``PATH `` enviornment
3739variable. You can do this by adding the following line at the bottom of your
38- ``~/.bashrc `` file::
40+ ``~/.bashrc `` file
41+
42+ .. code-block :: console
3943
4044 export PATH=/usr/local/bin:$PATH
4145
@@ -44,7 +48,9 @@ Now, we can install Python 2.7: ::
4448 $ brew install python --framework
4549
4650This will take a minute or two. Once that's complete, you'll have to add the
47- new Python scripts directory to your ``PATH ``::
51+ new Python scripts directory to your ``PATH ``
52+
53+ .. code-block :: console
4854
4955 export PATH=/usr/local/share/python:$PATH
5056
@@ -69,7 +75,9 @@ considered by many to be deprecated, so we will install its replacement:
6975**pip **. Pip allows for uninstallation of packages, and is actively maintained,
7076unlike easy_install.
7177
72- To install pip, simply open a command prompt and run::
78+ To install pip, simply open a command prompt and run
79+
80+ .. code-block :: console
7381
7482 $ easy_install pip
7583
@@ -78,7 +86,9 @@ Virtualenv
7886----------
7987
8088After Distribute & Pip, the next development tool that you should install is
81- `virtualenv <http://pypi.python.org/pypi/virtualenv/ >`_. Use pip::
89+ `virtualenv <http://pypi.python.org/pypi/virtualenv/ >`_. Use pip
90+
91+ .. code-block :: console
8292
8393 $ pip install virtualenv
8494
@@ -91,7 +101,9 @@ framework and application will have many dependencies.
91101
92102To set up a new Python environment, change the working directory to where ever
93103you want to store the environment, and run the virtualenv utility in your
94- project's directory::
104+ project's directory
105+
106+ .. code-block :: console
95107
96108 $ virtualenv --distribute venv
97109
0 commit comments