-
-
Notifications
You must be signed in to change notification settings - Fork 246
/
pyproject.toml
74 lines (64 loc) · 1.89 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
69
70
71
72
73
74
[build-system]
requires = ["setuptools>=68.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "python-snap7"
version = "2.0.2"
description = "Python wrapper for the snap7 library"
readme = "README.rst"
authors = [
{name = "Gijs Molenaar", email = "[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Topic :: System :: Hardware",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"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",
]
license = {text = "MIT License"}
requires-python = ">=3.9"
keywords = ["snap7", "s7", "siemens", "plc"]
[project.urls]
Homepage = "https://github.com/gijzelaerr/python-snap7"
Documentation = "https://python-snap7.readthedocs.io/en/latest/"
[project.optional-dependencies]
test = ["pytest", "mypy", "types-setuptools", "ruff", "tox", "types-click", "uv"]
cli = ["rich", "click" ]
doc = ["sphinx", "sphinx_rtd_theme"]
[tool.setuptools.package-data]
snap7 = ["py.typed", "lib/libsnap7.so", "lib/snap7.dll", "lib/libsnap7.dylib"]
[tool.setuptools.packages.find]
include = ["snap7*"]
[project.scripts]
snap7-server = "snap7.server.__main__:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers =[
"client",
"common",
"logo",
"mainloop",
"partner",
"server",
"util"
]
[tool.mypy]
ignore_missing_imports = true
strict = true
# https://github.com/python/mypy/issues/2427#issuecomment-1419206807
disable_error_code = ["method-assign", "attr-defined"]
[tool.ruff]
output-format = "full"
line-length = 130
target-version = "py39"
[lint]
ignore = []
mccabe.max-complexity = 10