summaryrefslogtreecommitdiff
path: root/README.rst
blob: f46b70e9550b81f62e4a186c281784301aa4d9a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
leap.common
===========

.. image:: https://badge.fury.io/py/leap.common.svg
    :target: http://badge.fury.io/py/leap.common
.. image:: https://img.shields.io/pypi/dm/leap.common.svg
    :target: http://badge.fury.io/py/leap.common

A collection of shared utils used by the several python LEAP subprojects.

* leap.common.cert
* leap.common.checks
* leap.common.config
* leap.common.events
* leap.common.files
* leap.common.testing

Library dependencies
--------------------
* ``libssl-dev``

Python dependencies
-------------------
* See ``pkg/requirements.pip``

Extras
-------------------
Using `leap.common.http` needs some extra dependencies (twisted.web >= 14.0.2,
python-service-identity). You can install them by running::

  pip install leap.common[http]


Running the tests
-------------------
To run the tests, first run the setup with:

.. code-block::
pip install -r pkg/requirements.pip
pip install -r pkg/requirements-testing.pip

After that you can run the tests with

.. code-block::
trial leap.common