[Distutils] local platform tags and pip wheel caching

Nick Coghlan ncoghlan at gmail.com
Sat Jun 13 18:42:04 CEST 2015


On 10 June 2015 at 10:05, Daniel Holth <dholth at gmail.com> wrote:
> The platform tag is quite pure enough for this use case.

Aye, +1 from me as well.

Overriding the platform tag entirely also has the benefit of letting
you categorically prevent the use of wheels from PyPI when you want to
force local from-source builds.

I've also been pondering this question a fair bit in the context of
wanting to be able to define "RHEL 7 + derivatives" as a platform, and
between not only full distro derivatives like CentOS and OEL, but also
internal variations like RHEL Atomic, Red Hat Storage and
RHEL-for-ARM, trying to *derive* the ABI from OS level info in a
generic way gets close to impossible.

An explicit platform override would make it possible to simply adopt
"EPEL7" as the platform tag for such wheel files, since they'd be the
Python level equivalent of the pre-built EPEL RPMs [1]

Cheers,
Nick.

[1] https://fedoraproject.org/wiki/EPEL

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Distutils-SIG mailing list