On 18 April 2015 at 18:27, Vinay Sajip <[email protected]> wrote: > Wouldn't it be safer for the stub to work correctly in the presence of a > signature? Presumably it could use a different algorithm to locate the > archive directory, rather than just expecting it to be at the end of the > file.
It's the definition of the zip format which mandates that you seek from the end of file to get the directory. Sure, bdist_wininst could write its own code based on its current zip extraction code, but the fact that wininst files are zip files is used elsewhere (wheel convert uses it, and I have used it to investigate wininst files by opening them in 7-zip). Paul _______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
