<div dir="ltr"><span style="line-height:1.5">In the example setup.py would at least do the nested unzipping, but you would not be able to patch before running setup.py. Also expect disruption from future sdists that don't have setup.py. Both changes if implemented would surely be opt-in per dist and would not break everything all at once. Of course there would have to be a different #sha256= tag for a hash of the uncompressed contents. The 'multiple versions with different compression algorithms' idea assumes some consumers don't have .xz and would prefer the .gz version for example. FYI zipfile in Python 3 supports lzma compression.</span><div><br></div><div class="gmail_quote"><div dir="ltr">On Mon, Aug 22, 2016 at 10:59 AM Donald Stufft <<a href="mailto:donald@stufft.io" target="_blank">donald@stufft.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On Aug 22, 2016, at 10:29 AM, Daniel Holth <<a href="mailto:dholth@gmail.com" target="_blank">dholth@gmail.com</a>> wrote:</div><br><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">pypi is now free to re-compress without additional input from the publisher. Both .gz and .lzma versions etc. could be offered.</span></div></blockquote></div><br><div><br></div></div><div style="word-wrap:break-word"><div>I am not opposed to changes to the file format to enable better compression, that being said I’m not particularly motivated by the ability to have PyPI re-compress things. It’s not something I can see PyPI ever taking advantage of. In addition to that, you can’t really just change the meaning of the existing things, like the #sha256=…. because you’ll break every released version of pip to date (for example).</div><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br>—</div></div></div><div style="word-wrap:break-word"><div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br>Donald Stufft<br></div></div></div></blockquote></div></div>