-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Description
Currently, meson-python doesn't support files under {prefix}/share. For some files (those that explicitly go to {datadir}, which is usually {prefix}/share) it will not crash, but those file will go to {prefix}, not {prefix}/share, in the python installation. For most files, it will just refuse to build the wheel.
This currently prevents wheel installation of Meld.
To reproduce:
git clone --depth=1 https://gitlab.gnome.org/GNOME/meld.git
python3 -m venv /tmp/venv
/tmp/venv/bin/pip install meld/
...
meson-python: error: Could not map installation path to an equivalent wheel directory: '{prefix}/share/help/cs/meld/command-line.page'
Note that if you replace meson-python>=0.5.0 with meson-python==0.5.0 in meld/pyproject.toml the installation seems to succeed, but the files that should be in {prefix}/share are under {prefix}, for example, you'll find /tmp/venv/icons and /tmp/venv/meld which should have been /tmp/venv/share/icons and /tmp/venv/share/meld.
Metadata
Metadata
Assignees
Labels
No labels