Unfortunately, the default integer size in NumPy arrays depends on the architecture and on the version of NumPy. We therefore have to assume a specific kind of integers in the Python interface, and chose numpy.int32. The alternative would be to cast the array in the C interface file.
Also fixed a dependency issue in the Makefile, and removed calling the unit tests during module initialization, since module initialization cannot return a Python exception in the normal way (so the code did not compile).
Unfortunately, the default integer size in NumPy arrays depends on the architecture and on the version of NumPy. We therefore have to assume a specific kind of integers in the Python interface, and chose numpy.int32. The alternative would be to cast the array in the C interface file.
Also fixed a dependency issue in the Makefile, and removed calling the unit tests during module initialization, since module initialization cannot return a Python exception in the normal way (so the code did not compile).