-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
98 lines (89 loc) · 2.43 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
[tool.poetry]
name = "quantcrypt"
version = "0.4.2"
description = "Cross-platform Python library for Post-Quantum Cryptography using precompiled PQClean binaries"
authors = ["Mattias Aabmets <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = ["post-quantum", "crypto", "cryptography", "security", "pqclean"]
classifiers = [
"Development Status :: 4 - Beta",
"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.12",
"Topic :: Security",
"Topic :: Security :: Cryptography",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries"
]
packages = [
{ include = "quantcrypt" }
]
[tool.poetry.urls]
"Repository" = "https://github.com/aabmets/quantcrypt"
"Documentation" = "https://github.com/aabmets/quantcrypt/wiki"
"Bug Tracker" = "https://github.com/aabmets/quantcrypt/issues"
[tool.poetry.scripts]
qclib = "quantcrypt.internal.cli.main:app"
[tool.poetry.dependencies]
python = "~3.12"
orjson = "^3.9.12"
dotmap = "^1.3.30"
pydantic = "^2.5.3"
argon2-cffi = "^23.1.0"
pycryptodomex = "^3.20.0"
types-zxcvbn = "^4.4.1.20240106"
zxcvbn = "^4.4.28"
rich = "^13.7.0"
typer = {extras = ["all"], version = "^0.9.0"}
[tool.poetry.group.dev.dependencies]
cffi = "^1.16.0"
pyyaml = "^6.0.1"
setuptools = "^69.0.3"
devtools-cli = "^0.13.0"
coverage = "^7.4.0"
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
pytest-xdist = {extras = ["psutil"], version = "^3.5.0"}
[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 = ["poetry-core"]
build-backend = "poetry.core.masonry.api"