summaryrefslogtreecommitdiff
path: root/wrappers/python/README.md
blob: 61759103c30af951fad6b20392f389c22ddcedac (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
# Python wrapper

## Requirements

Python 3.6+ is assumed, but it may work with older versions.

TODO Build

## Build & test

First build the shared Go library. Next:

Build wheel using library for current platform:

```shell
make pack
```

Build wheel using library for specified platform (passed to setuptools `--plat-name`):

```shell
make pack PLAT_NAME=win32
```

To install the wheel, run:

```shell
pip install dist/eduvpncommon-[version]-py3-none-[platform].whl
```

You could also reference the discovery module directly and copy the library for the platform to the `eduvpncommon/lib`
folder.

Test:

```shell
make test
```