-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
137 lines (125 loc) · 3.21 KB
/
pyproject.toml
File metadata and controls
137 lines (125 loc) · 3.21 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[project]
name = "quantcrypt"
version = "1.0.1"
description = "Cross-platform Python library for Post-Quantum Cryptography using precompiled PQClean binaries"
authors = [
{ name = "Mattias Aabmets", email = "mattias.aabmets@gmail.com" }
]
license = "MIT"
readme = "README.md"
keywords = ["post-quantum", "crypto", "cryptography", "security", "pqclean"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Security",
"Topic :: Security :: Cryptography",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries"
]
requires-python = ">=3.10"
dependencies = [
"argon2-cffi>=23.1.0",
"dotmap>=1.3.30",
"orjson>=3.10.0",
"pycryptodomex>=3.20.0",
"pydantic>=2.9.0",
"rich>=13.8.0",
"typer>=0.15.0",
"types-zxcvbn>=4.5.0",
"zxcvbn>=4.5.0",
]
[project.urls]
"Repository" = "https://github.com/aabmets/quantcrypt"
"Documentation" = "https://github.com/aabmets/quantcrypt/wiki"
"Bug Tracker" = "https://github.com/aabmets/quantcrypt/issues"
[project.scripts]
qclib = "quantcrypt.internal.cli.main:app"
[project.optional-dependencies]
compiler = [
"cffi>=1.17.0",
"pyyaml>=6.0.1",
"requests>=2.31.0",
"setuptools>=70.0.0",
]
[dependency-groups]
develop = [
"cffi>=1.17.0",
"coverage>=7.6.0",
"devtools-cli>=0.14.0",
"hatchling>=1.24.0",
"packaging>=24.2",
"pytest>=8.3.0",
"pytest-cov>=6.0.0",
"pytest-xdist>=3.6.1",
"pyyaml>=6.0.1",
"requests>=2.31.0",
"setuptools>=70.0.0",
"tomli>=2.1.1",
]
[tool.pytest.ini_options]
console_output_style = "count"
filterwarnings = ["ignore::DeprecationWarning"]
testpaths = ["tests"]
addopts = [
"--cov=quantcrypt",
"--cov-report=html",
"--no-cov-on-fail",
"--import-mode=append",
"--numprocesses=auto",
"--maxprocesses=8",
"--dist=worksteal"
]
pythonpath = [
".",
"./quantcrypt",
"./quantcrypt/internal"
]
[tool.coverage.run]
branch = true
source = ["quantcrypt"]
[tool.coverage.report]
fail_under = 90
skip_empty = true
ignore_errors = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"@abstractmethod"
]
[tool.coverage.html]
directory = ".htmlcov"
[build-system]
requires = ["hatchling", "packaging"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["quantcrypt", "scripts"]
exclude = [
"quantcrypt/pqclean/common",
"quantcrypt/pqclean/crypto_kem",
"quantcrypt/pqclean/crypto_sign",
]
artifacts = [
"quantcrypt/internal/bin/*.so",
"quantcrypt/internal/bin/*.pyd"
]
[tool.hatch.build.targets.wheel]
include = ["quantcrypt"]
exclude = ["scripts"]
artifacts = [
"quantcrypt/internal/bin/*.so",
"quantcrypt/internal/bin/*.pyd"
]
[tool.hatch.build.targets.wheel.hooks.custom]
path = "scripts/build.py"