-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (68 loc) · 2.39 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (68 loc) · 2.39 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
85
86
[tool.poetry]
name = "nislsc"
version = "0.2.0.dev0"
description = "NI-SLSC Python API"
authors = ["NI <opensource@ni.com>"]
maintainers = [
"Jun Liang Tan <junliang.tan@emerson.com>",
"Jun Ying Tan <jun.ying.tan@emerson.com>",
"Kae Woei Kang <kae.woei.kang@emerson.com>",
"Brad Keryan <brad.keryan@emerson.com>",
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/ni/nislsc-python"
keywords = ["nislsc", "slsc"]
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: System :: Hardware :: Hardware Drivers",
]
packages = [{ include = "nislsc", from = "generated" }]
[tool.poetry.dependencies]
python = "^3.9"
typing_extensions = ">=4.0"
[tool.poetry.group.codegen.dependencies]
mako = ">=1.3.10"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
# The latest Sphinx requires a recent Python version.
Sphinx = { version = ">=8.2", python = "^3.11" }
sphinx-rtd-theme = { version = ">=1.0.0", python = "^3.11" }
sphinx-autoapi = { version = ">=1.8.4", python = "^3.11" }
m2r2 = { version = ">=0.3.2", python = "^3.11" }
toml = { version = ">=0.10.2", python = "^3.11" }
[tool.poetry.group.lint.dependencies]
mypy = ">=1.16.1"
ni-python-styleguide = ">=0.4.6"
bandit = ">=1.8.6"
[tool.poetry.group.test.dependencies]
# Pin Python 3.10 to pytest 8.3.4 so exceptiongroup is installed and exceptiongroup-related errors are avoided.
pytest = [
{ version = ">=8.3.4,<9", python = "<3.11" },
{ version = ">=8.3.4", python = ">=3.11" },
]
pytest-mock = ">=3.14"
pytest-cov = ">=6"
[tool.ni-python-styleguide]
extend_exclude = "generated,src/codegen/metadata,src/codegen/templates,src/handwritten"
[tool.mypy]
files = "generated/"
strict = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"