smihica / pyminizip

To create a password encrypted zip file in python.
Other
106 stars 37 forks source link

Optional Prefix path argument on compress methods #19

Closed veon82 closed 6 years ago

veon82 commented 6 years ago

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 commented 6 years ago

Fix error when compiling with old versions of zlib

veon82 commented 6 years ago

Added Python3 Unicode object handling

smihica commented 6 years ago

Thank you @veon82 its a lot of work!

jlmadurga commented 6 years ago

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

smihica commented 6 years ago

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