On Wed, May 25, 2016 at 12:29 PM, Chris Barker <chris.bar...@noaa.gov> wrote: > > Hi folks, > > The standard build of Py3.5 for Windows is built with VS2015 (correct??) And > it includes the runtime dlls it needs. > > However, we've found that wxPython wheels for win32 (not sure about win64) > also need: > > MSVCP140.DLL > > So: wxPython could include that of course, But it looks like it's getting > included with the Matplotlib wheels already (so folks with Matplotlib can run > wx....). I'm just guessing, but this looks like the standard run time for C++ > with that compiler. > > Python itself doesn't use C++, of course, but maybe we should include that > dll with Python anyway -- that way folks can build wheels of packages with > C++ extensions in the normal way, and those wheels will "just work", and we > don't have to have every individual package ship the same dll.
The other challenge with this proposal is that Python 3.5.0 and 3.5.1 have already shipped without this .dll. So the most we could hope for is for it to be included in 3.5.2, and then wxPython and Matplotlib would either have to continue shipping it anyway, or else accept that their wheels actually require 3.5.2+ and will be broken if installed onto 3.5.0 or 3.5.1. And unfortunately there's no way in wheel metadata to express this kind of requirement -- wheels assume that all 3.5.x are both forwards and backwards compatible. So it would just be a weird unexplained breakage that some users would see. An alternative approach would be to stick MSVCP140.DLL into a tiny shim wheel and upload that to PyPI, and then wxPython and matplotlib's windows wheels could declare a dependency on this msvcp410 wheel. Basically this is the idea of my pynativelib proposal, though in this case you would only be using a small piece of the full proposal: https://mail.python.org/pipermail/wheel-builders/2016-April/000090.html (I really need to get back to that... if anyone wants to help sprint on this at PyCon let me know :-)) -n -- Nathaniel J. Smith -- https://vorpus.org _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com