[Python-Dev] PEP 0404 and VS 2010 (original) (raw)

Chris Barker chris.barker at noaa.gov
Thu Nov 21 22:27:42 CET 2013


On Thu, Nov 21, 2013 at 1:12 PM, Paul Moore <p.f.moore at gmail.com> wrote:

None of the currently available binary distribution formats distinguish Windows binaries by anything other than minor version. For wheels (and I think eggs), this is a showstopper as the name is essential metadata (compatibility tags) for the other formats (wininst and msi) the name is merely informational - packagers could rename, but (a) they will forget, and (b) the users won't know if they have or not.

exactly.

Before we can cleanly support multiple ABIs for a single minor version on Windows, we need to have a resolution of this dilemma (which may be nothing more than "only binaries for the python.org builds are allowed on PyPI"...)

That's already the unstated case. But besides stackless, it some of us are advocating that there be python.org-provided binaries built with a newer compiler (eventually, anyway). Also, I haven't gotten a reply, but I get the impression that Christian would like stackless-users not to have a n easy way to get this all messed up.

the wheel namign scheme is defined by PEP 425. The bit in play here is:

""" The platform tag is simply distutils.util.get_platform() with all hyphens - and periods . replaced with underscore _. win32 linux_i386 linux_x86_64 """

I suspect that now we have only win32 and win64 for platform_tags for the pyton.org Windows builds. But I'm also pretty sure that, for instance, cygwin builds use a different tag.

And the "official" python.org OS-X builds have two different platform tags for the two builds.

So the precedent is there -- and it's easy enough to keep "win32" as the VS2008 version, and then have a "win32_VS_2010" or whatever for a newer build.

That wouldn't take much to do, and it would allow pip and binary wheels to "just work".

It would be nice if the msi installers could be similarly patched, but I have no idea what that would take.

-Chris

Paul


Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/chris.barker%40noaa.gov

--

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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131121/0079aa4f/attachment.html>



More information about the Python-Dev mailing list