install.rst
This file
Path
docs/user/install.rst
56 lines · 1.5 KiB
Last changed by
Merge pull request #1474 from Kwpolska/docfixKenneth Reitzbefore adoptiond83919a
History of this fileTake it
The walk stopped after 200 commits: lines older than ac5e680 point at it.
Merge pull request #1145 from sigmavirus24/masterKenneth Reitzbefore adoptionac5e680
lines 1–12why, one step back1.. _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----------------12Merge pull request #1474 from Kwpolska/docfixKenneth Reitzbefore adoptiond83919a
line 13why, one step back13Installing Requests is simple with `pip <http://www.pip-installer.org/>`_::Merge pull request #1145 from sigmavirus24/masterKenneth Reitzbefore adoptionac5e680
lines 14–24why, one step back1415 $ 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>`_.222324Merge pull request #1474 from Kwpolska/docfixKenneth Reitzbefore adoptiond83919a
lines 25–26why, one step back25Cheeseshop (PyPI) Mirror26------------------------Merge pull request #1145 from sigmavirus24/masterKenneth Reitzbefore adoptionac5e680
line 27why, one step back27Merge pull request #1474 from Kwpolska/docfixKenneth Reitzbefore adoptiond83919a
lines 28–29why, one step back28If the Cheeseshop (a.k.a. PyPI) is down, you can also install Requests from one29of the mirrors. `Crate.io <http://crate.io>`_ is one of them::Merge pull request #1145 from sigmavirus24/masterKenneth Reitzbefore adoptionac5e680
lines 30–56why, one step back3031 $ pip install -i http://simple.crate.io/ requests323334Get 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