-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (53 loc) · 1.86 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
[project]
name = "rfc3161-client"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Rust",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Typing :: Typed",
]
# Maturin does not support dynamic fields
# So we keep the version number here instead of __init__
version = "1.0.0"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Trail of Bits", email = "opensource@trailofbits.com" }]
dependencies = ["cryptography>=43,<45"]
[project.optional-dependencies]
doc = []
test = ["pytest", "pytest-cov", "pretend", "coverage[toml]"]
lint = ["ruff >= 0.7,< 0.10", "interrogate"]
dev = ["rfc3161-client[test,lint,doc]", "maturin>=1.7,<2.0"]
[project.urls]
Homepage = "https://pypi.org/project/rfc3161-client"
Documentation = "https://trailofbits.github.io/rfc3161-client/"
Issues = "https://github.com/trailofbits/rfc3161-client/issues"
Source = "https://github.com/trailofbits/rfc3161-client"
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[tool.maturin]
features = ["pyo3/abi3-py39", "pyo3/extension-module"]
python-source = "src"
manifest-path = "rust/Cargo.toml"
module-name = "rfc3161_client._rust"
sdist-generator = "git"
[tool.ruff]
line-length = 100
include = ["src/**/*.py", "test/**/*.py", "scripts/*.py"]
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "TCH"]
[tool.coverage.report]
exclude_also = ["if TYPE_CHECKING:"]
[tool.interrogate]
# don't enforce documentation coverage for testing, the virtual
# environment, or the scripts.
exclude = [".venv", "test", "scripts"]
ignore-semiprivate = true
fail-under = 100