16 Sep
2011
16 Sep
'11
9:49 a.m.
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