-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (52 loc) · 2.05 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (52 loc) · 2.05 KB
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
import re
import setuptools
module_file = open("src/dzip/dzip.py").read()
metadata = dict(re.findall(r"__([a-z_]+)__\s*=\s*\"([^\"]+)\"", module_file))
setuptools.setup(
name="dzip",
version=metadata["version"],
description=metadata["doc"],
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author=metadata["author"],
author_email=metadata["author_email"],
license=metadata["license"],
url=metadata["url"],
keywords="deterministic zip archive",
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: DFSG approved",
"License :: OSI Approved",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Security",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Archiving",
"Topic :: System :: Archiving :: Compression",
"Topic :: System :: Archiving :: Packaging",
"Topic :: Utilities",
],
python_requires=">=2.7",
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
entry_points={"console_scripts": ["dzip=dzip:main", "dunzip=dzip:dunzip"]},
)