<p dir="ltr"><br>
On 24 Jan 2014 08:03, "Chris Barker" <<a href="mailto:chris.barker@noaa.gov">chris.barker@noaa.gov</a>> wrote:<br>
><br>
> On Thu, Jan 23, 2014 at 12:25 PM, Thomas Heller <<a href="mailto:theller@ctypes.org">theller@ctypes.org</a>> wrote:<br>
>><br>
>> Did I say this before? I would suggest that numpy develops a way<br>
>> where all the SSE binary variations would be installed, and the<br>
>> appropriate ones be loaded at runtime, depending on the user's CPU<br>
>> capabilities. This would also allow py2exe'd distributions to include<br>
>> them all.<br>
><br>
><br>
> That was discussed on the numpy list, and would be really nice, but it may also be really difficult. OS-X has built-in support for multi-architecture binaries, but Windows does not, and while selecting a particular .dll (or .pyd) to load at run-time would be fairly straightforward numpy has more than one, and then there is the whole scipy stack, and all the third-party stuff compiled against it.<br>
><br>
> I suspect this wold have to be built-in to the python importing and distutils build system to be workable. But maybe someone smarter than me will figure it out.<br>
><br>
><br>
>>> Some feedback from the people who did try those wheels would help. I<br>
>>> asked for that on the numpy list after creating them, but didn't get<br>
>>> much. So I haven't been in a hurry to move them over to PyPi.<br>
><br>
><br>
> Serious chicken-egg problem there....<br>
> <br>
>><br>
>> I would have tried wheels for windows, python 3.3 or 3.4, but there aren't any.<br>
><br>
><br>
> Yeah we need to get those up -- SSE2 only ones would work for MOST people.</p>
<p dir="ltr">I really think that's our best near term workaround - still room for improvement, but " pip install numpy assumes SSE2" is a much better situation than "pip install numpy doesn't work on Windows".</p>
<p dir="ltr">Such a change would help a lot of people *right now*, while still leaving room to eventually figure out something more sophisticated (like postinstall hooks or simpler runtime multi-build support or NumPy changing to a dependency that internally makes this decision at runtime).</p>
<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
> -CHB<br>
> <br>
><br>
> -- <br>
><br>
> Christopher Barker, Ph.D.<br>
> Oceanographer<br>
><br>
> Emergency Response Division<br>
> NOAA/NOS/OR&R (206) 526-6959 voice<br>
> 7600 Sand Point Way NE (206) 526-6329 fax<br>
> Seattle, WA 98115 (206) 526-6317 main reception<br>
><br>
> <a href="mailto:Chris.Barker@noaa.gov">Chris.Barker@noaa.gov</a><br>
><br>
> _______________________________________________<br>
> Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
><br>
</p>