summaryrefslogtreecommitdiff
path: root/bindings/README.md
blob: 6c9578d6ca1dbbed6672d3cb3fcb6082eb22dba3 (plain) (blame)
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

# Python module

## Prerequisites

The following packages are needed.
Install with pip or via OS package manager.

    pybind11
    numpy
    setuptools

Debian:
    apt install python3-pybind11 python3-numpy python3-setuptools

## Building

To build the module

    python setup.py build_ext --inplace

This will produce a shared library (`.so` on Linux) in PWD, that Python can load.

## Test

To use the module, see the .py file

    python test_galearn_pdm.py