[Distutils] pip on windows experience
Nick Coghlan
ncoghlan at gmail.com
Fri Jan 24 00:58:29 CET 2014
On 24 Jan 2014 08:03, "Chris Barker" <chris.barker at noaa.gov> wrote:
>
> On Thu, Jan 23, 2014 at 12:25 PM, Thomas Heller <theller at ctypes.org>
wrote:
>>
>> Did I say this before? I would suggest that numpy develops a way
>> where all the SSE binary variations would be installed, and the
>> appropriate ones be loaded at runtime, depending on the user's CPU
>> capabilities. This would also allow py2exe'd distributions to include
>> them all.
>
>
> 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.
>
> 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.
>
>
>>> Some feedback from the people who did try those wheels would help. I
>>> asked for that on the numpy list after creating them, but didn't get
>>> much. So I haven't been in a hurry to move them over to PyPi.
>
>
> Serious chicken-egg problem there....
>
>>
>> I would have tried wheels for windows, python 3.3 or 3.4, but there
aren't any.
>
>
> Yeah we need to get those up -- SSE2 only ones would work for MOST people.
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".
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).
Cheers,
Nick.
>
> -CHB
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker at noaa.gov
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140124/490f4713/attachment-0001.html>
More information about the Distutils-SIG
mailing list