[Numpy-discussion] ANN: NumPy 1.6.1 release candidate 3

Robert Kern robert.kern at gmail.com
Mon Jul 11 17:31:01 EDT 2011


On Mon, Jul 11, 2011 at 16:12, Christoph Gohlke <cgohlke at uci.edu> wrote:
>
> I tested rc3. It looks good, except that on win-amd64 whenever numpy is
> imported, a 'Forcing DISTUTILS_USE_SDK=1' is printed from line 377 in
> misc_util.py. Hence some tests of other packages fail.
>
> This is due to a recent change:
> <https://github.com/numpy/numpy/commit/025c8c77bb1e633ea6e8a0cb929528b1fbe85efc>
>
> Now every time numpy is imported, numpy.distutils is also imported. Is
> this necessary or can the import of distutils be deferred?

The get_shared_lib_extension() call could be deferred to inside
load_library() in ctypeslib.py, yes.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list