[Distutils] Making a wheel platform-specific?
p.f.moore at gmail.com
Tue Oct 28 14:39:32 CET 2014
On 28 October 2014 13:20, Antoine Pitrou <solipsis at pitrou.net> wrote:
> If I rename the file manually, is there an easy (CLI-based) way of
> uploading it to PyPI?
I think twine can do that for you (and is generally recommended these
days over setup.py upload, as it uses https).
> 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?)
You're right that's probably a more general question. For wheels,
there's a "Root-Is-Purelib" entry in the WHEEL file in the metadata.
That one would need manual hacking, unfortunately.
More information about the Distutils-SIG