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

1.. _install:23Installation4============56This part of the documentation covers the installation of Requests. The first step to using any software package is getting it properly installed.789Distribute & Pip10----------------1112Installing requests is simple with `pip <http://www.pip-installer.org/>`_::1314    $ pip install requests1516or, with `easy_install <http://pypi.python.org/pypi/setuptools>`_::1718    $ easy_install install requests1920But, 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 requests303132Get the Code33------------3435Requsts 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