Hi Jerome, Yeah, don't read too much into my choice of the pep517 wrapper --- IIRC I just did "monkey see, monkey do" on https://github.com/FRidh/mesonpep517examples, it worked for my simple and limited use case and that was it. Last time I checked though, mesonpep517 did not work on Windows (it might have been fixed already, will check at some point). So this depends on your needs I guess.
Evgeni On Mon, Jun 13, 2022 at 12:53 PM Jerome Kieffer <jerome.kief...@esrf.fr> wrote: > > Hi Evgeni, > > Thanks for your input, apparently, you project uses `meson-pep517` > while scipy uses `meson-python` for interfacing meson with the python > side of the building. > > For now, I am not settled on one version or another but among the > python community there should be one and only one obvious way to do > things ... > > Meson does its job properly, the binary extensions are properly > compiled, but neither on my code, nor on scipy, those shared library > are shipped within the wheel. > There are several warnings like this (and many more when building scipy): > > WARNING Using heuristics to map files to wheel, this may result in incorrect > locations > WARNING File could not be mapped to an equivalent wheel directory: > /tmp/build-via-sdist-jsg87qg9/fabio-0.15.0-a0/.mesonpy-5bwmoite/install/usr/lib/python3/dist-packages/fabio/ext/cf_io.cpython-39-x86_64-linux-gnu.so > ({moduledir_shared}/cf_io.cpython-39-x86_64-linux-gnu.so) > > Is this bug fixed is any "unreleased" version of `meson-python` which > would explain this works for some people but not for me ? > The simplest is probably to open a bug there. > > Cheers, > > Jerome > _______________________________________________ > NumPy-Discussion mailing list -- numpy-discussion@python.org > To unsubscribe send an email to numpy-discussion-le...@python.org > https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ > Member address: evgeny.burovs...@gmail.com _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com