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
git clone https://github.com/eduvpn/eduvpn-common
  1. Go to the library directory
cd eduvpn-common
  1. Build the go library
make
  1. Build the python wrapper
make -C wrappers/python
  1. Install the wheel using pip
# x.x.x is the version here
pip install wrappers/python/dist/eduvpncommon-x.x.x-py3-none-linux_x86_64.whl

Note that the name of your wheel changes on the platform and version.