Skip to content
Myr

install.rst

This file

Path

docs/user/install.rst

47 lines · 1.3 KiB

Last changed by

Merge pull request #2133 from esparta/masterIan Cordascobefore adoption54fc807

History of this file

Take it

The walk stopped after 200 commits: lines older than 3e6e68b point at it.

Merge pull request #1507 from buzztabapp/prepared-session-requestsKenneth Reitzbefore adoption3e6e68b

lines 1–12why, 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----------------12

Merge pull request #2133 from esparta/masterIan Cordascobefore adoption54fc807

lines 13–14why, one step back
13Installing Requests is simple with `pip <https://pip.pypa.io>`_, just run
14this in your terminal::

Merge pull request #1507 from buzztabapp/prepared-session-requestsKenneth Reitzbefore adoption3e6e68b

lines 15–21why, one step back
15
16 $ pip install requests1718or, with `easy_install <http://pypi.python.org/pypi/setuptools>`_::1920 $ easy_install requests21

Merge pull request #2116 from sigmavirus24/fix-2107Cory Benfieldbefore adoption538a41e

line 22why, one step back
22But, you really `shouldn't do that <https://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install>`_.

Merge pull request #1507 from buzztabapp/prepared-session-requestsKenneth Reitzbefore adoption3e6e68b

lines 23–32why, one step back
23
2425Get the Code26------------2728Requests is actively developed on GitHub, where the code is29`always available <https://github.com/kennethreitz/requests>`_.3031You can either clone the public repository::32

Merge remote-tracking branch 'origin/master'Kenneth Reitzbefore adoptionb2c801f

line 33why, one step back
33 $ git clone git://github.com/kennethreitz/requests.git

Merge pull request #1507 from buzztabapp/prepared-session-requestsKenneth Reitzbefore adoption3e6e68b

lines 34–47why, one step back
34
35Download the `tarball <https://github.com/kennethreitz/requests/tarball/master>`_::3637 $ curl -OL https://github.com/kennethreitz/requests/tarball/master3839Or, download the `zipball <https://github.com/kennethreitz/requests/zipball/master>`_::4041 $ curl -OL https://github.com/kennethreitz/requests/zipball/master424344Once you have a copy of the source, you can embed it in your Python package,45or install it into your site-packages easily::4647 $ python setup.py install