Skip to content

find_package(Python3) Development.Embed? #7468

@drewgilliam

Description

@drewgilliam

Checklist

My Question

Open3D find_package(Python3) currently requires the Development component

Open3D/CMakeLists.txt

Lines 319 to 320 in 03ed109

find_package(Python3 3.6
COMPONENTS Interpreter Development)

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions