-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve ZipInfo in writestr_* and from_wheelfile
The following `WheelFile` methods will now preserve `ZipInfo` attributes if a `ZipInfo` object is given to them: - `writestr_data` - `writestr_distinfo` Previously they have not been doing so. The `WheelFile.from_wheelfile` constructor will now also preserve distinfo attributes for the files inside data and distinfo archive directories. Thanks to Maxime Boissonneault (GH @mboisson) for the code he sent in his pull request for this, which served as a guidepost for this implementation's tests and some of the details.
- Loading branch information
Showing
4 changed files
with
181 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters