Skip to content

[ament_cmake_python] expose the _ament_cmake_python_get_python_install_dir as public? #277

@MaximilienNaveau

Description

@MaximilienNaveau

Issue:

Dear developers,

I would love to have access to the _ament_cmake_python_get_python_install_dir() CMake macros officially publically.

The reason for this is that when ones uses python bindings we need to be able to get the PYTHON_INSTALL_PATH in order to have a consistent installation of the package.

So far I have been calling directly the macros (_ament_cmake_python_get_python_install_dir) in my CMakLists.txt which is never officially recommended as the macros start with and underscore.

Solution:

We could simply remove the underscore before the macros name and therefore allow users to know where ament is going to install the python module.

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions