[Distutils] free idea: whim file

Daniel Holth dholth at gmail.com
Mon Nov 9 11:13:47 EST 2015


Sometimes it might be desirable to do wheel-like installs without actually
creating an archive. Instead, a whim (wheel internal manifest) file could
communicate the idea of wheel, just a bunch of files in categories, without
the zip file.

The format would be no more than a mapping of category names 'purelib',
'platlib', 'headers', 'scripts', 'data', to a list of tuples with the
file's path on the disk and its path relative to the category.

{ "category" : [ ('path on disk', 'path relative to category'), ... ] }

The dist-info directory could be segregated into its own category
'metadata' with each target path as "distname-1.0.dist-info/FILE" i.e. its
full path relative to the root of a wheel file.

An installer could consume whim directly bypassing zip. A wheel archiver
could consume a whim file and produce the archive with correct MANIFEST.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151109/c9495080/attachment.html>


More information about the Distutils-SIG mailing list