[Distutils] Making a wheel platform-specific?

Antoine Pitrou solipsis at pitrou.net
Tue Oct 28 14:20:21 CET 2014

On Tue, 28 Oct 2014 13:15:09 +0000
Paul Moore <p.f.moore at gmail.com> wrote:

> On 28 October 2014 12:57, Antoine Pitrou <solipsis at pitrou.net> wrote:
> > I would like to tell bdist_wheel to therefore tag the package as a
> > Python-independent, platform-dependent binary package. There doesn't
> > seem to be a way of doing so, or is there?
> I don't believe there is at the moment. But the tags are *only*
> recorded in the filename, so it's perfectly OK to simply rename the
> wheel file manually after it's created.
> It would be nice to file a feature request for this on the wheel
> tracker (https://bitbucket.org/pypa/wheel) as well, if there's nothing
> there already, so we don't forget.

Ok, will do. I was assuming the compatibility tags would be recorded
somewhere in the metadata.

If I rename the file manually, is there an easy (CLI-based) way of
uploading it to PyPI?

Also, there's a remaining issue: how do I tell wheel that the package
needs platlib rather than purelib?
(may that question also apply to other bdist* flavours?)



More information about the Distutils-SIG mailing list