1 from setuptools
import setup, find_packages
2 from setuptools.dist
import Distribution
5 from pyrealsense2._version
import __version__
10 package_name =
"pyrealsense2" 13 print(
"version = ", __version__)
16 with io.open(
'README.rst', encoding=
"utf-8")
as f:
19 if os.name ==
'posix':
20 package_data[package_name] = [
'*.so']
22 package_data[package_name] = [
'*.pyd',
'*.dll']
35 author=
'Intel(R) RealSense(TM)',
36 author_email=
'realsense@intel.com',
37 url=
'https://github.com/IntelRealSense/librealsense',
38 scripts=[
'examples/align-depth2color.py',
39 'examples/export_ply_example.py',
40 'examples/opencv_viewer_example.py',
41 'examples/python-rs400-advanced-mode-example.py',
42 'examples/python-tutorial-1-depth.py' 44 license=
'Apache License, Version 2.0',
45 description=
'Python Wrapper for Intel Realsense SDK 2.0.',
49 'Development Status :: 3 - Alpha',
50 'Environment :: Console',
51 'Intended Audience :: Developers',
52 'Intended Audience :: Education',
53 'Intended Audience :: Science/Research',
54 'License :: OSI Approved :: Apache Software License',
55 'Operating System :: Microsoft :: Windows',
56 'Operating System :: POSIX',
57 'Operating System :: Unix',
58 'Programming Language :: Python',
59 'Programming Language :: Python :: 2',
60 'Programming Language :: Python :: 2.7',
61 'Programming Language :: Python :: 3',
62 'Programming Language :: Python :: 3.6',
63 'Programming Language :: Python :: 3.7',
64 'Programming Language :: Python :: 3.8',
65 'Programming Language :: Python :: 3.9',
66 'Topic :: Multimedia :: Video',
67 'Topic :: Scientific/Engineering',
68 'Topic :: Scientific/Engineering :: Human Machine Interfaces',
69 'Topic :: Scientific/Engineering :: Image Recognition',
70 'Topic :: Software Development',
71 'Topic :: Software Development :: Libraries :: Application Frameworks' 73 packages=find_packages(exclude=[
'third_party',
'docs',
'examples']),
74 include_package_data=
True,
76 package_data=package_data
static std::string print(const transformation &tf)