Fwd: Binary Wheels and "universal" builds on OS-X
Accidentally let this slip off the list...
---------- Forwarded message ---------- From: Chris Barker - NOAA Federal email@example.com Date: Mon, Jun 3, 2013 at 1:33 PM Subject: Re: [Distutils] Binary Wheels and "universal" builds on OS-X To: Daniel Holth firstname.lastname@example.org
On Mon, Jun 3, 2013 at 9:57 AM, Daniel Holth email@example.com wrote:
A potential full name:
(Im a little confused about python version tag vs. ABI tag, in the case of a compiled extension...)
The Python Tag is the Python implementation or language version. It lets you indicate compatibility with only CPython or Jython or PyPy even if you do not have compiled extensions:
so, in this case, is is right to put cp27 in there twice?
The platform tag is the OS+architecture.
yeah, kind of wish these were separate, but not really a big deal.
For compatibility matching the tags are expanded to the Cartesian product of the string.split('.') of each of the python, abi, and platform tags. This is mostly only useful when only one part of the tag is compound. http://www.python.org/dev/peps/pep-0425/#compressed-tag-sets
OK -- I think I've got it...
If this doesn't work then it might be more useful to invent a tag like "macosx_10_3_universal" for some value of universal.
hmm -- the trick is that "universal" implies that the binary is, well, universal, but what t really means is "has more than one architecture in it". In practice, there are only a few combinations likely to see use, so maybe just defining a few (only two, now, on the python.org site...) tags makes sense:
macosx_10_3_i386_ppc and macosx_10_6_i386_x86_64
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 - NOAA Federal