-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
57 lines (54 loc) · 1.97 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from pathlib import Path
from setuptools import Extension, find_packages, setup
readme_file = Path(__file__).parent / 'README.md'
with readme_file.open() as f:
long_description = f.read()
setup(
name='zipfile-deflate64',
description="Extract Deflate64 ZIP archives with Python's zipfile API.",
long_description=long_description,
long_description_content_type='text/markdown',
license='Apache 2.0',
url='https://github.com/brianhelba/zipfile-deflate64',
project_urls={
'Bug Reports': 'https://github.com/brianhelba/zipfile-deflate64/issues',
'Source': 'https://github.com/brianhelba/zipfile-deflate64',
},
author='Kitware, Inc.',
author_email='[email protected]',
keywords='zip zipfile deflate deflate64',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python',
'Topic :: System :: Archiving',
'Topic :: System :: Archiving :: Compression',
],
python_requires='>=3.6',
packages=find_packages(),
ext_modules=[
Extension(
'zipfile_deflate64.deflate64',
[
'zlib/zutil.c',
'zlib/contrib/infback9/infback9.c',
'zlib/contrib/infback9/inftree9.c',
'zipfile_deflate64/deflate64/deflate64module.c',
],
include_dirs=[
'zlib',
'zlib/contrib/infback9',
],
),
],
)