[Distutils] PEP 517: Open questions around artifact export directories
Donald Stufft
donald at stufft.io
Mon Jun 12 18:42:48 EDT 2017
> On Jun 12, 2017, at 6:34 PM, Paul Moore <p.f.moore at gmail.com> wrote:
>
> On 12 June 2017 at 21:57, Thomas Kluyver <thomas at kluyver.me.uk> wrote:
>> There is a certain appeal to using the zipped .whl file as the canonical
>> format for all tools that produce or consume wheels, rather than defining a
>> closely related but distinct 'unpacked wheel' format. A directory and a zip
>> file do not have 100% identical features (filename encodings may differ,
>> entries in a zip file are ordered, there may be metadata in one format
>> that's not present in the other, and so on).
>
> This is a reasonable point. As I understand it, zipfiles are
> guaranteed to support the full Unicode range for filenames, via UTF-8.
> But it's not impossible for filesystems to only support a limited
> subset (for example, I believe the encoding used for FAT32 filesystems
> is not clearly defined, but is probably some 8-bit codepage, and Unix
> systems rely on whatever encoding the user has specified via the
> locale settings).
As always, it’s complicated — https://marcosc.com/2008/12/zip-files-and-encoding-i-hate-you/ <https://marcosc.com/2008/12/zip-files-and-encoding-i-hate-you/>
—
Donald Stufft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170612/529184aa/attachment.html>
More information about the Distutils-SIG
mailing list