aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyproject.toml
blob: 5dee05ef23d91d2dedaaa6ff873b112214801a76 (plain) (blame)
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
[build-system]
  requires = ["setuptools>=61.0", "setuptools_scm[toml]>=8.0"]
  build-backend = "setuptools.build_meta"

[project]
  name = "pyecsca-codegen"
  version = "0.3.2"
  authors = [
    { name = "Jan Jancar", email = "johny@neuromancer.sk" },
    { name = "Andrej Batora"}
  ]
  maintainers = [
    { name = "Jan Jancar", email = "johny@neuromancer.sk" }
  ]
  description = "Python Elliptic Curve cryptography Side Channel Analysis toolkit (codegen package)."
  readme = "README.md"
  license = { "text" = "MIT" }
  classifiers = [
    "Development Status :: 4 - Beta",
    "License :: OSI Approved :: MIT License",
    "Topic :: Security",
    "Topic :: Security :: Cryptography",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Intended Audience :: Developers",
    "Intended Audience :: Science/Research"
  ]
  requires-python = ">=3.9"
  dependencies = [
    "pyecsca",
    "chipwhisperer",
    "numpy",
    "scipy",
    "atpublic",
    "matplotlib",
    "fastdtw",
    "asn1crypto",
    "jinja2",
    "Click",
    "importlib-resources",
    "donjon-rainbow"
  ]

[project.urls]
"Homepage" = "https://pyecsca.org"
"Documentation" = "https://pyecsca.org"
"Bug Tracker" = "https://github.com/J08nY/pyecsca-codegen/issues"
"Repository" = "https://github.com/J08nY/pyecsca-codegen"

[project.scripts]
builder="pyecsca.codegen.builder:main"
client="pyecsca.codegen.client:main"

[project.optional-dependencies]
"dev" = ["mypy", "flake8"]
"test" = ["pytest>=7.0.0", "coverage", "pytest-cov", "pytest-sugar", "pytest-click"]

[tool.setuptools.packages.find]
include = ["pyecsca*"]
namespaces = true

[tool.setuptools_scm]

[tool.pytest.ini_options]
testpaths = ["test"]
markers = [
    "slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
filterwarnings = [
    "ignore:(?s).*pkg_resources is deprecated as an API:DeprecationWarning:chipwhisperer.capture.trace.TraceWhisperer", # ChipWhisperer
    "ignore:Deprecated call to `pkg_resources.declare_namespace",
    "ignore:(?s).*path is deprecated. Use files() instead:DeprecationWarning:rainbow.devices.stm32" # Rainbow
]