I think, for the time being, the appropriate solution is to just check the Python version, the original NumPy doesn't run on PyPy so it should be fine.
Dear all,
I tried asking this on the NumPy mailing list, but realise here is more likely:
http://mail.scipy.org/pipermail/numpy-discussion/2011-September/058439.html
How should a python script (e.g. setup.py) distinguish between
real numpy and micronumpy? Or should I instead be looking
to distinguish PyPy versus another Python implementation?
Thanks,
Peter
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev