<div dir="ltr">Nathaniel,<div><br></div><div>I'm not sure what the software is supposed to do with fine grained dynamic metadata that would make very much sense to the end user. I think you could probably get away with a single flag Dynamic: true / false. Iff true, pip runs the dist-info command after installing bootstrap dependencies. You could still complain if the name & version changed. Of course in a VCS checkout or during development you probably always want the regenerate-metadata behavior.</div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 28, 2015 at 5:18 AM Nathaniel Smith <<a href="mailto:njs@pobox.com" target="_blank">njs@pobox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Oct 27, 2015 at 7:00 AM, David Cournapeau <<a href="mailto:cournape@gmail.com" target="_blank">cournape@gmail.com</a>> wrote:<br>
><br>
><br>
> On Tue, Oct 27, 2015 at 1:12 PM, Daniel Holth <<a href="mailto:dholth@gmail.com" target="_blank">dholth@gmail.com</a>> wrote:<br>
>><br>
>> The drawback of .zip is file size since it compresses each file<br>
>> individually rather than giving the compression algorithm a larger input,<br>
>> it's a great format otherwise. Ubiquitous including Apple iOS packages,<br>
>> Java, word processor file formats. And most Python packages are small.<br>
><br>
><br>
> I don't really buy the indexing advantages, especially w/ the current<br>
> implementation of zipfile in python (e.g. loading the whole set of archives<br>
> at creation time)<br>
<br>
Can you elaborate about what you mean? AFAICT from a quick skim of the<br>
source code, zipfile does eagerly read in the table of contents for<br>
the zip file (i.e., it reads out the list of files and their<br>
metadata), but no actual files are decompressed until you ask for them<br>
individually, and when you do request a specific file then it can be<br>
accessed in O(1) time. This is really different from .tar.gz, where<br>
you have to decompress the entire archive just to get a list of files,<br>
and then you need to decompress the whole thing again each time you<br>
want to access a single file inside.<br>
<br>
(Regarding the size thing, yeah, .tar.gz is smaller, and .tar.bz2<br>
smaller than that, and .tar.xz smaller again, ... but this doesn't<br>
strike me as an argument for throwing up our hands and leaving the<br>
choice to individual projects, because it's not like they know what<br>
the optimal trade-off is either. IMO we should pick one, and zip is<br>
Good Enough.)<br>
<br>
-n<br>
<br>
--<br>
Nathaniel J. Smith -- <a href="http://vorpus.org" rel="noreferrer" target="_blank">http://vorpus.org</a><br>
</blockquote></div></div></div>