| 1 |
============ |
| 2 |
Installation |
| 3 |
============ |
| 4 |
|
| 5 |
Users |
| 6 |
----- |
| 7 |
|
| 8 |
To use leather install it with pip:: |
| 9 |
|
| 10 |
pip install leather |
| 11 |
|
| 12 |
Developers |
| 13 |
---------- |
| 14 |
|
| 15 |
If you are a developer that also wants to hack on leather, install it from git:: |
| 16 |
|
| 17 |
git clone git://github.com/wireservice/leather.git |
| 18 |
cd leather |
| 19 |
mkvirtualenv leather |
| 20 |
|
| 21 |
pip install -e .[test] |
| 22 |
|
| 23 |
python setup.py develop |
| 24 |
|
| 25 |
.. note:: |
| 26 |
|
| 27 |
To run the leather tests with coverage:: |
| 28 |
|
| 29 |
pytest --cov leather |
| 30 |
|
| 31 |
Supported platforms |
| 32 |
------------------- |
| 33 |
|
| 34 |
leather supports the following versions of Python: |
| 35 |
|
| 36 |
* Python 2.7 |
| 37 |
* Python 3.3+ |
| 38 |
* `PyPy <https://www.pypy.org/>`_ |
| 39 |
|
| 40 |
It is tested primarily on OSX, but due to its minimal dependencies it should work on both Linux and Windows. |
| 41 |
|
| 42 |
.. note:: |
| 43 |
|
| 44 |
`iPython <https://ipython.org/>`_ or `Jupyter <https://jupyter.org/>`_ user? Leather works great there too. |