Skip to content

How to install data  #677

Closed
Closed

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?

Activity

  1. locked and limited conversation to collaborators on Oct 6, 2024
  2. converted this issue into a discussion #678 on Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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