File: installation.rst

package info (click to toggle)
python-pykmip 0.10.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,780 kB
  • sloc: python: 102,455; makefile: 33; sh: 12
file content (38 lines) | stat: -rw-r--r-- 956 bytes parent folder | download | duplicates (3)
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
Installation
============
You can install PyKMIP via ``pip``:

.. code-block:: console

    $ pip install pykmip

Supported platforms
-------------------
PyKMIP is tested on Python 2.7, 3.4, 3.5, 3.6, and 3.7 on the following
operating systems:

* Ubuntu 12.04, 14.04, and 16.04

PyKMIP also works on Windows and MacOSX however these platforms are not
officially supported or tested.

Building PyKMIP on Linux
------------------------
You can install PyKMIP from source via ``git``:

.. code-block:: console

    $ git clone https://github.com/openkmip/pykmip.git
    $ python pykmip/setup.py install

If you are on a fresh Linux build, you may also need several additional system
dependencies, including headers for Python, OpenSSL, ``libffi``, and
``libsqlite3``.

Ubuntu
~~~~~~
Replace ``python-dev`` with ``python3-dev`` if you are using Python 3.0+.

.. code-block:: console

    $ sudo apt-get install python-dev libffi-dev libssl-dev libsqlite3-dev