mirror of
https://github.com/BlackLight/leap-sdk-python3.git
synced 2024-12-27 11:55:11 +01:00
Leap Motion SDK - Python 3 module builder
97c784b3f7
- Force the use of swig-3, as swig 4 has broken backwards compatibility with some library symbols required by Leap. |
||
---|---|---|
.gitignore | ||
Makefile | ||
README.md |
Leap Motion SDK Python 3 module builer
The Leap Motion Python module is not not officially compatible with Python 3.
This project aims to provide a simple and automated way to build and install your Python 3 module for the Leap Motion.
Dependencies
swig
g++
libpython3-dev
(on Debian/Ubuntu)
Build the module
make
Install the module
[sudo] make install
PREFIX
(where both libLeap.so
and the Python bindings will be installed) points to /usr
by default. Change it if required:
PREFIX=/your/local/prefix make install
Clean the source directory
make clean
Uninstall the module
[sudo] make uninstall