-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes CVE-2018-25032. Bump version to 0.2.7.
- Loading branch information
Showing
264 changed files
with
12,764 additions
and
2,281 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
graft src | ||
recursive-include zlib-1.2.11 *.c *.h | ||
recursive-exclude zlib-1.2.11 ChangeLog configure FAQ INDEX Makefile* make_vms.com README | ||
prune zlib-1.2.11/amiga | ||
prune zlib-1.2.11/as400 | ||
prune zlib-1.2.11/examples | ||
prune zlib-1.2.11/msdos | ||
prune zlib-1.2.11/old | ||
prune zlib-1.2.11/projects | ||
prune zlib-1.2.11/qnx | ||
prune zlib-1.2.11/win32 | ||
recursive-include zlib-1.2.12 *.c *.h | ||
recursive-exclude zlib-1.2.12 ChangeLog configure FAQ INDEX Makefile* make_vms.com README | ||
prune zlib-1.2.12/amiga | ||
prune zlib-1.2.12/as400 | ||
prune zlib-1.2.12/examples | ||
prune zlib-1.2.12/msdos | ||
prune zlib-1.2.12/old | ||
prune zlib-1.2.12/projects | ||
prune zlib-1.2.12/qnx | ||
prune zlib-1.2.12/win32 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,20 @@ | |
from setuptools import setup, Extension | ||
|
||
SOURCES = ['src/py_minizip.c', 'src/py_miniunz.c', | ||
'zlib-1.2.11/contrib/minizip/zip.c', 'zlib-1.2.11/contrib/minizip/unzip.c', 'zlib-1.2.11/contrib/minizip/ioapi.c', | ||
'zlib-1.2.11/adler32.c', 'zlib-1.2.11/compress.c', 'zlib-1.2.11/crc32.c', 'zlib-1.2.11/deflate.c', | ||
'zlib-1.2.11/infback.c', 'zlib-1.2.11/inffast.c', 'zlib-1.2.11/inflate.c', | ||
'zlib-1.2.11/inftrees.c', 'zlib-1.2.11/trees.c', 'zlib-1.2.11/uncompr.c', 'zlib-1.2.11/zutil.c'] | ||
'zlib-1.2.12/contrib/minizip/zip.c', 'zlib-1.2.12/contrib/minizip/unzip.c', 'zlib-1.2.12/contrib/minizip/ioapi.c', | ||
'zlib-1.2.12/adler32.c', 'zlib-1.2.12/compress.c', 'zlib-1.2.12/crc32.c', 'zlib-1.2.12/deflate.c', | ||
'zlib-1.2.12/infback.c', 'zlib-1.2.12/inffast.c', 'zlib-1.2.12/inflate.c', | ||
'zlib-1.2.12/inftrees.c', 'zlib-1.2.12/trees.c', 'zlib-1.2.12/uncompr.c', 'zlib-1.2.12/zutil.c'] | ||
|
||
if 'win32' in sys.platform: | ||
SOURCES.append('zlib-1.2.11/contrib/minizip/iowin32.c') | ||
SOURCES.append('zlib-1.2.12/contrib/minizip/iowin32.c') | ||
|
||
def read(fname): | ||
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
|
||
setup( | ||
name = 'pyminizip', | ||
version = '0.2.6', | ||
version = '0.2.7', | ||
description = 'A minizip wrapper - To create a password encrypted zip file in python.', | ||
author='Shin Aoyama', | ||
author_email = "[email protected]", | ||
|
@@ -39,7 +39,7 @@ def read(fname): | |
ext_modules=[ | ||
Extension(name="pyminizip", | ||
sources=SOURCES, | ||
include_dirs=['src','zlib-1.2.11','zlib-1.2.11/contrib/minizip'], | ||
include_dirs=['src','zlib-1.2.12','zlib-1.2.12/contrib/minizip'], | ||
) | ||
], | ||
long_description = read('README.md'), | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.