Skip to content

How to install data  #677

@peekxc

Description

@peekxc

It is mentioned here that one limitation of meson-python is no data--via meson's install_data function---is not available, though it hints that you can perhaps still include data inside a Python module.

How? It is entirely opaque how to proceed.

For example, if I have the layout:

├── pyproject.toml
├── src
│   └── my_package
│       ├── __init__.py
│       ├── data
│       │   └── __init__.py
|       |   ├── meson.build
│       └── meson.build

What do I need to put in either of the meson.build files to use importlib.resources here?

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