Skip to content
Myr

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 file

Take it

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 (PyPI) Mirror26------------------------2728If 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::3031    $ 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