Skip to content
Myr

install.rst

This file

Path

docs/user/install.rst

56 lines · 1.5 KiB

Last changed by

Merge remote-tracking branch 'origin/develop' into developKenneth Reitzbefore adoptiona74c6c6

History of this file

Take it

The walk stopped after 200 commits: lines older than 511b139 point at it.

Merge pull request #676 from apotheos/developKenneth Reitzbefore adoption511b139

lines 1–27why, one step back
1.. _install:
23Installation4============56This part of the documentation covers the installation of Requests.7The first step to using any software package is getting it properly installed.8910Distribute & Pip11----------------1213Installing requests is simple with `pip <http://www.pip-installer.org/>`_::1415 $ pip install requests1617or, with `easy_install <http://pypi.python.org/pypi/setuptools>`_::1819 $ easy_install requests2021But, you really `shouldn't do that <http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install>`_.22232425Cheeseshop Mirror26-----------------27

Merge remote-tracking branch 'origin/develop' into developKenneth Reitzbefore adoptiona74c6c6

lines 28–29why, one step back
28If the Cheeseshop is down, you can also install Requests from one of the
29mirrors. `Crate.io <http://crate.io>`_ is one of them::

Merge pull request #676 from apotheos/developKenneth Reitzbefore adoption511b139

line 30why, one step back
30

Merge remote-tracking branch 'origin/develop' into developKenneth Reitzbefore adoptiona74c6c6

line 31why, one step back
31 $ pip install -i http://simple.crate.io/ requests

Merge pull request #676 from apotheos/developKenneth Reitzbefore adoption511b139

lines 32–56why, one step back
32
3334Get the Code35------------3637Requests is actively developed on GitHub, where the code is38`always available <https://github.com/kennethreitz/requests>`_.3940You can either clone the public repository::4142 git clone git://github.com/kennethreitz/requests.git4344Download the `tarball <https://github.com/kennethreitz/requests/tarball/master>`_::4546 $ curl -OL https://github.com/kennethreitz/requests/tarball/master4748Or, download the `zipball <https://github.com/kennethreitz/requests/zipball/master>`_::4950 $ curl -OL https://github.com/kennethreitz/requests/zipball/master515253Once you have a copy of the source, you can embed it in your Python package,54or install it into your site-packages easily::5556 $ python setup.py install