Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: fix installation with meson-python #140

Closed

Conversation

blmaier
Copy link
Contributor

@blmaier blmaier commented Jun 30, 2024

The meson-python backend fails to map 'dtdiff' install into Python wheels. Removing the prefix from the install_dir path allows meson-python to map dtdiff. The install_data(install_dir) documentation says "If this is a relative path, it is assumed to be relative to the prefix"[1]. So removing the prefix does not change the installation behaviour.

[1] https://mesonbuild.com/Reference-manual_functions.html#install_data

The meson-python backend fails to map 'dtdiff' install into Python
wheels. Removing the prefix from the install_dir path allows
meson-python to map dtdiff. The install_data(install_dir) documentation
says "If this is a relative path, it is assumed to be relative to the
prefix"[1]. So removing the prefix does not change the installation
behaviour.

[1] https://mesonbuild.com/Reference-manual_functions.html#install_data

Signed-off-by: Brandon Maier <[email protected]>
@blmaier
Copy link
Contributor Author

blmaier commented Jun 30, 2024

This is preliminary work towards migrating the Python backend away from deprecated setuptools

@dgibson
Copy link
Owner

dgibson commented Jul 1, 2024

Merged, thanks.

@dgibson dgibson closed this Jul 1, 2024
@blmaier blmaier deleted the meson-fix-installation-with-meson-python branch October 1, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants