[Numpy-discussion] unit tests / developing numpy

Graeme B. Bell grb at skogoglandskap.no
Thu Jul 25 05:17:19 EDT 2013


To run unit tests on a dev version of numpy: 
It won't run if you start in the source directory, so a cd is also needed: 



python setup.py build
python setup.py install --prefix=/tmp/numpy
export PYTHONPATH="/tmp/numpy/lib64/python2.7/site-packages/"
cd .. 
python

>>> import numpy
>>> print numpy.version.version
>>> numpy.test()


Adjust according to your version of python.




More information about the NumPy-Discussion mailing list