[Numpy-discussion] Detecting C API mismatch (was Managing Python with NumPy and many external libraries on multiple Windows machines)
David Cournapeau
david at ar.media.kyoto-u.ac.jp
Sun May 10 22:35:11 EDT 2009
Stéfan van der Walt wrote:
> 2009/5/10 David Cournapeau <cournape at gmail.com>:
>
>> I worked on some code to detect C API mismatches both for developers
>> and for users:
>>
>> http://github.com/cournape/numpy/tree/runtime_feature
>>
>
> Great, thanks for taking care of this!
>
> I think the message "ABI version %%x of C-API" is unclear, maybe
> simply use "ABI version %%x" on its own.
>
Ok, I changed it.
> The hash file can be loaded in one line with
>
> np.loadtxt('/tmp/dat.dat', usecols=(0, 2), dtype=[('api', 'S10'),
> ('hash', 'S32')])
>
Well, we need to do this at build time, and we can't assume numpy is
already installed when building numpy :)
David
More information about the NumPy-Discussion
mailing list