https://github.com/blacklight/leap-sdk-python3
Leap Motion SDK - Python 3 module builder
https://github.com/blacklight/leap-sdk-python3
Last synced: over 1 year ago
JSON representation
Leap Motion SDK - Python 3 module builder
- Host: GitHub
- URL: https://github.com/blacklight/leap-sdk-python3
- Owner: blacklight
- Created: 2018-05-22T23:33:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-15T13:20:25.000Z (almost 6 years ago)
- Last Synced: 2025-01-17T05:11:44.347Z (over 1 year ago)
- Language: Makefile
- Size: 2.93 KB
- Stars: 17
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leap Motion SDK Python 3 module builer
The Leap Motion Python module is not [not officially compatible with Python 3](https://developer.leapmotion.com/documentation/python/devguide/Project_Setup.html#recompiling-leappython-for-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
```shell
make
```
## Install the module
```shell
[sudo] make install
```
`PREFIX` (where both `libLeap.so` and the Python bindings will be installed) points to `/usr` by default. Change it if required:
```shell
PREFIX=/your/local/prefix make install
```
## Clean the source directory
```shell
make clean
```
## Uninstall the module
```shell
[sudo] make uninstall
```