install.rst
This file
Path
docs/user/install.rst
53 lines · 1.5 KiB
Last changed by
not tablibKenneth Reitzbefore adoptionf9f3b46
History of this fileTake it
can/cantKenneth Reitzbefore adoption054891a
line 1why, one step back1.. _install:docs updateKenneth Reitzbefore adoptiond18ea48
line 2why, one step back2docs refactorKenneth Reitzbefore adoptionf1f5788
lines 3–5why, one step back3Installation4============5not tablibKenneth Reitzbefore adoptionf9f3b46
line 6why, one step back6This 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 back78docs refactorKenneth Reitzbefore adoptionf1f5788
lines 9–11why, one step back9Distribute & Pip10----------------11installationKenneth Reitzbefore adoptiond39cde2
line 12why, one step back12Installing requests is simple with `pip <http://www.pip-installer.org/>`_::docs refactorKenneth Reitzbefore adoptionf1f5788
line 13why, one step back13installationKenneth Reitzbefore adoptiond39cde2
line 14why, one step back14 $ pip install requestsdocs refactorKenneth Reitzbefore adoptionf1f5788
line 15why, one step back15installationKenneth Reitzbefore adoptiond39cde2
line 16why, one step back16or, with `easy_install <http://pypi.python.org/pypi/setuptools>`_::docs refactorKenneth Reitzbefore adoptionf1f5788
line 17why, one step back17installationKenneth Reitzbefore adoptiond39cde2
line 18why, one step back18 $ easy_install install requestsdocs refactorKenneth Reitzbefore adoptionf1f5788
line 19why, one step back19installationKenneth Reitzbefore adoptiond39cde2
lines 20–31why, one step back20But, 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 requests3031docs refactorKenneth Reitzbefore adoptionf1f5788
lines 32–34why, one step back32Get the Code33------------34installationKenneth Reitzbefore adoptiond39cde2
lines 35–53why, one step back35Requsts is actively developed on GitHub, where the code is36`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