-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (76 loc) · 2.03 KB
/
pyproject.toml
File metadata and controls
84 lines (76 loc) · 2.03 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "scared"
dynamic = ["version"]
description = "eshard scared Python library."
readme = {file = "README.md", content-type = "text/markdown"}
authors = [
{name = "eshard", email = "contact@eshard.com"}
]
license = {text = "LGPL-3.0"}
keywords = ["scared"]
classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development",
]
requires-python = ">=3.11.0"
dependencies = [
"numba",
"numpy>=2.0.0",
"estraces>=1.9.4",
"psutil",
"scipy",
]
[project.optional-dependencies]
test = [
"pycryptodome",
"pytest",
"pytest-cov",
"pytest-mock",
]
test-scalib = [
"pycryptodome",
"pytest",
"pytest-cov",
"pytest-mock",
"scalib",
]
[project.urls]
Homepage = "https://www.eshard.com"
Documentation = "https://eshard.gitlab.io/scared"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
include = ["scared", "scared.*"]
exclude = ["tests"]
[tool.setuptools_scm]
version_file = "scared/_version.py"
version_scheme = "no-guess-dev"
local_scheme = "node-and-date"
[tool.pytest.ini_options]
norecursedirs = [".* *.egg* build dist conda.recipe .recipe"]
addopts = [
"--junitxml=junit.xml",
"--ignore=setup.py",
"--ignore=run_test.py",
"--cov-report=term-missing",
"--tb=native",
"--strict-markers",
"--durations=20",
]
markers = [
"serial: execute test serially (to avoid race conditions)",
"end_to_end: mark test as end-to-end test",
"scalib: tests requiring SCALib library (automatically skipped on ARM)",
]
[tool.flake8]
max-line-length = 100
ignore = ["E122", "E123", "E126", "E127", "E128", "E731", "E722"]
exclude = ["build", "scared/_version.py", "tests", ".recipe", ".git", "versioneer.py", "benchmarks", ".asv"]