| OLD | NEW |
| (Empty) |
| 1 .. _install: | |
| 2 | |
| 3 Installation | |
| 4 ============ | |
| 5 | |
| 6 This part of the documentation covers the installation of Requests. | |
| 7 The first step to using any software package is getting it properly installed. | |
| 8 | |
| 9 | |
| 10 Pip Install Requests | |
| 11 -------------------- | |
| 12 | |
| 13 To install Requests, simply run this simple command in your terminal of choice:: | |
| 14 | |
| 15 $ pip install requests | |
| 16 | |
| 17 If you don't have `pip <https://pip.pypa.io>`_ installed (tisk tisk!), | |
| 18 `this Python installation guide <http://docs.python-guide.org/en/latest/starting
/installation/>`_ | |
| 19 can guide you through the process. | |
| 20 | |
| 21 Get the Source Code | |
| 22 ------------------- | |
| 23 | |
| 24 Requests is actively developed on GitHub, where the code is | |
| 25 `always available <https://github.com/kennethreitz/requests>`_. | |
| 26 | |
| 27 You can either clone the public repository:: | |
| 28 | |
| 29 $ git clone git://github.com/kennethreitz/requests.git | |
| 30 | |
| 31 Or, download the `tarball <https://github.com/kennethreitz/requests/tarball/mast
er>`_:: | |
| 32 | |
| 33 $ curl -OL https://github.com/kennethreitz/requests/tarball/master | |
| 34 # optionally, zipball is also available (for Windows users). | |
| 35 | |
| 36 Once you have a copy of the source, you can embed it in your own Python | |
| 37 package, or install it into your site-packages easily:: | |
| 38 | |
| 39 $ python setup.py install | |
| OLD | NEW |