Re: [Numpy-discussion] Determining NPY_ABI_VERSION statically in compiled extensions

2018-10-08 Thread Robert T. McGibbon
Matti, That doesn't quite cover my use case. I'm interested in querying a .whl file containing .so files that were compiled against numpy (not my currently installed version of numpy) to determine the conditions under which those `.so` files were compiled. -Robert On Mon, Oct 8, 2018 at 5:26 PM

Re: [Numpy-discussion] Determining NPY_ABI_VERSION statically in compiled extensions

2018-10-08 Thread Matti Picus
On 08/10/18 23:31, Robert T. McGibbon wrote: Is anyone aware of any tricks that can be played with tools like `readelf`, `nm` or `dlopen` / `dlsym` in order to statically determine what version of numpy a fully-compiled C extension (for example, found inside a wheel) was compiled against? Even