summaryrefslogtreecommitdiff
path: root/docs/src/gettingstarted/building/python.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/gettingstarted/building/python.md')
-rw-r--r--docs/src/gettingstarted/building/python.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/src/gettingstarted/building/python.md b/docs/src/gettingstarted/building/python.md
new file mode 100644
index 0000000..6995f9e
--- /dev/null
+++ b/docs/src/gettingstarted/building/python.md
@@ -0,0 +1,19 @@
+# Python Wrapper
+
+To build the python wrapper issue the following command (in the root directory of the eduvpn-common project):
+
+```bash
+make -C wrappers/python
+```
+
+This uses the makefile in `wrappers/python/Makefile` to build the python file into a wheel placed in `wrappers/python/dist/eduvpncommon-[version]-py3-none-[platform].whl`. Where version is the version of the library and platform is your current platform. Like Go you can also build for a specific platform:
+
+```bash
+make PLAT_NAME=win32
+```
+
+The wheel can be installed with `pip`:
+
+```bash
+pip install ./wrappers/python/dist/eduvpncommon-[version]-py3-none-[platform].whl
+```