find_package(Python3) Development.Embed?
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [x] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [x] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [x] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).
### My Question
Open3D `find_package(Python3)` currently requires the `Development` component
https://github.com/isl-org/Open3D/blob/03ed109ede5fa0e6f5572a261dcf263c050bdc01/CMakeLists.txt#L319-L320
Since cmake 3.18.0+, `Development` can be split into `Development.Module` and `Development.Embed`
https://cmake.org/cmake/help/latest/module/FindPython3.html?highlight=Development.Module
Are `Development.Embed` artifacts (e.g., `libpython.so`) actually used by Open3D, or could `find_package` be narrowed to just `Development.Module`? Removing `Development.Embed` would let users build from source in environments such as a manylinux docker which does not include `libpython.so` by design.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.