[Distutils] the 'wheel' binary package format

Daniel Holth dholth at gmail.com
Sun Sep 30 14:56:49 CEST 2012


Here is the reference implementation (so far) for PEP 425
"Compatibility tags...". It produces a list like so, intended to
express which similarly tagged binary distributions the current Python
can run.

import pep425tags, pprint
pprint.pprint(pep425tags.get_supported())

[('cp33', 'cp33m', 'linux_x86_64'),
 ('cp33', 'abi3', 'linux_x86_64'),
 ('cp33', 'none', 'linux_x86_64'),
 ('cp33', 'none', 'any'),
 ('cp3', 'none', 'any'),
 ('cp32', 'none', 'any'),
 ('cp31', 'none', 'any'),
 ('cp30', 'none', 'any'),
 ('py33', 'none', 'any'),
 ('py3', 'none', 'any'),
 ('py32', 'none', 'any'),
 ('py31', 'none', 'any'),
 ('py30', 'none', 'any')]

https://bitbucket.org/dholth/pep425tags/src/542429eaa92d/pep425tags.py

I would like to figure out what to do with abi3, have better freebsd
support, make sure OSX works, figure out whether the rules can make
sense in English as well as in Python.

Thanks,

Daniel


More information about the Distutils-SIG mailing list