optional installation location of python binding
| Required Info | |
|---|---|
| Camera Model | SR300 |
| Firmware Version | |
| Operating System & Version | UBUNTU 16.04 |
| Kernel Version (Linux Only) | 4.4.0-109-generic |
| SDK Version | rs2 |
Is it possible to provide a customised value for LIBRARY DESTINATION when installing the Python wrapper? It's currently using CMAKE_INSTALL_LIBDIR but lib/pythonx.x/site-packages would be more preferable since sometimes we build python from source with different configurations.
Additionally, it'll be great if the author can mention two configurable variables PYTHON_INCLUDE_DIRS and PYTHON_LIBRARIES in README, which are provided by pybind11.
Thanks!
Hi @marvin-hao ,
Why do you need the pybind11's cmake variables? Is the -DPYTHON_EXECUTABLE not enough?
Hello @marvin-hao,
Do you still need help with this issue?
Regards, Jesus G. Intel Customer Support
Hi @jlgarcia75,
Currently, we copy all binaries to site-packages manually. It makes more sense if it can install the Python wrapper in PYTHON_LIBRARIES like what OpenCV did, instead of CMAKE_INSTALL_LIBDIR.
Thank you!
[Realsense Customer Engineering Team Comment] Hello @marvin-hao,
Thanks for your feedback, it has been forwarded to the engineering team. Closing issue.
Regards, Jesus G. Intel Customer Support