-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
61 lines (48 loc) · 1.91 KB
/
setup.py
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
#-*- coding: UTF-8 -*-
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(name = "openni",
version = "2.3.0",
description = "OpenNI2 and NiTE2 python bindings",
author = "PrimeSense Inc, Séverin Lemaignan, Jerome Flesch, Hajime Murao",
author_email = "primesense.com, severin.lemaignan@brl.ac.uk",
license = "MIT",
url = "https://github.com/severin-lemaignan/openni-python",
packages = ["openni"],
platforms = ["POSIX", "Windows"],
provides = ["openni"],
keywords = "PrimeSense, OpenNI, OpenNI2, Natural Interaction, NiTE, NiTE2",
long_description = """\
Python-bindings for `OpenNI2 <https://github.com/OpenNI/OpenNI2>`_
and `NiTE2 <http://openni.ru/files/nite/>`_.
This package provides only the Python bindings; be sure to install OpenNI2 (and optionally NiTE2) first.
Example::
from openni import openni2
openni2.initialize() # can also accept the path of the OpenNI redistribution
dev = openni2.Device.open_any()
print dev.get_device_info()
depth_stream = dev.create_depth_stream()
depth_stream.start()
frame = depth_stream.read_frame()
frame_data = frame.get_buffer_as_uint16()
depth_stream.stop()
openni2.unload()
.. note:: Refer to the OpenNI2/NiTE2 C API for complete documentation
""",
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
],
)