tschoonj / xraylib

A library for X-ray matter interaction cross sections for X-ray fluorescence applications
https://github.com/tschoonj/xraylib/wiki
Other
120 stars 54 forks source link

Fix python bindings compilation with swig using meson #208

Closed tschoonj closed 1 year ago

tschoonj commented 1 year ago

This fixes #207

Closes #201 Closes #197

Basically the meson build invocation of swig did not include the pyfragments.swg file, which is responsible for converting Numpy integers to C counterparts.

@ckoern

kalvdans commented 1 year ago

Tests looks good to me! Hope you can get CI to play along as well.