Skip to content

python.extension_module() writes the absolute destination path in meson-info/intro-install_plan.json #10777

Closed as not planned
@dnicolodi

Description

@dnicolodi

The documentation says that the destination paths in meson-info/intro-install_plan.json should use placeholders for the base directories. meson-python relies upon this for detecting whether a project installs python extensions modules, checking for any of destinations including any of {bindir}, {libdir_shared}, {libdir_static}, {py_platlib}, {moduledir_shared}.

Entries for python.extension_module() targets however do not contain any placeholder. IIUC,meson-python expects them to contain {py_platlib}.

Is this a bug on how intro-install_plan.json is put together or is meson-python expectation wrong?

I tested this with Meson 0.60 to 0.63.2 and the behavior is the same.

See https://github.com/FFY00/meson-python/issues/124

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions