[Distutils] Wheel PEP

Nick Coghlan ncoghlan at gmail.com
Sun Sep 23 08:26:28 CEST 2012


On Sun, Sep 23, 2012 at 1:31 PM, Daniel Holth <dholth at gmail.com> wrote:
> Initial wheel PEP text up in approximate PEP format at
> https://bitbucket.org/dholth/python-peps/changeset/5ffb06c1de6
>
> Is it OK to push this to python.org/peps?

Yes, much better to have that as an initial draft rather than the
current placeholder.

I do have a comment prompted by the existing FAQ entry attempting to
explain the ".data" suffix. I'd favour something more like
".dist-scheme" or ".dist-paths", to provide a better link to the
relevant part of the sysconfig API
(http://docs.python.org/dev/library/sysconfig.html#installation-paths).
The PEP should also link to that section of the sysconfig docs when
first discussing the "root-is-purelib" setting.

It's also not quite true that the contents of a wheel aren't
importable - since they're still just a zipfile, they can still be
added to an import path in the same manner as egg files. It's just not
*recommended* to use them that way, as the format is designed
primarily for use in distribution rather than runtime imports.

Cheers,
Nick.

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


More information about the Distutils-SIG mailing list