Hi All, With a few changes, I was able to get PyGSL-0.3.numpy_test to build with numpy-1.0rc1 on gentoo linux x86.
- (for gentoo users) I did not use the numpy in the portage tree, but installed from source. - I linked the numpy include to be in the same place as Numeric+numarray: ln -s /usr/lib/python2.4/site-packages/numpy/core/include/numpy /usr/include/python2.4 - I made some small changes to a block_helpers_numpy.ic: * intp on line 5 to int * CONTIGUOUS -> NPY_CONTIGUOUS * ALIGNED -> NPY_ALIGNED * WRITABLE -> NPY_WRITABLE, etc. - similar changes for block_helpers.c then I ran: python setup.py build --array-object=numpy Then: In [1]: import pygsl In [2]: pygsl.version Out[2]: '0.3.2' ... In [4]: from pygsl import rng In [5]: myrng = rng.rng() ... In [7]: a = myrng.exponential(0.1,1000) In [8]: type(a) Out[8]: <type 'numpy.ndarray'> looks good. cheers, e. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ pygsl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pygsl-discuss
