-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (24 loc) · 798 Bytes
/
setup.py
File metadata and controls
26 lines (24 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import sys, re, os
try:
from skbuild import setup
import nanobind
except ImportError:
print("The preferred way to invoke 'setup.py' is via pip, as in 'pip "
"install .'. If you wish to run the setup script directly, you must "
"first install the build dependencies listed in pyproject.toml!",
file=sys.stderr)
raise
setup(
name="pyopticam",
version="0.0.1",
author="Johnathon Selstad",
author_email="john.selstad@ultraleap.com",
description="A nanobind wrapper for NaturalPoint's Optitrack Camera SDK",
url="https://github.com/leapmotion/pyopticam",
license="BSD",
packages=['pyopticam'],
package_dir={'': 'src'},
cmake_install_dir="src/pyopticam",
include_package_data=True,
python_requires=">=3.8"
)