-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (98 loc) · 2.89 KB
/
pyproject.toml
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "tno.mpc.encryption_schemes.elgamal"
description = "Implementation of the ElGamal Encryption Scheme"
readme = "README.md"
authors = [{ name = "TNO PET Lab", email = "[email protected]" }]
maintainers = [{ name = "TNO PET Lab", email = "[email protected]" }]
keywords = [
"TNO",
"MPC",
"multi-party computation",
"encryption schemes",
"elgamal",
"cryptosystem",
"homomorphic encryption",
]
license = { text = "Apache License, Version 2.0" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Typing :: Typed",
"Topic :: Security :: Cryptography",
]
urls = { Homepage = "https://pet.tno.nl/", Documentation = "https://docs.pet.tno.nl/mpc/encryption_schemes/elgamal/1.1.5", Source = "https://github.com/TNO-MPC/encryption_schemes.elgamal" }
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"tno.mpc.encryption_schemes.templates~=4.0",
"tno.mpc.encryption_schemes.utils~=0.9",
]
[project.optional-dependencies]
gmpy = [
"tno.mpc.encryption_schemes.utils[gmpy]",
]
communication = [
"tno.mpc.communication~=4.8",
]
tests = [
"tno.mpc.encryption_schemes.elgamal[communication]",
"pytest",
"pytest-asyncio",
]
[tool.setuptools]
platforms = ["any"]
[tool.setuptools.dynamic]
version = {attr = "tno.mpc.encryption_schemes.elgamal.__version__"}
[tool.setuptools.package-data]
"*" = ["py.typed"]
[tool.coverage.run]
branch = true
omit = ["*/test/*"]
[tool.coverage.report]
precision = 2
show_missing = true
[tool.isort]
profile = "black"
known_tno = "tno"
known_first_party = "tno.mpc.encryption_schemes.elgamal"
sections = "FUTURE,STDLIB,THIRDPARTY,TNO,FIRSTPARTY,LOCALFOLDER"
no_lines_before = "LOCALFOLDER"
[tool.mypy]
mypy_path = "src,stubs"
strict = true
show_error_context = true
namespace_packages = true
explicit_package_bases = true
[tool.pytest.ini_options]
addopts = "--fixture-pool-scope package"
filterwarnings = [
"error:.*ciphertext:UserWarning",
"ignore:.*randomness:UserWarning",
]
[tool.tbump.version]
current = "1.1.5"
regex = '''
\d+\.\d+\.\d+(-(.*))?
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "pyproject.toml"
search = "current = \"{current_version}\""
[[tool.tbump.file]]
src = "src/tno/mpc/encryption_schemes/elgamal/__init__.py"
search = "__version__ = \"{current_version}\""
[[tool.tbump.file]]
src = "CITATION.cff"
search = "version: {current_version}"
[[tool.tbump.file]]
src = "README.md"
search = '\[here\]\(https:\/\/docs.pet.tno.nl/[^\.]*\/{current_version}'