-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (60 loc) · 1.59 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
[build-system]
requires = ["maturin>=1.0,<1.7.6"]
build-backend = "maturin"
[project]
name = "intel-sgx-ra"
version = "2.3.3"
description = "Intel SGX Remote Attestation verification library"
authors = [
{name = "Cosmian Tech", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"requests>=2.32.3,<3.0.0",
"cryptography>=43.0.3,<44.0.0",
"authlib>=1.3.2,<2.0.0"
]
[project.optional-dependencies]
dev = [
"black>=24.3.0,<25.0.0",
"isort>=5.13.2,<6.0.0",
"pylint>=3.2.7,<4.0.0",
"pycodestyle>=2.12.1,<3.0.0",
"pydocstyle>=6.3.0,<7.0.0",
"mypy>=1.13.0,<2.0.0",
"pytest>=8.3.3,<9.0.0",
"types-requests>=2.31.0,<3.0.0"
]
[project.scripts]
sgx-ra-verify = "intel_sgx_ra.cli.verify:run"
sgx-ra-utils = "intel_sgx_ra.cli.utils:run"
[tool.maturin]
python-source = "src"
module-name = "intel_sgx_ra.lib_sgx_dcap_ratls"
features = ["pyo3/extension-module"]
[tool.pylint.MAIN]
disable = [
"C0103", # invalid-name
"R0913", # too-many-arguments
"R0902", # too-many-instance-attributes
"R0914", # too-many-locals
"R0903", # too-few-public-methods
"R0801", # duplicate-code
]
[tool.isort]
profile = "black"
[tool.pytest]
testpaths = "tests"
pythonpath = "src"
[[tool.mypy.overrides]]
module = "authlib.*"
ignore_missing_imports = true