| 1 |
.. highlight:: shell |
| 2 |
|
| 3 |
============ |
| 4 |
Installation |
| 5 |
============ |
| 6 |
|
| 7 |
|
| 8 |
Stable release |
| 9 |
-------------- |
| 10 |
|
| 11 |
To install SSE Client, run this command in your terminal: |
| 12 |
|
| 13 |
.. code-block:: console |
| 14 |
|
| 15 |
$ pip install aiohttp-sse-client |
| 16 |
|
| 17 |
This is the preferred method to install SSE Client, as it will always install the most recent stable release. |
| 18 |
|
| 19 |
If you don't have `pip`_ installed, this `Python installation guide`_ can guide |
| 20 |
you through the process. |
| 21 |
|
| 22 |
.. _pip: https://pip.pypa.io |
| 23 |
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/ |
| 24 |
|
| 25 |
|
| 26 |
From sources |
| 27 |
------------ |
| 28 |
|
| 29 |
The sources for SSE Client can be downloaded from the `Github repo`_. |
| 30 |
|
| 31 |
You can either clone the public repository: |
| 32 |
|
| 33 |
.. code-block:: console |
| 34 |
|
| 35 |
$ git clone git://github.com/rtfol/aiohttp-sse-client |
| 36 |
|
| 37 |
Or download the `tarball`_: |
| 38 |
|
| 39 |
.. code-block:: console |
| 40 |
|
| 41 |
$ curl -OL https://github.com/rtfol/aiohttp-sse-client/tarball/master |
| 42 |
|
| 43 |
Once you have a copy of the source, you can install it with: |
| 44 |
|
| 45 |
.. code-block:: console |
| 46 |
|
| 47 |
$ python setup.py install |
| 48 |
|
| 49 |
|
| 50 |
.. _Github repo: https://github.com/rtfol/aiohttp-sse-client |
| 51 |
.. _tarball: https://github.com/rtfol/aiohttp-sse-client/tarball/master |