[Numpy-discussion] packaging scipy (was Re: Simple financial functions for NumPy)

Gael Varoquaux gael.varoquaux@normalesup....
Mon Apr 7 15:24:58 CDT 2008


On Mon, Apr 07, 2008 at 10:16:57PM +0200, Stéfan van der Walt wrote:
> Would it therefore make sense to

> a) Reorganise numpy to expose functionality as numpy.api.*
> b) Do a series of imports in numpy.__init__ which pulls in from numpy.api.

> This way, numpy.* would look exactly as it does now, bar the added member 'api'.

+1. That way you don't break compatibility, but you provide nested
namespace for people interested in them. You still get the import
overhead. That's too bad.

With some very good engineering, you might even make it possible to ship
only part of numpy for custom installations.

Cheers,

Gaël


More information about the Numpy-discussion mailing list