[Numpy-discussion] PyPy guys deserve some help on micronumpy from you, numpy gurus!
numpy-discussion at maubp.freeserve.co.uk
Fri Sep 16 05:49:38 EDT 2011
On Thu, Sep 15, 2011 at 11:34 AM, Peter
<numpy-discussion at 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'
More information about the NumPy-Discussion