[Numpy-discussion] PyPy guys deserve some help on micronumpy from you, numpy gurus!

Peter numpy-discussion@maubp.freeserve.co...
Fri Sep 16 04:49:38 CDT 2011


On Thu, Sep 15, 2011 at 11:34 AM, Peter
<numpy-discussion@maubp.freeserve.co.uk> wrote:
> This may not be the best place to ask, but 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?

For anyone interested, over on the pypy-dev list Alex recommended:
import platform; platform.python_implementation == 'PyPy'
http://mail.python.org/pipermail/pypy-dev/2011-September/008315.html

Peter


More information about the NumPy-Discussion mailing list