Skip to content

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Apr 27, 2025

Add a --compression-level hidden option that can be used to adjust deflate compression level used for written wheels. When not provided, the default level of 6 is used (as before). When provided, accepts 0 to store the file uncompressed, and 0-264 otherwise as zip crate accepts.

Fixes #2566

Add a `--compression-level` hidden option that can be used to adjust
deflate compression level used for written wheels. When not provided,
the default level of 6 is used (as before). When provided, accepts 0
to store the file uncompressed, and 0-264 otherwise as `zip` crate
accepts.

Fixes PyO3#2566
@messense messense merged commit 91707e9 into PyO3:main Apr 28, 2025
42 checks passed
@mgorny mgorny deleted the compression-level branch April 28, 2025 09:29
@mgorny
Copy link
Contributor Author

mgorny commented Apr 28, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build: please add support for specifying the compression level
2 participants