Re: [Numpy-discussion] Minimal NumPy for distribution

2013-09-05 Thread Frédéric Bastien
Hi, thanks for the information. It is very useful to know that the c code could call back to python. Fred On Wed, Sep 4, 2013 at 2:14 PM, Nathaniel Smith wrote: > There do exist numpy c functions that call .py file routines. I don't know > how likely you are to find them in practice, but it d

Re: [Numpy-discussion] Minimal NumPy for distribution

2013-09-04 Thread Nathaniel Smith
There do exist numpy c functions that call .py file routines. I don't know how likely you are to find them in practice, but it definitely happens. You don't need .py files if you have .pyc files, and those can be compressed (python can import directly from .zip files). -n On 4 Sep 2013 18:52, "Fr

[Numpy-discussion] Minimal NumPy for distribution

2013-09-04 Thread Frédéric Bastien
Hi, I have done some exploratory work with Theano to generate a shared library from a Theano function. This link with numpy c api. If we want to distribute this library and call it from C and/or python, what is the minimal installed part of NumPy needed? I suppose that only the c api is needed. Do