-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
98 lines (87 loc) · 2.8 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
from setuptools import find_packages, setup
PACKAGE_NAME = "taf"
VERSION = "0.33.1"
AUTHOR = "Open Law Library"
AUTHOR_EMAIL = "info@openlawlib.org"
DESCRIPTION = "Implementation of archival authentication"
KEYWORDS = "update updater secure authentication archival"
URL = "https://github.com/openlawlibrary/taf/tree/master"
with open("README.md", encoding="utf-8") as file_object:
long_description = file_object.read()
packages = find_packages()
ci_require = [
"bandit>=1.6.0",
"black>=19.3b0",
"coverage==4.5.3",
"pre-commit>=1.18.3",
"pytest-cov==2.7.1",
"freezegun==0.3.15",
]
executable_require = ["lxml"]
dev_require = ["bandit>=1.6.0", "black>=19.3b0", "pre-commit>=1.18.3"]
tests_require = [
"pytest==8.*",
"freezegun==0.3.15",
"jsonschema==3.2.0",
"jinja2==3.1.*",
]
yubikey_require = ["yubikey-manager==5.5.*"]
kwargs = {
"name": PACKAGE_NAME,
"version": VERSION,
"description": DESCRIPTION,
"long_description": long_description,
"long_description_content_type": "text/markdown",
"url": URL,
"author": AUTHOR,
"author_email": AUTHOR_EMAIL,
"keywords": KEYWORDS,
"packages": packages,
"include_package_data": True,
"data_files": [("lib/site-packages/taf", ["./LICENSE.md", "./README.md"])],
"zip_safe": False,
"install_requires": [
"cattrs>=23.1.2",
"click==8.*",
"colorama>=0.3.9",
"oll-tuf==0.20.0.dev2",
"cryptography==38.0.*",
"securesystemslib==0.25.*",
"loguru==0.7.*",
'pygit2==1.9.*; python_version < "3.11"',
'pygit2==1.14.*; python_version >= "3.11"',
"pyOpenSSL==22.1.*",
"logdecorator==2.*",
],
"extras_require": {
"ci": ci_require,
"test": tests_require,
"dev": dev_require,
"yubikey": yubikey_require,
"executable": executable_require,
},
"tests_require": tests_require,
"entry_points": {
"console_scripts": [
"taf = taf.tools.cli.taf:taf",
"olc = taf.tools.cli.olc:main",
],
},
"classifiers": [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Topic :: Security",
"Topic :: Software Development",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
],
}
setup(**kwargs)