Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional Prefix path argument on compress methods #19

Merged
merged 9 commits into from
May 8, 2018

Conversation

veon82
Copy link
Contributor

@veon82 veon82 commented May 5, 2018

This PR is a trivial implementation that adds a functionality to the existing compress and compress_multiple methods.

The produced zip file, if prefix path is specified, can store internal files with a specified path instead of flattening the contents of the archive.

Also some compile-time warnings on py_miniunz.c are fixed.

@veon82
Copy link
Contributor Author

veon82 commented May 5, 2018

Fix error when compiling with old versions of zlib

@veon82
Copy link
Contributor Author

veon82 commented May 7, 2018

Added Python3 Unicode object handling

@smihica smihica merged commit 56c284a into smihica:master May 8, 2018
@smihica
Copy link
Owner

smihica commented May 8, 2018

Thank you @veon82 its a lot of work!

@veon82 veon82 deleted the prefix_path branch May 8, 2018 06:56
@jlmadurga
Copy link

@smihica this 0.2.2 version is not pushed pypi. Any reason?

@smihica
Copy link
Owner

smihica commented May 15, 2018

I have uploaded. thank you.
https://pypi.org/project/pyminizip/0.2.2/

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.

4 participants