Skip to content

Commit

Permalink
Merge pull request realpython#42 from askedrelic/master
Browse files Browse the repository at this point in the history
Simplify the linux install instructions
  • Loading branch information
Kenneth Reitz committed Dec 30, 2011
2 parents 1fa10e6 + 3a65e06 commit c104199
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/starting/installation.rst
Expand Up @@ -128,15 +128,11 @@ Older versions of Python aren't available from the official repository. However,
Installing setuptools and pip
-----------------------------

While Python has an extensive standard library, the set of packages available from the Internet is even more extensive. In order to install them easily, we'll install the ``setuptools`` package and ``pip`` installer::

.. XXX: sudo?
While Python has an extensive standard library, the set of packages available from the Internet is even more extensive. In order to install them easily, we'll install the ``distribute`` package and then ``pip``::

$ wget http://python-distribute.org/distribute_setup.py
$ python distribute_setup.py
$ wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
$ python get-pip.py
$ rm get-pip.py distribute_setup.py
$ sudo python distribute_setup.py
$ sudo easy_install pip

Now, most Python packages can be installed using the ``pip`` command. For example, if we wanted to install Django::

Expand Down

0 comments on commit c104199

Please sign in to comment.