Skip to content
Myr

install.rst

This file

Path

docs/user/install.rst

53 lines · 1.5 KiB

Last changed by

not tablibKenneth Reitzbefore adoptionf9f3b46

History of this file

Take it

can/cantKenneth Reitzbefore adoption054891a

line 1why, one step back
1.. _install:

docs updateKenneth Reitzbefore adoptiond18ea48

line 2why, one step back
2

docs refactorKenneth Reitzbefore adoptionf1f5788

lines 3–5why, one step back
3Installation
4============5

not tablibKenneth Reitzbefore adoptionf9f3b46

line 6why, one step back
6This part of the documentation covers the installation of Requests. The first step to using any software package is getting it properly installed.

installationKenneth Reitzbefore adoptiond39cde2

lines 7–8why, one step back
7
8

docs refactorKenneth Reitzbefore adoptionf1f5788

lines 9–11why, one step back
9Distribute & Pip
10----------------11

installationKenneth Reitzbefore adoptiond39cde2

line 12why, one step back
12Installing requests is simple with `pip <http://www.pip-installer.org/>`_::

docs refactorKenneth Reitzbefore adoptionf1f5788

line 13why, one step back
13

installationKenneth Reitzbefore adoptiond39cde2

line 14why, one step back
14 $ pip install requests

docs refactorKenneth Reitzbefore adoptionf1f5788

line 15why, one step back
15

installationKenneth Reitzbefore adoptiond39cde2

line 16why, one step back
16or, with `easy_install <http://pypi.python.org/pypi/setuptools>`_::

docs refactorKenneth Reitzbefore adoptionf1f5788

line 17why, one step back
17

installationKenneth Reitzbefore adoptiond39cde2

line 18why, one step back
18 $ easy_install install requests

docs refactorKenneth Reitzbefore adoptionf1f5788

line 19why, one step back
19

installationKenneth Reitzbefore adoptiond39cde2

lines 20–31why, one step back
20But, you really `shouldn't do that <http://www.pip-installer.org/en/latest/index.html#pip-compared-to-easy-install>`_.
21222324Cheeseshop Mirror25-----------------2627If the Cheeseshop is down, you can also install Requests from Kenneth Reitz's personal `Cheeseshop mirror <pip.kreitz.co/>`_::2829 $ pip install -i http://pip.kreitz.co/simple requests3031

docs refactorKenneth Reitzbefore adoptionf1f5788

lines 32–34why, one step back
32Get the Code
33------------34

installationKenneth Reitzbefore adoptiond39cde2

lines 35–53why, one step back
35Requsts is actively developed on GitHub, where the code is
36`always available <https://github.com/kennethreitz/requests>`_.3738You can either clone the public repository::3940 git clone git://github.com/kennethreitz/requests.git4142Download the `tarball <https://github.com/kennethreitz/requests/tarball/master>`_::4344 $ curl -O https://github.com/kennethreitz/requests/tarball/master4546Or, download the `zipball <https://github.com/kennethreitz/requests/zipball/master>`_::4748 $ curl -O https://github.com/kennethreitz/requests/zipball/master495051Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily::5253 $ python setup.py install