|
From: Travis O. <oli...@ie...> - 2006-02-07 19:08:41
|
Tim Hochberg wrote: > > A couple of more minor issues. > > 1. numpy/random/mtrand/distributions.c needs M_PI defined if is not > already. I used the def from umathmodule.c: > > #ifndef M_PI > #define M_PI 3.14159265358979323846264338328 > #endif > > 2. The math library m.lib was hardcoded into numpy/random/setup.py. > I simply replaced ['m'] with [], which is probably not right in > general. It should probably be grabbed from config.h. > > 3. This made it through all the compiling, but blew up on linking > randomkit because sever CryptXXX functions were not defined. I added > 'Advapi32' to the libraries list. (In total libraries went from ['m'] > to ['Advapi32']. > > With this I got a full compile. I successfully imported numpy and > added a couple of matrices. Hooray! > > Is there a way to run it through some regression tests? That seems > like it should be the next step. > > Let's see if we can't fix up the setup.py file to handle this common platform correctly.... import numpy numpy.test(1,1) -Travis |