To answer my own question in a clumsy way:

To run unit tests on a dev version of numpy: 


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

python

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



Adjust according to your version of python.



On Jul 25, 2013, at 10:47 AM, Graeme Bell <[email protected]> wrote:

> 
> Does anyone know how to get the unit tests to run on a local fork, without 
> doing a complete install of numpy? 
> 
> If so, please can you describe it, or better still, update: 
> http://docs.scipy.org/doc/numpy/dev/gitwash/development_workflow.html
> 
> It seems strange that the development workflow doesn't mention running any 
> tests before committing/pushing/pulling.
> 
> Graeme.

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to