Numeric and numarray have now been merged into the new NumPy package. Since a number of package are now supporting this newer array package, (matplotlib, scipy) it would be useful to have pyHDF optionally use this package as well.
Logged In: NO
The following changes appear to be all that is required.
---------------in SD.py
try: # replaced Numeric with numpy import numpy as _toto
----------In hdfext_wrap.c
//replace Numeric with numpy #include "numpy/arrayobject.h"
// This case redundant with PyArray_CHAR // case PyArray_SBYTE:
Log in to post a comment.
Logged In: NO
The following changes appear to be all that is required.
---------------in SD.py
try:
# replaced Numeric with numpy
import numpy as _toto
----------In hdfext_wrap.c
//replace Numeric with numpy
#include "numpy/arrayobject.h"
// This case redundant with PyArray_CHAR
// case PyArray_SBYTE: