Replacing distutils with setuptools, npy_int to npy_intp, plus a few cosmetics