Re: [pypy-dev] Separate building of the C source files
Hi Elad, On Wed, Sep 14, 2011 at 10:08 PM, Elad Lahav e2la...@gmail.com wrote: Thanks, Armin, but that's the first place I looked. There is no makefile there. Doesn't make much sense to me. A Makefile (not a makefile) should be created. If it wasn't, then maybe it crashed during writing the C sources and you missed this? Sorry to not answer your original question. The issue is that there are various libraries that may or may not be needed, depending on exactly which functions are put or not in the final C sources, not to mention your particular platform; that's why we always rely on the Makefile to say it for us. It's a hard job to figure out manually the list of libraries. You'd have to grep all over the pypy/ directory for libraries = [...] and do the filtering yourself. There is no central place that lists all possible libraries. A bientôt, Armin. ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev
Re: [pypy-dev] Detecting numpy vs micronumpy
On Thu, Sep 15, 2011 at 11:04 PM, Alex Gaynor alex.gay...@gmail.com wrote: The problem I am running into is that import numpy appears to work under PyPy 1.6 (you get micronumpy) but later things like numpy.get_include() don't work (AttributeError). Should I just treat that exception itself as meaning it is micronumpy not real numpy? Thanks, Peter Well, until we implement it anyways :) That's why I think something like import platform; platform.python_implementation == 'PyPy' is a godo way to check. Alex Thanks, I'll use that. Its a shame that wasn't in Python 2.5 though, my copy of Jython doesn't support it either. Peter ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev
Re: [pypy-dev] Detecting numpy vs micronumpy
Hi, On Fri, Sep 16, 2011 at 11:48 AM, Peter Cock p.j.a.c...@googlemail.com wrote: Thanks, I'll use that. Its a shame that wasn't in Python 2.5 though, my copy of Jython doesn't support it either. The older and more robust way to check this is: __pypy__ in sys.builtin_module_names Armin ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev