summaryrefslogtreecommitdiff
path: root/docs/src/gettingstarted/building/example.md
blob: 70999f8fb7298def7f9439b56a05ea0096098855 (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
# Example: commands to build for Python
This section gives an example on how to build and install the library from scratch (assuming you have all the dependencies). It builds the Go library and then builds and installs the Python wrapper.

1. Clone the library
```bash
git clone https://github.com/eduvpn/eduvpn-common
```

2. Go to the library directory
```bash
cd eduvpn-common
```

3. Build the go library
```bash
make
```

4. Build the python wrapper
```bash
make -C wrappers/python
```

5. Install the wheel using pip
```bash
pip install wrappers/python/dist/eduvpncommon-0.2.0-py3-none-linux_x86_64.whl
```
Note that the name of your wheel changes on the platform and version.