[prev in list] [next in list] [prev in thread] [next in thread]
List: python-distutils-sig
Subject: [Distutils] free idea: whim file
From: Daniel Holth <dholth () gmail ! com>
Date: 2015-11-09 16:13:47
Message-ID: CAG8k2+5d6-5dsqM6QbsePWgG9WwVJUk+Rs63o7NxjhREJO4PJg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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.
[Attachment #5 (text/html)]
<div dir="ltr">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.<div><br></div><div>The format would be no more than a mapping of category names \
<span style="color:rgb(0,0,0);line-height:normal;white-space:pre-wrap">'purelib', \
'platlib', 'headers', </span><span \
style="color:rgb(0,0,0);line-height:normal;white-space:pre-wrap">'scripts', \
'data', to a list of tuples with the file's path on the disk and its path \
relative to the category.</span></div><div><br></div><div>{ "category" : [ \
('path on disk', 'path relative to category'), ... ] \
}</div><div><br></div><div><div><span \
style="color:rgb(0,0,0);line-height:normal;white-space:pre-wrap">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.</span></div></div><div><span \
style="color:rgb(0,0,0);line-height:normal;white-space:pre-wrap"><br></span></div><div>An \
installer could consume whim directly bypassing zip. A wheel archiver could consume a \
whim file and produce the archive with correct MANIFEST.</div></div>
_______________________________________________
Distutils-SIG maillist - Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic