Skip to content

Simple copying of windows DLLs in a wheel #629

Answered by dnicolodi
kpenev asked this question in Q&A
Discussion options

You must be logged in to vote

meson-python assumes that anything installed in {libdir} is a shared library. If you are using Eigen as a dependency, you need to make sure that it is not installed as part of the Python wheel: it does not make sense to distribute a Python wheel containing an headers only library. I think that most likely the meson.build for Eigen in wrapdb should not install the headers in the first place, but that is another issue. You can pass the --skip-subprojects=eigen option to meson install adding

[tool.meson-python.args]
install = ['--skip-subprojects=eigen']

to pyproject.toml.

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
3 replies
@rgommers
Comment options

@kpenev
Comment options

@rgommers
Comment options

Comment options

You must be logged in to vote
1 reply
@dnicolodi
Comment options

Answer selected by kpenev
Comment options

You must be logged in to vote
3 replies
@rgommers
Comment options

@kpenev
Comment options

@rgommers
Comment options

Comment options

You must be logged in to vote
2 replies
@WillAyd
Comment options

@WillAyd
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants