Leap Motion SDK - Python 3 module builder
Find a file
Fabio Manganiello 97c784b3f7 - More robust Python include directory lookup
- Force the use of swig-3, as swig 4 has broken backwards compatibility
  with some library symbols required by Leap.
2020-01-10 00:07:55 +01:00
.gitignore gitignore 2018-05-23 01:39:08 +02:00
Makefile - More robust Python include directory lookup 2020-01-10 00:07:55 +01:00
README.md First commit 2018-05-23 01:33:47 +02:00

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