summaryrefslogtreecommitdiff
path: root/bindings/README.md
blob: dee8dfc9dedecdca116798fdc35ff2779732bf9f (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

# Python module

## Prerequisites

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

    pybind11
    numpy
    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